Ejemplo n.º 1
0
 public static DataTable GetCollectionName(Entity.StudentCollections sc)
 {
     string[] names  = new string[] { "Cname" };
     string[] values = new string[] { sc.Cname };
     return(DataAccess.Operations.GetDataTable("User_SearchCollectionsNameByCname", CommandType.StoredProcedure, names, values));
 }
Ejemplo n.º 2
0
 public static int ModifyWord(Entity.StudentCollections sc)
 {
     string[] names  = new string[] { "UserID", "Chinese", "WordID", "English" };
     string[] values = new string[] { sc.UserID, sc.Chinese, sc.WordID, sc.English };
     return(DataAccess.Operations.ExecuteSQLByQuery("User_ModifyWord", CommandType.StoredProcedure, names, values));
 }