- 博客(0)
- 资源 (14)
- 收藏
- 关注
ajax web service
if (TextGCPWF.Text != "")
{
string sql = "select * from CostInfo where c_sid=" + uid + "";
DataSet ds1 = db.GetDs(sql, ConnStr);
int DATA = 0;
for (int i = 0; i < ds1.Tables[0].Rows.Count; i++)
{
if (ds1.Tables[0].Rows[i]["GCPWF"].ToString() != "")
{
string _GCPWF = ds1.Tables[0].Rows[i]["GCPWF"].ToString();
string strSQL = "select CONVERT(varchar(2) , CommitDate, 109 ) as date from CostInfo where c_sid=" + uid + " and GCPWF='" + _GCPWF + "'";
DataSet dss = db.GetDs(strSQL, ConnStr);
string Date = dss.Tables[0].Rows[0]["date"].ToString();
DATA = Convert.ToInt32(Date);
}
}
2009-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人