How many major types of connection objects in ADO.NET?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More ADO.NET Interview Questions

Give an example of a .net application which connects to microsoft access database using ado.net classes.

0 Answers  


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

0 Answers  


Give an example that shows how to execute a stored procedure in ado.net?

0 Answers  


Which name space is used to get assembly details?

0 Answers  


What is the difference between ado.net and entity framework?

0 Answers  






How you will set the datarelation between two columns?

3 Answers  


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();

2 Answers   Mind Tree, TCS,


what is Sql Native Client?

5 Answers   Gantec Solutions,


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?

6 Answers   Wipro,


What are the 4 types of classes in ADO.NET?

5 Answers  


What is meant by entity framework?

1 Answers  


What is the difference between sqldatareader and sqldataadapter?

0 Answers  


Categories