...

View Full Version : SQL (VB) Deleting Command



feras_wilson
05-01-2007, 10:14 AM
Hi!
I have a problem. I have inserted a SQL Database with tables in my ASP.NET page and i have added a delete command.
The problem is when i press the delete button i get an error:


Deleting is not supported by data source 'SqlDataSource1' unless DeleteCommand is specified.

How can i let the DeleteCommand Support in the SQL database?
DeleteCommand must be specified. But how?
Please Help me! :confused:

nikkiH
05-01-2007, 07:48 PM
SqlDataSource1.DeleteCommand ;)

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.sqldatasource.deletecommand.aspx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum