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
S4E
NA
33
0
a question re:a simple datagrid..
Nov 5 2004 5:15 AM
If I wanted to create a simple datagrid which has 2 columns: a readonly column, and a writeable 'text' only column Are there several ways to do this? I'm wondering if what I did was overkill? What I did was: DataGridTableStyle dgts = new DataGridTableStyle(); dgts.MappingName = "data_table_name"; DataGridTextBoxColumn dgcs = new DataGridTextBoxColumn(); dgcs.MappingName = "Property"; dgcs.ReadOnly = true; dgts.GridColumnStyles.Add(dgcs); dgcs = new DataGridTextBoxColumn(); dgcs.MappingName = "Value"; dgts.GridColumnStyles.Add(dgcs); this.dataGrid1.TableStyles.Add(dgts);
Reply
Answers (
1
)
Memory Issue
app size...