TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chevy Mark Sunderland
NA
188
166.7k
Hiding gridview column for particular condition
Sep 13 2012 4:11 AM
Hiding gridview column for particular condition
Hello everyone, I need your appreciated help.
Between the columns of my GridView I have this field:
<asp:BoundField DataField="DIST-V" DataFormatString="{0:#,##0.###}"
HeaderText="Dist (n.)" />
I need see it only when the condition is verified in the my query Sql Server 2005.
If the column DIST-V is selected in my query I need see the value of recordset DIST-V else I don't see the column DIST-V in my Gridview.
Can you help me?
Thank you in advance.
Chevy
Reply
Answers (
14
)
Split string and use with LIKE keyword in SQL Server
Send Email in Asp.net