Post Back Question

  • Thread starter Thread starter JJ297
  • Start date Start date
J

JJ297

Good Morning,

I have a text box and a gridview on my page. After I enter text and
hit the submit button I would like to see my entry populated in the
gridview the same time I hit the submit button. How do I do this?

Thanks.
 
when you click your button call your method that is binding your grid.

so something like this

void Btn_Click()
{
//add data
BindGrid();
}

void BindGrid()
{
GetData();
}
 
when you click your button call your method that is binding your grid.

so something like this

void Btn_Click()
{
//add data
BindGrid();

}

void BindGrid()
{
GetData();

}







- Show quoted text -

Thanks Mike!
 
Back
Top