public bool AddArchitecture(DataSet Architecture)
{
base.SQL = "sp_InsertArchitecture";
base.InitializeCommand();
base.AddParameter("@Architecture_ID",
SqlDbType.UniqueIdentifier, 16,
Architecture.Tables.Add("Architecture").Rows.Add("Architecture_ID"));
base.AddParameter("@Architecture_Name",
SqlDbType.VarChar, 25,
Architecture.Tables.Add("Architecture").Rows.Add("Architecture_Name"));
base.AddParameter("@Architecture_Description",
SqlDbType.VarChar, 25,
Architecture.Tables.Add("Architecture").Rows.Add("Architecture_Description"));
base.AddParameter("@Architecture_Date_Added",
SqlDbType.DateTime, 8,
Architecture.Tables.Add("Architecture").Rows.Add("Architecture_Date_Added"));
**AddArchitecture** = ExecuteStoredProcedure; This is where I get the error.
}
質問する
143 次