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
scampercat
NA
189
0
Use detailview control?
Nov 2 2011 4:14 PM
I am thinking of using the detailsview control instead of a gridview control since the orientation of the data is the way I want it and also I will be editing only one row at a time.
I want to ask the following questions about using a detailsview control on a new C#.asp.net 2010 web forms page I am going to be working on:
1. Can I add one more column to the detailview control. If so, can tell you me how to add the extra column? Note:The extra column will contain static data displaying the definition of what the column is used for.
2. Can several of the locations(column value locations) were there is a dropdown list of yes or no, not actually point to columns in the database? They will indicate what columns in the database the user will be allowed to change.
3. When the row is displayed for user to update, I am going to bring in values from a 'default' date table that will prepopulate various dates. If some of the dates are incorrect for the work that needs to be processed, that is where the user will select 'yes' or 'no'.
4. A few of the rows going across all three rows will be like a label. They will be subcategory grouping of what the new several columns are used for.
For what I am looking to do, can you tell me how to accomplish this goal using a detailsview control or point me to a reference of what to use?
If you think some other kind of a control like a gridview control would be better to use, can yuo tell me why and point me to a reference I can use?
Reply
Answers (
2
)
Gridview Control
ASP.NET automatic memory management