| Other ADO.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| When we are running the Application, if any errors occur in
the Stored Procedure then how will the server identify the
errors? | HCL | 4 |
| How to generate XML from a dataset and vice versa? | | 2 |
| What providers does ado.net uses internally ? | Digital-GlobalSoft | 2 |
| What we do with the object of ado.net dataset after using
it?Can we dispose it or can we set it nothing?Is it must or
not? | SVI | 4 |
| Can you edit data in the Repeater control? | | 8 |
| Where does ADO.NET and XML web services come in the
architecture ? | TCS | 1 |
| what is different between SqlCommand object and Command
Behaviour Object | | 3 |
| How do you filter the data in datagrid? | Choice-Solutions | 1 |
| what is trigger? | Microsoft | 7 |
| Difference between OLEDB Provider and SqlClient ? | | 2 |
| What are the steps in connecting to database ? | Microsoft | 2 |
| How to get oledb connection? | | 3 |
| what is a dataview?why is it used for? | Choice-Solutions | 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 is the key feature of ADO.NET compared to ADO ? | TCS | 2 |
| I am fresh graduate, trained in C# .net.
How do i answer when interview ask me ,
Where do you see yourself within 5 years from now? | | 2 |
| can we have multiple datatables in a datareader ? | Ness-Technologies | 14 |
| Explain what a diffgram is and its usage ? | | 1 |
| What are the two fundamental objects in ADO.NET? | Ksb | 3 |
| How do u implement locking concept for dataset? | ABC | 2 |
| |
| For more ADO.NET Interview Questions Click Here |