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++)