| Other ADO.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is clustered index?why is it created? | Microsoft | 3 |
| What provider ADO.net use by default? | Accenture | 5 |
| How To Update A Column In A DataGrid Using C#.NET?
I am getting InvalidCastException as (Specified cast is not
valid) while updating 2nd column in a datagrid?
Id,firstname,lastname are the three columns of my datagrid
respectively. I wanted to edit the second column(lastname)
and update it. I did the following code in DataGrid's
updatecommand(),but failed to update !
Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex];
TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string
str=lnm.Text ; SqlCommand cmd=new SqlCommand("update
customer set lastname='" + str + "' where id=" + varid
+ "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=-
1; DataGrid1.DataBind(); | Mind-Tree | 2 |
| ADO and ADO.NET differences ? | Microsoft | 2 |
| If a table contains 20000 records . In a page at each time
100 records to be displayed. What are the steps u will take
to improve performance? will you use dataset or datareader? | | 6 |
| what is the criteria of selection in sbi interview? | SBI | 1 |
| what is connection pooling ? | Vertex | 3 |
| what is the syntax code to oledb to connect oracle | IBM | 5 |
| How to you declare connection strings and how to you make
use of web.config ? | MMTS | 2 |
| how would i implement dropdownlist in gridview using c# | | 2 |
| What are the attirbutes of DataSet? | IBM | 5 |
| What is dataset and tell about its features. What are
equivalent methods of previous, next etc. Of ADO in ADO.NET ? | Digital-GlobalSoft | 1 |
| what are the differences between dataset and datareader? | Choice-Solutions | 2 |
| Being fresher How would i answer to the question that
what is your salary exception? | | 3 |
| How to generate XML from a dataset and vice versa? | | 2 |
| what is a dataview?why is it used for? | Choice-Solutions | 3 |
| what is the syntax code for oldb to connect oracle | IBM | 2 |
| Execute nonquery returns no. of afected rows.So if my stored
procedure hav lot of select stmnt, delete stmnt, insert
stmnt..then what does execute nonquery returns in this case? | | 1 |
| Difference between OLEDB Provider and SqlClient ? | | 2 |
| what is bubbled event can u pls explain | Wipro | 3 |
| |
| For more ADO.NET Interview Questions Click Here |