protected void Page_Load(object sender, EventArgs e) { editID = Request.QueryString["id"]; if (editID != null) { if (!IsPostBack) { txtTitle.Text = categoryBusiness.GetByID(long.Parse(editID)).Title; } } }