| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What data type does the RangeValidator control support? | Visual-Soft | 3 |
| what is structured data format? | | 2 |
| To display data in a Repeater control which templete is
provided ? | | 4 |
| What is the use of @Register directives? | | 1 |
| What is the function of the CustomValidator?
a) It allows for custom C# client-side code to validate
entries in a control.
b) It allows for a custom mixture of validator controls to
use one central control for the display of messages.
c) It uses scripted client-side code to validate the entry
in a control.
d) It uses server-side code to validate the entry in a control.
| Syntax-Softtech | 2 |
| I am using ASP.Net 2.0. I added the following code in
button_Click page. but 'PreviousPage' is not taking as a
keyword. It throughs an error.
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest");
sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
The following is the Error Message:
'controls_LoginMain' does not contain a definition
for 'PreviousPage' | | 2 |
| what are partial classes and their use? | Microsoft | 2 |
| How many types of sessions are there? | | 2 |
| what are the server controls used in sitepath navigation? | | 1 |
| what do you mean software devlopment ? | HCL | 6 |
| In a page there is dropdown list with the name of the
cities like Bangalore,Pune,Chennai,Other and a text box
that would enable the user to enter the name of the city if
other is selected. How to enable validation on the text box
if other is selected | | 1 |
| What is Master Page in Asp.net? | | 5 |
| What is the use of mcommand ?
mcommand.fill(ds,"orderdetails"); | Netsweeper | 1 |
| What does the "EnableViewState" property do? Why would I
want it on or off? | Syntax-Softtech | 1 |
| I have a method written in WebForm (means .aspx page) & now
I want to call this method in WebUserControl (means .ascx
page) what should I have to do?
| Patni | 1 |
| How you will handle session when deploying application in
more than a server? Describe session handling in a webfarm,
how does it work and what are the limits? | CoreObjects | 2 |
| How do you create a permanent cookie? | | 4 |
| Which template must you provide, in order to display data in
a Repeater control? | Wipro | 2 |
| How to Insert a TextBox value in to Sql database using C#
coding? | Sona | 6 |
| difference between gridview,data list and repeater control | Olive-Tech | 4 |
| |
| For more ASP.NET Interview Questions Click Here |