| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| For a server control, you need to have same properties like
color maxlength, size, and allowed character throughout the
application. How do you handle this? | Microsoft | 2 |
| What is a bubbled event?
| | 2 |
| In try catch blocks one is normal catch block and another is
sqlcatchexception block | Microsoft | 3 |
| What combination of methods are used to improve the speed of
the fill() method of the DataAdapter?
a) BeginFillData() and EndFillData()
b) StartFillData() and EndFillData()
c) BeginLoadData() and EndLoadData()
d) StartLoadData() and EndLoadData()
| Syntax-Softtech | 2 |
| hai to all. what is the procedure for " web hosting ".If you
know please message me at "yoursguna@gmail.com". Thank u... | | 1 |
| web user and custom conrols
| | 1 |
| Differentiate between Server Transfer and Response
Redirect? | DELL | 2 |
| What does setting a control's EnableViewState property to
false accomplish?
| | 1 |
| What method must be overridden in a custom control?
a) The Paint() method
b) The Control_Build() method
c) The Render() method
d) The default constructor
| Syntax-Softtech | 1 |
| When a dropdownlist has been added by some records and it
has been binded why it is not executing i'm facing this
error pls help me ?
if (is!pageposback)
{
arraylist books = new arraylist;
books.add ("gone with the wind");
books.add ("rahulsriramprakash");
books.add ("vishal");
dropdowndisplay.datasource=books;
dropdowndisplay.databind();
}
The error is :
1) The dropdowndisplay does not exist.
| Netsweeper | 4 |
| what are the types of ASP objects ? | Satyam | 4 |
| how to increase performance of web site?
if there is a page with high load. the content is high then
what should we do to increase performance? | TCS | 2 |
| How do you handle unhandled exceptions in ASP.NET?. | | 3 |
| Difference between ISQL and OSQL?? | | 1 |
| What is Runtime callable wrapper? | | 2 |
| write a sample code make use of xmltext writer | GCI | 1 |
| My website has around 100 aspx. Out of this, a certain 20
aspx files should be made available to the users only
if they are logged in. How can I achieve this with the
web.config file? | Techno-Solutions | 1 |
| How to compare two strings with out Case sensitive ? | Protech | 4 |
| What is the purpose of the following segment?
If ( !IsPostBack)
{
sqldataAdapter1.Fill (dsusers1);
DataGrid1.DataBind ();
}
a) To populate the DataAdapter the first time the web page
id displayed.
b) To populate the DataSet every time the web page is displayed.
c) To populate the DataAdapter every time the web page is
displayed.
d)To populate the DataSet the first time the web page is
displayed.
| Syntax-Softtech | 2 |
| |
| For more ASP.NET Interview Questions Click Here |