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 6848

What is the default view of Data Grid?

TCS,

5 11198

what is Sql Native Client?

Gantec Solutions,

5 15406

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 14085

what is the syntax code for oldb to connect oracle?

2 3178

what is execute scalar?

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

11 18185

what is Execute NOn Query?

Infosys, Protech, Sars Systems, SwanSoft Technologies,

29 54725

what is the syntax code for oldb to connect oracle

IBM,

3 4159

what is the syntax code to oledb to connect oracle

IBM,

6 8038

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

HCL,

5 8254

how do u connect ado.net to sql server

Microsystems,

1 4439

how to keep track of index in listbox items.

2 4163

How do we invoke queries from the application

2 2735

Why sql Data Reader object not created

Matrix,

9 16938

what is the criteria of selection in sbi interview?

BCS, State Bank Of India SBI,

1 3301


Post New ADO.NET Questions






Un-Answered Questions { ADO.NET }

Define connection string?

202


What are the different ado.net namespaces?

217


What are the advantages of oledb compared with other classes?

1922


What is the advantage of ado.net?

219


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

187






Explain the two fundamental objects in ado.net?

182


How can we load multiple tables in to dataset?

229


What are the namespaces used in ADO.Net to connect to a database?

231


What is difference between executenonquery and executequery?

150


What is the provider being used to access oracle database?

188


Explain the dataadapter class in ado.net?

240


What is difference between datagridview and datagrid control in winforms?

170


What is meant by entity framework?

175


Explain the difference between an ado.net dataset and an ado recordset?

206


What is ado.net architecture?

176