|
RE: net_lover (【Mencius Chapter E】)
-----------------
<div style = "width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
float: left ">
<span style = "float: left"> Column name: <% # Eval ("Title")%> </ span> <span style = "float: right;
color: Red; cursor: pointer "onclick =" ShowHidden ('<% # Eval ("id")%>', event) "> Hide </ span> </ div>
<div style = "background-color: #FFF; padding-left: 60px; clear: both" id = "div <% # Eval (" id ")%>">
---------------------
This is the display of what you said in the year | id | Name | Total business performance | |
Obviously yours is done with Div. For example, because you only have two columns, one left and one right, there will be no confusion if there are more
And mine is showing a field with a lot of records if you write like this
If there are many records, there will be confusion and not as neat as the binding with GridView |
|