Asp.net hide/show table row?

Joy Sharaf

New member
Hi,

I am trying to hide/show a table row while running on a linkbutton click

The code i've written hides the table row, but for some reason it doesn't show it. Plz help me figure out why:


this is inside the linkbutton click function:

if (loginme.Visible = false)
{
loginme.Visible = true;
}
else
{
loginme.Visible = false;
}


and loginme is the id of the table row,

FYI, I have added the runat server propertie



the hide of the row works, but the show doesn't

would you help me figure it out?


thank you
 
Back
Top