protected void All_RepJob() { List <string> customerid = new List <string>(); Garge garge = new Garge(Convert.ToInt32(Session["UserID"])); List <RepairJobl> list = garge.GetTeratments(); RepJob.DataSource = list; RepJob.DataBind(); }
//shwo all open work card protected void RendarCard() { Garge garge = new Garge(Convert.ToInt32(Session["UserID"])); List <RepairJobl> listTop = garge.GetTeratmentsTop3(); List <RepairJobl> list = garge.GetTeratments(); Count.InnerText = list.Count.ToString(); Count2.InnerText = listTop.Count.ToString(); Open_WordCaed.DataSource = listTop; Open_WordCaed.DataBind(); }