public int addZ_Reply(Z_Reply z_reply) { string sql = "insert into Z_Reply values(@Z_C_Id,@UserId,@Z_R_Time,@Z_R_Content)"; SqlParameter[] sp = new SqlParameter[] { new SqlParameter("@Z_C_Id", z_reply.Z_C_Id), new SqlParameter("@UserId", z_reply.UserId), new SqlParameter("@Z_R_Time", z_reply.Z_R_Time), new SqlParameter("@Z_R_Content", z_reply.Z_R_Content) }; return(DBHelper.GetExcuteNonQuery(sql, sp)); }
public static int addZ_Reply(Z_Reply z_reply) { return(iz_reply.addZ_Reply(z_reply)); }