62,051
社区成员
发帖
与我相关
我的任务
分享
string sql = "SELECT PBRQ AS 出诊日期,PBSD AS 出诊时段, GHF AS 挂号费,SYHS AS 剩余号数 FROM YY_PBB WHERE GH='" + gh + "' AND PBRQ > #" + DateTime.Now.ToString("yyyy-M-d") + "#";
DataTable dt = DBHelper.GetData(sql);
this.GridView1.DataSource = dt;
this.GridView1.DataBind();