public int InsertStore_comt(store_comt store_Comt) { string sql = "insert into store_comt(user_id,store_id,comt_cont,comt_time) values(@user_id,@store_id,@comt_cont,@comt_time)"; SqlParameter[] sp = { new SqlParameter("@user_id", store_Comt.user_id), new SqlParameter("@store_id", store_Comt.store_id), new SqlParameter("@comt_cont", store_Comt.comt_cont), new SqlParameter("@comt_time", store_Comt.comt_time), }; return(DBHelper.GetExcuteNonQuery(sql, sp)); }
public static int InsertStore_comt(store_comt store_Comt) { return(istore_Comt.InsertStore_comt(store_Comt)); }