Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string idSale = Convert.ToString(System.Web.HttpContext.Current.Session["idSale"]);
            string query  = "SELECT * FROM carlessor.compra where idcompra = @idcompra";

            ConnectionSevice.DetailInformation(gridView: GridViewDetailSale, query, idSale);
        }
        //Private Methods
        private void BindDataList()
        {
            string query = "select * from carlessor.autos";

            ConnectionSevice.DetailInformation(gridView: GridViewDetail, query);
        }