show data in gridview using condition
Posted
by Indranil Mutsuddy
on Stack Overflow
See other posts from Stack Overflow
or by Indranil Mutsuddy
Published on 2010-05-19T08:31:38Z
Indexed on
2010/05/19
8:50 UTC
Read the original article
Hit count: 303
Hello,
I want to check a condition in a grid view e.g.
if(loginid.equels('admin')) query = select * from memberlist; else query = select * from memberlist where memberid like 'operator%';
depending on the query ther grid view will display the listof members and also where to put this code in .cs or .aspx and how?
Regards
Indranil
© Stack Overflow or respective owner