Exemplo n.º 1
0
        public void BindRouteList()
        {
            DispatchData  dispatchData = new DispatchData();
            DataSet       DS           = new DataSet();
            StringBuilder sb           = new StringBuilder();
            RouteData     routeDate    = new RouteData();


            DS = dispatchData.GetAllOrdersDetails();
            if (!Comman.Comman.IsDataSetEmpty(DS))
            {
                int count = Convert.ToInt32(DS.Tables[1].Rows[0]["Id"]);
                count = count + 1;
                //txtRouteCode.Text = string.Format("R{0:0000}", count);
                rpRouteList.DataSource = DS;
                rpRouteList.DataBind();
            }
        }