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
amadobson
NA
2
0
How to prevent a datacolumn of gridview displaying null
Sep 18 2003 4:37 AM
Hi I am in my 2nd week of c# .net and I have a datagrid which has a datasource set to a datatable I retrieved from a SQL database. I added a datacolumn to the datasource called "Selected" as a boolean which is the only column the user can change. ie. A tick box has appeared for each row and the user can select / de-select the row The only problem is the user can select the DBNull state. I have disabled this in the definition of the datacolumn but I don't want the user to even be able to set it to null (grayed tick) Can anyone point me in the right direction Cheers Alan :-)
Reply
Answers (
1
)
Compile-time type checking
Security Exeception