关于repeater控件绑定报错
后台
private void bind()
{
int TotalCount = 0;//总记录数
int TotalPage = 1; //总页数
SqlConnection conn = new SqlConnection(ConnStr);
//conn.Open();
//SqlDataAdapter da = new SqlDataAdapter("select ID,ModifiedTime,GradeLevel,CreateTime,DepartmentID,PositionID,B.UserID,SuggestSalary,RecuitingNum,RecuitingReasonType,Operation,T.G_CName as DepartmentName,T.GroupID,T1.GroupID,T1.G_CName as PositionName,C.UserID,C.U_CName from sys_AnwerbeformularDate as B INNER JOIN sys_Group AS T ON B.DepartmentID=T.GroupID INNER JOIN sys_Group AS T1 ON B.PositionID = T1.GroupID INNER JOIN sys_User AS C ON B.UserID=C.UserID ", conn);
//DataSet ds = new DataSet();
//da.Fill(ds, "sys_AnwerbeformularDate");
Zhaozh.FrameWork.Business.AnwerbeformularTableBll bind = new Zhaozh.FrameWork.Business.AnwerbeformularTableBll();
DataView dv = bind.getbind();
//DataView dv = ds.Tables[0].DefaultView;
TotalCount = dv.Count;
PDS.DataSource = dv;
conn.Close();
PDS.AllowPaging = true;
PDS.PageSize = 10;
int CurPage;
if (Request.QueryString["Page"] != null && Request.QueryString["Page"] != "0")
{