Aşağıdaki kodlar Gizle ve Göster butonlarının içine yazılır.Gizle ve Göster butonu hiddenfield i yönetir.
protected void Button1_Click(object sender, EventArgs
e)
{
HiddenField1.Value = TextBox1.Text + "---"
+ TextBox2.Text;
}
protected void
Button2_Click(object sender, EventArgs e)
{
Response.Write(HiddenField1.Value);
}
Hiç yorum yok:
Yorum Gönder