中继器控件asp.net中特定列的固定宽度 [英] fixing width of an particular column in repeater control asp.net

查看:63
本文介绍了中继器控件asp.net中特定列的固定宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在转发器控件中固定特定列的宽度asp.net

fixing width of an particular column in repeater control asp.net

推荐答案

我们可以通过固定TR和TD宽度来固定宽度,例如

We can fix the width by fixing TR and TD width, example

<table>
            <tr style="border-width: 1px; width: 650px; border-color: Black;">
                <td width="350px" height="50px">
                    <asp:TextBox ID="txtFirstName" runat="server" Text='<%# Eval("FirstName") %>' ToolTip='<%# Eval("FirstName") %>'

                        Enabled="true" ReadOnly="true" BorderStyle="None" Width="100px" Height="50px"

                        Font-Bold="True" ForeColor="#000099"></asp:TextBox>
                </td>
            </tr>
        </table>


这篇关于中继器控件asp.net中特定列的固定宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆