Advantage of ADO.Net?2 8897
How would u connect to database using .NET?5 6432
Difference between DataReader and DataAdapter / DataSet and DataAdapter?3 29376
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?1 16968
Differences between dataset.clone and dataset.copy?2 5443
What are the two fundamental objects in ADO.NET?8 18143
Call a stored procedure from ado.net and pass parameter to it ?7 19483
Where does ADO.NET and XML web services come in the architecture ?1 9794
What does ADO.NET consists of ?7 9504
What is the key feature of ADO.NET compared to ADO ?3 5958
What is ODP.NET ?1 7411
What provider ADO.net use by default?10 17343
What is the default view of Data Grid?5 10434
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.Controls; 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 13596
How does mongodb provide consistency?
What is wysiwyg editor?
How to enter unicode character string literals in ms sql server?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
You have 2 dices. What is the probability of getting at least one 4? Also find out the probability of getting at least one 4 if you have n dices.
How to copy a file?
What are your traits that are in line with the company's mission statement?
What will happen in terms of jobs losses and skills as IoT makes devices and robots more intelligent?
What is hierarchical relationship in SFDC?
Which is the base class of all the user-interactive elements in WPF ?
What is the relation between xhtml and css?
hai friends i have BSNL JTO exam on next month so if any body have model question paper or give preparation tips to my mail id firstname.lastname@example.org this will helpfull for my future .plz & thank u by kumar
How to run a process?
differences between poco, model first and data first approach?
please tell the process or step for cash management with transaction code.