Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

ADO.NET Interview Questions
Questions Answers Views Company eMail

what is data access layer?

Honeywell,

2 7319

What is the default view of Data Grid?

TCS,

5 12025

what is Sql Native Client?

Gantec Solutions,

5 16175

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, TCS,

2 14596

what is the syntax code for oldb to connect oracle?

2 3531

what is execute scalar?

Atharva Infotech, Dohatec New Media, Make eIT, Protech,

11 19697

what is Execute NOn Query?

Infosys, Protech, Sars Systems, SwanSoft Technologies,

29 58218

what is the syntax code for oldb to connect oracle

IBM,

3 4650

what is the syntax code to oledb to connect oracle

IBM,

6 8936

When we are running the Application, if any errors occur in the Stored Procedure then how will the server identify the errors?

HCL,

5 9150

how do u connect ado.net to sql server

Microsystems,

1 4771

how to keep track of index in listbox items.

2 4564

How do we invoke queries from the application

2 3146

Why sql Data Reader object not created

Matrix,

9 18266

what is the criteria of selection in sbi interview?

BCS, State Bank Of India SBI,

1 3653


Post New ADO.NET Questions

Un-Answered Questions { ADO.NET }

What are the classes in System.Data.Common Namespace?

499


What are the ado.net components?

376


What is the difference between sqlcommand and sqldataadapter?

350


Explain the difference in an abstract class and an interface?

366


What are the uses of Stored Procedure?

423






What is difference between datareader and dataadapter?

382


What are the Features and disadvantages of dataset

407


Explain how to call the sql commands asynchronously in ado.net version 2.0?

349


What provider ado.net use by default? Explain the role of data provider in ado.net?

386


Which architecture does Datasets follow?

435


What are the usages of the command object in ado.net?

413


What are the pre-requisites for connection pooling?

394


What do you mean by performing asynchronous operation using command object?

364


How to read data with the sqldatareader ?

386


What are all components of ADO.Net data provider?

435