ASP.NET INTERVIEW QUESTION & ANSWERS
46. |
What are different types of directives in .NET? |
|
There are different types of directive in .Net are :
- @Page
- @Control
- @Import
- @Implements
- @Register
- @Assembly
- @OutputCache
- @Reference
|
47. |
Where are cookies stored, and what kinds of data can they contain? |
|
Cookies are stored on each user's computer, through their Web browser. Cookies can contain string data. |
48. |
How do you upload a file in Asp.Net? |
|
System.Web.HttpPosted File class |
49. |
What is cookies? |
|
Cookies are small pieces of text, stored on the client's computer to be used only by the website setting the cookies. This allows webapplications to save information for the user, and then re-use it on each page if needed. |
50. |
What is the use of Smart Navigation property? |
|
It is a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back. |