Advantage of ADO.Net?2 9151
How would u connect to database using .NET?5 6743
Difference between DataReader and DataAdapter / DataSet and DataAdapter?3 29673
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?1 17991
Differences between dataset.clone and dataset.copy?2 5702
What are the two fundamental objects in ADO.NET?8 18692
Call a stored procedure from ado.net and pass parameter to it ?7 19907
Where does ADO.NET and XML web services come in the architecture ?1 9979
What does ADO.NET consists of ?7 9816
What is the key feature of ADO.NET compared to ADO ?3 6138
What is ODP.NET ?1 7550
What provider ADO.net use by default?10 17727
What is the default view of Data Grid?5 10721
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 13787
Tell me what is user properties? Why we using the user properties?
Which equipment category is used to represent laboratory equipment?
Does toad work with postgres?
What is the difference between rely clause and guarantee?
Is quicksort a stable sorting algorithm?
Explain the drawback of wep?
In Crystal Reports, When i modified the document based on the user request. where the document will be saved in crystal reports and How user identified either the developer was modified the requirement or not? Please suggest..!
What is pointer to pointer in c language?
What is meant by excel services?
What is an immutable object? How can it help in writing a concurrent application?
What are your favourite subjects in your graduation and why?
How much quantity of cement and sand required for the inlining of 610mm dia MS pipe 8.7mm thk.Inlining thickness is 10mm and CM ratio is 1:1.5.
Explain Porters model of competitive strategies. Is it possibl for a company to have sustainable competitive advantage when its industry becomes hyper competitive
What are the events by which we can program 'help texts' and display 'possible value lists'?
Why null is not allowed in treemap?