| Other ADO.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what purpose of Indexing creating? directly we can search
the reqired row with the help of query?what is the use of
indexing? | | 3 |
| What is a dataset? | | 2 |
| How to Handle the exceptions in Sqlsrver2000 | SQL-Star | 3 |
| 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 |
| What are the different row versions available? | | 2 |
| Can you edit data in the Repeater control? | | 8 |
| What is Pooling? what is data pooling? what is sql pooling? | TCS | 1 |
| What happens when we issue Dataset.ReadXml command? | | 1 |
| Call a stored procedure from ado.net and pass parameter to it ? | Keane-India-Ltd | 5 |
| What is datatable? | | 3 |
| what is Execute NOn Query? | Protech | 12 |
| how do u connect ado.net to sql server
| Microsystems | 1 |
| How can you implement sub data grid in a master datagrid? | | 1 |
| Why sql Data Reader object not created | Matrix | 4 |
| What is the difference between a Dataset and DataReader?
Can dataReader hold data from multiple tables? | Fulcrum-Logic | 2 |
| What is @@rowcount and with small code snippet explain the
usage? | BirlaSoft | 4 |
| make a login control?? | | 1 |
| can we have multiple datatables in a datareader ? | Ness-Technologies | 14 |
| Difference between datareader and dataset? | Microsoft | 12 |
| how to add a selected row of a gridview to another gridview
without reloading the page?? | | 1 |
| |
| For more ADO.NET Interview Questions Click Here |