Software Development Network>> VS Express Editions>> insert
Check out the following sample from MSDN docs:
http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.sqldatasource.inserting(VS.80).aspx
It shows code sample which uses SqlDataSource's Inserting event to insert a employee record using a stored procedure. You will need Northwind database if you want to try this sample code.
Hope this helps.
That's a very generic question. Following is an excerpt from ADO.NET QuickStarts:
String InsertCmdString;
InsertCmdString = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')";
SqlCommand mySqlCommand = new SqlCommand(InsertCmdString, myConnection);
ADO.NET QuickStarts link: http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ADOPlusOverview.aspx
Hi,
Thanks,
Please, sen me an complete example with visual web developer(sqldatasource control)
Best Regards
insert
Shawn.liang
Check out the following sample from MSDN docs:
http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.sqldatasource.inserting(VS.80).aspx
It shows code sample which uses SqlDataSource's Inserting event to insert a employee record using a stored procedure. You will need Northwind database if you want to try this sample code.
Hope this helps.
Randy Eppinger
That's a very generic question. Following is an excerpt from ADO.NET QuickStarts:
String InsertCmdString;InsertCmdString = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')";SqlCommand mySqlCommand = new SqlCommand(InsertCmdString, myConnection);ADO.NET QuickStarts link: http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ADOPlusOverview.aspx
?®€?§Q?
Hi,
Thanks,
Please, sen me an complete example with visual web developer(sqldatasource control)
Best Regards