Title: Delete Unique Record via Stored Procedure in SQL Server Database
Shortcut: deluniquesprocsql
Description: Delete Unique Record via Stored Procedure in SQL Server Database
Author: C# .Net Fun - http://www.dotnetfun.com - Michael G.
Declarations:
Literal: ID: intMyTableRecordID
Type: System.Int32
ToolTip: The unique integer identifier (primary key) for the MyTable table.
Default: -1
Literal: ID: strConn
Type: System.String
ToolTip: Your SQL connection string.
Default: "Data Source=HOSTNAME; User ID=userid; Password=password; Initial Catalog=Database;"
Literal: ID: strSProc
Type: System.String
ToolTip: Your Stored Procedure name string.
Default: "sp_DeleteMyTableRecord"
Literal: ID: TableName
Type: System.String
ToolTip: The name of the DataSet table.
Default: "MyTable"
Code View: