public void HistoryOFData() { HistoryD gm = new HistoryD(); DataTable dt = new DataTable(); dt = gm.MarketDetails(Session["UserID"].ToString()); RptHistory.DataSource = dt.DefaultView; RptHistory.DataBind(); }
public void Players() { GameMenuDetails gm = new GameMenuDetails(); DataTable dt = new DataTable(); dt = gm.CurrentPlayers(); int RowCount = dt.Rows.Count; RptHistory.DataSource = dt; RptHistory.DataBind(); }