protected void LinkButton1_Click(object sender, EventArgs e) { if (TextBox1.Text == "") { Label3.Text = "Niste unjeli pitanje!!"; return; } DANekretnine.InsertPitanje(Convert.ToInt32(Request["id"]), TextBox1.Text); GridView1.DataSource = DANekretnine.GetPitanjaByNekretninaID(Convert.ToInt32(Request["id"])); GridView1.DataBind(); TextBox1.Text = ""; Label3.Text = ""; }