Mega Code Archive
Categories
/
ASP.Net
/
ADO Database
Deletion using SqlDataSource Control
<%@ Page Language="C#" %>
Deletion using SqlDataSource Control
" SelectCommand="Select DepartmentID, Name, GroupName, ModifiedDate from HumanResources.Department" DeleteCommand="Delete from HumanResources.Department Where DepartmentID=@original_DepartmentID" OldValuesParameterFormatString="original_{0}" OnDeleted="deptSource_Deleted">