protected void Button1_Click(object sender, EventArgs e) { if (this.TextBox1.Text.Length > 0) { string rez = Baza.VnesiZnamko(this.TextBox1.Text); if (rez == "") { Response.Redirect("index.aspx"); } else { this.peter.InnerHtml = rez; } } }
protected void Button1_Click(object sender, EventArgs e) { if (this.TextBox1.Text.Length > 0) { string rez = Baza.VnesiZnamko(this.TextBox1.Text); if (rez == "") { Response.Redirect("index.aspx"); } else { this.peter.InnerHtml = rez; } } }