Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 How to insert record into the grid view

Author  Topic 

sheena
Starting Member

45 Posts

Posted - 2007-06-03 : 10:35:10
Hi frdz,

I want to insert the data thru the grid-view and store it in to database sqlserver 2005.

If the gridview is empty then i m writing the code for empty datatemplate.

Pls help me it is not been able to insert the values into database and not giving any types of the errors also ...

If in a gridview i have 4columns to insert the data and there is not at all any single record i.e. there are zero rows in record of the database then how to insert the first record into the database....

Is it possible to enter the first record from the gridview ??

Thanxs...in adv...hope u get what i want to ask..

ia72
Starting Member

5 Posts

Posted - 2007-06-07 : 00:22:23
Hi sheena,

Yes, you can insert data into empty table in the database from your program, for example, using DataSet as source for your data. DataSet can be displayed using DataGridView in your form. Please provide more details then probably can help you better.

Cheers
Go to Top of Page

mahesh_bote
Constraint Violating Yak Guru

298 Posts

Posted - 2007-06-07 : 06:39:40
refer below link for more information

http://www.syncfusion.com/faq/aspnet/default.aspx

Mahesh
Go to Top of Page
   

- Advertisement -