What are the different ado.net namespaces?
No Answer is Posted For this Question
Be the First to Post Answer
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?
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();
What are the Different layers in ADO.Net?
What is a string variable?
What is Dataset Object?
Which is better ole db or odbc?
What is difference between executenonquery and executequery?
What are the different layers of ado.net?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
Which property is used to check whether a DataReader is closed or opened?
What is executescalar and executenonquery?
Diff. b/w DataReader and DataSet?