private void MyDataBind(int DaySpan, int Type) { int returnValue = 0; string returnDescription = ""; TrendChart tc = new TrendChart(); DataTable dt = tc.SYDJ_Q2ZXDYB(DaySpan, Type, ref returnValue, ref returnDescription); dtcount = dt.Rows.Count + 13; gvtable.DataSource = dt; gvtable.DataBind(); }
private void MyDataBind(int DaySpan, int Type) { int returnValue = 0; string returnDescription = ""; TrendChart tc = new TrendChart(); DataTable dt = tc.SYDJ_Q2ZXDYB(DaySpan, Type, ref returnValue, ref returnDescription); dtcount = dt.Rows.Count + 13; gvtable.DataSource = dt; gvtable.DataBind(); }