Title: Add Record via Stored Procedure to SQL Server Database
Shortcut: addsprocsql
Description: Add Record via Stored Procedure to SQL Server Database
Author: C# .Net Fun - http://www.dotnetfun.com - Michael G.
Declarations:
Literal: ID: strCol1
Type: System.String
ToolTip: The string to be saved in the Col1 column of the MyTable table.
Default: "Hello World!"
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_AddMyTableRecord"
Literal: ID: TableName
Type: System.String
ToolTip: The name of the DataSet table.
Default: "MyTable"
Code View: