Adding buttons on Gridview
Hello Everyone,
I want to add edit, update and delete buttons on gridview(In ASP.net). All data shown on gridview is taken by Dataset.
I used add columns but it doesn't working. So I add template field containing buttons but i Didn't get the code for that.
Please help me out.
Regards
Zuber Kazi
Answers (1)
1
You can check for a string being either null or empty with:
if (String.IsNullOrEmpty(strResult))
{
label1.Text = "INCORRECT USER/PASS!";
}
else
{
label1.Text = "YOU ARE LOGGED IN!";
}
Accepted 0
Thanks Vulpes, that was bang on, I've been going round in circles with that one.