protected void Button1_Click(object sender, EventArgs e) { string rez = Baza.BrisiZnamko(Int32.Parse(this.DropDownList1.SelectedValue)); if (rez == "") { Response.Redirect("index.aspx"); } else { this.peter.InnerHtml = rez; } }
protected void Button1_Click(object sender, EventArgs e) { string rez = Baza.BrisiZnamko(Int32.Parse(this.DropDownList1.SelectedValue)); if (rez == "") { Response.Redirect("index.aspx"); } else { this.peter.InnerHtml = rez; } }