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
SIVA
NA
742
707.5k
how to active & deactive in GridView
Apr 17 2012 5:45 AM
Dear All,
I have table with the following fields
Item ID, Item Name, Price, Active.
Here Active column contains only 0 or 1 ie.
1-Available
0-not available
Here I binded this table with Gridview with Active/Deactive link button in it.
with addition of it Edit & Delete also
Now my requirement is I need to show available items & unavailable items also in Gridview but unavailable items will be with some light color.. when i click Active/Deactive button it will be in unavailable format & Edit & Delete buttons will be in Disable mode, When user clicks again Active/Deactive button which will be in normal view & Edit & Delete buttons will be Enabled.
How can i do this?
Reply
Answers (
2
)
Open cmd.exe on button click using IIS Server .
Adding "x" symbol