Data reader read and forward only, how is it possible to get 2 tables of data at a time?


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

Post New Answer

More ADO.NET Interview Questions

Define different execute methods of ADO.NET command object ?

0 Answers   NA,


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

0 Answers  


When multiple users attempt to modify data at the same time Ex user 1 is updating record at same time user2 deleted record sucessfully.now user1 has press update button . how to handle concurrency

4 Answers   Digital Group,


What is ODP.NET ?

1 Answers   TCS,


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 the functionality of data provider in ado.net?

0 Answers  


what is type dataset?

3 Answers  


What are the advantages of ado.net?

0 Answers  


Can we load multiple tables in a dataset?

0 Answers  


can u tell me the how to get the print for the form

2 Answers   Crea,


What is difference between entity framework and ado.net?

0 Answers  


make a login control??

1 Answers  


Categories