Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are different types of Commands available with DataAdapter ?



What are different types of Commands available with DataAdapter ?..

Answer / 1647264

The SqlDataAdapter has SelectCommand, InsertCommand, DeleteCommand and UpdateCommand

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

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 are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

0 Answers  


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,


Explain the architecture of ado.net?

0 Answers  


What is ado net stands for?

0 Answers  


How does entity framework work?

0 Answers  


What are all features of ADO.Net?

0 Answers  


what is different between SqlCommand object and Command Behaviour Object

3 Answers  


Which is faster sqldataadapter and sqldatareader?

0 Answers  


What are the key features of ado.net?

0 Answers  


What is microsoft ado.net?

0 Answers  


Explain the role of data provider in ado.net?

0 Answers  


Categories