|
-
Feb 21st, 2005, 04:06 PM
#1
Thread Starter
Addicted Member
can you imagine?--help please!
In asp.net
I need to bind sql data to a data grid, the datagrid is weird, because
it has both vertical and horizontal GRID lines but without left and right outside borders(it does have top and bottom outside borders ), ALSO.THE TOP BORDER LINE IS THICKER THAN ANY OTHER .
FOR SUCH ,WHAT TYPE OF CONTROL SHOULD i CHOOSE ?
ANY CODE SNIPPLET TO POPULATE THE CONTROL IS WELCOME
-
Feb 21st, 2005, 04:51 PM
#2
I wonder how many charact
Re: can you imagine?--help please!
-
Feb 22nd, 2005, 06:04 AM
#3
Re: can you imagine?--help please!
-
Feb 22nd, 2005, 08:46 AM
#4
I wonder how many charact
Re: can you imagine?--help please!
Post a screenshot of your code
-
Feb 22nd, 2005, 09:09 AM
#5
Re: can you imagine?--help please!
-
Feb 22nd, 2005, 09:37 AM
#6
Thread Starter
Addicted Member
Re: can you imagine?--help please!
HOw can I add an empty row , I don't want text "space" appear in the table cell, I also tried .cells(i).text="" it doens't work out for me
With tblName.Rows(tblName.Rows.Count - 1)
.Cells.Add(New Web.UI.WebControls.TableCell)
.Cells.Add(New Web.UI.WebControls.TableCell)
.Cells.Add(New Web.UI.WebControls.TableCell)
.Cells(0).Text = "space"
.Cells(1).Text = "space"
.Cells(2).Text = "space"
End With
-
Feb 22nd, 2005, 11:17 AM
#7
I wonder how many charact
Re: can you imagine?--help please!
You're using tablecells which like a cell in a <table> tag, expand to show the content contained within them - otherwise the cell height collapses.
As in regular html, if you want a cell to appear, you apply a space. In html, you use but I believe the text property of the TableCell control might require just a simple space " ".
That said html cells can alternatively be explicity set to be a certain height using their height attribute.
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
|