//初始化job_Rank
string strSql = "select * from code_list where pms_type='job_rank'";
DataSet dsJobrank = DBAccess.GetDataSet(strSql);
drpJobRank.DataSource = dsJobrank.Tables[0].DefaultView;
drpJobRank.DataTextField = "pms_name";
drpJobRank.DataValueField = "pms_value";
drpJobRank.DataBind();
drpJobRank.Items.Insert(0, new ListItem(" ", "-1"));
string strSql = "select * from code_list where pms_type='job_rank'";
DataSet dsJobrank = DBAccess.GetDataSet(strSql);
drpJobRank.DataSource = dsJobrank.Tables[0].DefaultView;
drpJobRank.DataTextField = "pms_name";
drpJobRank.DataValueField = "pms_value";
drpJobRank.DataBind();
drpJobRank.Items.Insert(0, new ListItem(" ", "-1"));