-
What would the following code get replaced with in ASP.Net 2.0
What could i replace the following code with in ASP.Net 2.0, calling a stored proc with parameters and doing an insert of info in the proc
Database db = DatabaseFactory.CreateDatabase();
DBCommandWrapper insertCommandWrapper = db.GetStoredProcCommandWrapper("usp_InsertManyRows");
insertCommandWrapper.AddInParameter("@XMLDOC", DbType.String, sb.ToString());
try
{
db.ExecuteNonQuery(insertCommandWrapper);
//Label1.Text = "Data Inserted";
}
catch (Exception ex)
{
//Label1.Text = ex.Message;
}
Last edited by clean; 06-02-2006 at 01:01 PM.
Similar Threads
-
By salsipius in forum ASP.NET
Replies: 1
Last Post: 12-31-2008, 12:48 PM
-
By mycwcgr in forum ASP.NET
Replies: 4
Last Post: 09-02-2005, 08:22 PM
-
By Glen Kunene in forum Java
Replies: 25
Last Post: 04-22-2002, 05:45 PM
-
Replies: 1
Last Post: 03-12-2001, 12:37 PM
-
By Robert G in forum .NET
Replies: 84
Last Post: 02-08-2001, 03:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|