private void MyDataBind(int DaySpan, int Type) { int returnValue = 0; string returnDescription = ""; DataTable table = new TheadChart().SYDJ_Q2HZ(DaySpan, Type, ref returnValue, ref returnDescription); this.dtcount = table.Rows.Count + 13; this.gvtable.DataSource = table; this.gvtable.DataBind(); }
private void MyDataBind(int DaySpan, int Type) { int returnValue = 0; string returnDescription = ""; TheadChart tc = new TheadChart(); DataTable dt = tc.SYDJ_Q2FBT(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 = ""; DataTable table = new TheadChart().SYDJ_Q3FWT(DaySpan, Type, ref returnValue, ref returnDescription); this.dtcount = table.Rows.Count + 13; this.gvtable.DataSource = table; this.gvtable.DataBind(); }