Can someone please help me in giving me codes for my system.. i need to use datagridview as source of data and save it to sql 2008.
i want to encode data in datagridview and save it by button or as i press Enter key
you can send your help by sending it to my email [email protected] or post your answer here...
i am using C# and SQL 2008
tnx in advance..
Datagrid to sql
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Aug 4, 2010, 4:08 AM EDT
for save the grid values give the command like insert into tblname values('"+datagridview1.Rows[1].Cells[0].Value.ToString()+"');
With Regards,
Gomathi.P