Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            clsDataLayer cls = new clsDataLayer();
            Tuple <int, String, String> catInfo = cls.GetCategoryDetails(Int32.Parse(Session["UpdateCatID"].ToString()));

            DataTable dt = cls.GetCategoryTypes(Session["sessionUserID"].ToString());
            txbxCatName.Text = catInfo.Item2;
            txbxCatDesc.Text = catInfo.Item3;
        }
    }