我不会说我浪费了我的时间,但花了几个小时改变了这一点。但徒劳无益。有人可以帮我解决。简单的Gridview和按钮问题。我正在学习Asp.Net。请帮助我!
在下面的代码:
- 我需要使用打破禁用位置(标题)和GridView控件
- 我想格的边框颜色为无之间。我不想要任何颜色。
我希望这两个按钮禁用或停用,取消显示正好在gridview下方。并在页面中间。
<div style="display: block; background: url(images/reusable_blue_bg.jpg) repeat-x 0 -15px; border-left: #88b9c7 1px solid; border-bottom: #88b9c7 1px solid; border-top: #88b9c7 1px solid; border-right: #88b9c7 1px solid; padding: 0px 2px; height: 236px; min-height: 236px; height: auto; margin-left: auto; margin-right: auto;"> <table align="center" style="width: 554px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none" id="TABLE1"> <tr> <td align="center" colspan="5" style="font-weight: normal; font-size: 20px; margin: 0px; font-family: Arial; color: #1e7c9b;"> Disable Location</td> </tr>
我需要1号在这里..
<asp:GridView ID="disableloc" runat="server" AutoGenerateColumns="False" DataKeyNames="LocationName"
DataSourceID="" AllowPaging="True" EnableViewState="true" BorderStyle="None">
我想2在这里,我想
</asp:GridView>
我在这里要3 ..
<tr align ="center" style="position:fixed">
<asp:ImageButton ID="btnDisable" runat="server" ImageAlign="Middle" ImageUrl="~/images/green-deactivate.gif" OnClick="btnDisable_Click"
ValidationGroup="group1" />
<asp:ImageButton ID="btnCancel" runat="server" ImageUrl="~/images/cancel.gif" OnClick="btnCancel_Click" />
</tr>
</table>
</div>
你可以发布HTML,因为它没有分解,可能会更容易看到页面的外观。 – mint 2010-08-10 14:01:37
对不起!我从未意识到!将从现在开始做。也会纠正以前的问题。谢谢你让我知道。 – Ram 2010-08-10 14:28:28
[Simple Gridview和按钮问题的可能重复。我正在学习Asp.Net。请帮助我!!](http://stackoverflow.com/questions/3449446/simple-gridview-and-button-problems-i-am-learning-asp-net-please-help-me-out) – 2010-08-13 02:42:26