row.Cells["SomeField"].Value = "Pen-Laptop3";
As for writing to the database, are you getting the datagridview data source and uploading that or are you taking a row out of the datagrid and trying to upload that
15 June 2010 - 01:23 PM
row.Cells["SomeField"].Value = "Pen-Laptop3";
13 June 2010 - 02:01 PM
13 June 2010 - 01:58 PM
06 June 2010 - 03:18 PM
06 June 2010 - 03:16 PM
Make a regular C# application that does that, but don't let the main Form appear. Write your code in Program.cs, and delete Application.Run( new Form1()). If it returns some error just don't let it reach that line (if (2+2==5) Application.Run(new Form1())
.