这几句,谁帮忙注释一下,很简单。
public partial class my_StudySum : BasePage
{
     USER_COURSE_REG bllUSER_COURSE_REG = new USER_COURSE_REG();
     USERS bllUsers = new USERS();
     CHW_EXAM_PREF bllchw_exam_pref = new CHW_EXAM_PREF();
     decimal user_nm = 0;
     string where = string.Empty;
     int exam_id;
     int sumscore = 0;
     public DataRow drUserSum;
     public string user_id = string.Empty;
USER_COURSE_REG是个数据库表,后面怎么个过程,谁的值给谁了,我就搞不懂了
------解决方案--------------------这里只是一个声明定义初始化而已
------解决方案--------------------搞不懂楼主要干嘛, 前面三句不就是 使用 new关键字生成三个对象,后面的不就是声明变量并赋值
------解决方案--------------------decimal user_nm = 0;  
   string where = string.Empty;  
   int exam_id;  
   int sumscore = 0;  
   public DataRow drUserSum;  
   public string user_id = string.Empty;
这段和上面的
USER_COURSE_REG bllUSER_COURSE_REG = new USER_COURSE_REG();  
   USERS bllUsers = new USERS();  
   CHW_EXAM_PREF bllchw_exam_pref = new CHW_EXAM_PREF(); 从代码看没有任何关系,因此=后面的值给前面变量了哈。笑死我了你!
------解决方案--------------------另外:从public partial class my_StudySum : BasePage看,这个页面应该是个基类!
上面三个应该是在子页面时候使用的