|
-
February 4th, 2003, 12:02 PM
#1
datagrid question
I am making a web page in Visual Studio Net that has a datagrid at the top and fields below the datagrid.
My question is - when I make the data grid, I don't like the vertical height of the rows. They are too large and take up too much room but I don't see any way to change them. Is there something I am missing or is there no way to change them?
Thanks.
Doug VanDam
-
February 5th, 2003, 03:46 PM
#2
Use the DataGridTableStyle object. It allows you to programmatically change the format of a table. If you want example, goto Microsoft's How to site and download "How to automate office." Within it you will find code for a datagrid manipulation. Good Luck.
-
February 6th, 2003, 03:21 AM
#3
In Vis.Studio bring up the html page, find datagrid and then you will see the columns like <asp:BoundColumn> or something like that, then just set the cursor somewhere inide the tag and you will get a list of properties for that column. Choose 'ItemStyle-Height' and set your desired value....
Staffy
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
|