hey friends,
Firstly I pick the records from the database into the
DataGridView, Then I want that If I made any changes to the
records in the GridView & Click on Update Button, Changes
are Reflected into the main Database .Plz do reply back
Answers were Sorted based on User's Feedback
Answer / muzi
If you know sql, use UPDATE query..:-)
if dont
then
UPDATE [TableName] SET Field1 = @param1, Field2 = @param2,
Field3 = @param3 WHERE [ID] = @paramID
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / veena
yes. we can update the data if we write a update command in program
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / saravanan
it is very simple..write insert delete update querey in
datagrid events
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / guest
If you are working with Sql Server database then provider
specific class named sqlcommandbuilder is available with
your sql server provider.This command will call the update
method of datadapter object ,which will update the contents
of your dataset and the same will be displayed in your
datagrid ,which inturn will reflect the changes in database.
Is This Answer Correct ? | 1 Yes | 3 No |
What is public assembly?
What is difference between import system.data.sqlclient,system.data.oledb?
hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back
Explain the difference between vb.net and c#, related to oops concepts?
Explain jit?
Name some of the features of C# which are not present in VB.NET?
Explain option strict?
hi,everyone. i got a problem in handling linklabels. i've more than one linklabels in a form. i used following event handler to handle the event 'LinkClicked' of Linklabel. private sub LinkLabel1_LinkClicked() Handles LinkLabel1.LinkClicked,LinkLabel2.LinkClicked ............... .......... end sub My question is how to identify the 'Linklabel1' and 'Linklabel2'. i dont want to handle the events of linklabels individually.
What are option strict and option explicit?
What is different between web.config and machine.config and where it will be ?
Explain how to send xml file on server using http protocol?
How to store jpeg / gif / bmp image in database and how to retrieve them? The most stressful condition is database is distributed and stored images can be retrive from any computer in network and any one can store images from other computer!! plss help its urgent.......RAHUL RATHOD