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;
}