Which property is used to check whether a DataReader is closed or opened?


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

Post New Answer

More ADO.NET Interview Questions

How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

0 Answers   SwanSoft Technologies,


Which is better entity framework or ado.net?

0 Answers  


What is the key feature of ADO.NET compared to ADO ?

3 Answers   TCS,


What is ado object model?

0 Answers  


Describe the command object and its method.

0 Answers  






Difference between OLEDB Provider and SqlClient ?

2 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 oledb connection?

0 Answers  


What is difference between ado.net and asp net?

0 Answers  


Which is faster entity framework or ado.net?

0 Answers  


Can we load multiple tables in a dataset?

0 Answers  


What is sqldatareader?

0 Answers  


Categories