public DataSet GetDataSetHT_daoqi()
{
string dt = DateTime.Now.ToString("yyyy-MM-dd");
return data.RunProcReturn("select BH as 编号,xm as 姓名,gh as 工号,sybm as 部门,xl as 学历,zc as 职称,xx as 学校,djrq as 协议日期,xiyiqi as 合同期 from T_cdqhf_tb_zcHt where djrq ORDER BY ID", "T_cdqhf_tb_zcHt");
}
------解决方案-------------------- public DataSet GetDataSetHT_daoqi()
{
string dt = DateTime.Now.AddMongths(23).ToString("yyyy-MM-dd");
return data.RunProcReturn("select BH as 编号,xm as 姓名,gh as 工号,sybm as 部门,xl as 学历,zc as 职称,xx as 学校,djrq as 协议日期,xiyiqi as 合同期 from T_cdqhf_tb_zcHt where djrq>@dt ORDER BY ID", "T_cdqhf_tb_zcHt");
}