how can i set , update or insert or delete operation on one “SAVE” button.
In case you are adding row by row, then clear the rows of datagridview first in the function How we can access the entry’s in another system using LAN while running software in both systems. i want to add, delete, update in my C# forms through DLL… I have 5 tables and one datagridview , which display the information from 5 different tables, now user is allowed add/update/delete opration in the grid with new information.
How to write the connection string to that in windows application(C#). adding , deleting , updating textboxes is very simple if we write codes on buttons. user can add or update or delete the datagridview row.
Data Grid View Text Box Column cls Col1 = new Data Grid View Text Box Column(); cls Col1.
i used your whole code….still i found run time error on updating and deleting…….. Hi Anshu, before using above code make ensure that 1) one primary must be exist in ur data base. Method below it’s update all records, maybe slow down the system? Sql Client; namespace Windows Forms Application2 hey…..i want to ask that for the value “11.40” i have used decimal(18,2) but whenever i try to update the data at that time it’s give me the error like conversion faild when converting the nvarchar value “11.40” to data type int. Now if person donate some amount monthly and if he paid amount then i want to remove his notification and also the notification should get display in next month. I have created one page in in which i have taken 1 grid view which shows notification about person who will donate amount on particular day/date. Reading this post reminds me of my previous room mate!