|
-
Jul 1st, 2003, 05:16 PM
#1
Thread Starter
Addicted Member
Datagrid: Add tablestyles at runtime
I have designed a number of tablestyle in my datagrid at design time.
I am using late bound datasets, so I want to select one of the pre-defined tablestyles when I create the binding at runtime.
How is this done as I can only see the tablestyle is a readonly property.
Any help would be appreciated.
Control Data Systems
www.members.shaw.ca/cdsystems
-
Jul 2nd, 2003, 01:18 PM
#2
Sleep mode
Hmm , you mean when you click that little highlighted text "AutoFormat" and then you get colorful datagrid styles ???
-
Jul 2nd, 2003, 01:36 PM
#3
Thread Starter
Addicted Member
I managed to get the correct style mapped.
The problem was that my table in the dataset did not have a name so mapping was not possible.
By supplying a name to the table when I filled the dataset, the mapping could function correctly.
adp.fill(ds,"TableName")
Control Data Systems
www.members.shaw.ca/cdsystems
-
Jul 2nd, 2003, 01:39 PM
#4
Sleep mode
lol...I was talking about something completely different .
Good it's working now .
-
Jul 2nd, 2003, 01:52 PM
#5
Thread Starter
Addicted Member
Thank Pirate,
I appreciate you help.
Control Data Systems
www.members.shaw.ca/cdsystems
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|