在vsual Studio 2005中,标签和文本框正在显示 [英] in the vsual studio 2005 the label and textboxes are showing

查看:80
本文介绍了在vsual Studio 2005中,标签和文本框正在显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司正在使用Visual Studio 2005(IAM的新连接器),在设计视图中,每次我拖动按钮时,文本框和标签在正确的位置显示,当我运行它们时,文本框和标签在此处和此处显示.从工具栏上将ts位置设置为相对位置,是否有任何问题.
给我一个解决方案

my company is using visual studio 2005, iam new joiner, in design view the textboxes and label are showing in correct position ,when i run them the the textbox and label are displaying here and there, every time when i drag the button from the toolbar set ts postion as relative ,is that any problem.
give me an solution

推荐答案

像这样在aspx页面中使用表格标记:

use the table tag in aspx page like this :

<table>
<tr>
<td>
Name :
</td>
<td>
    <asp:TextBox ID="TxtName" runat="server"></asp:TextBox>

</td>
<td>
Address :
</td>
<td>
<asp:TextBox ID="TxtAddress" runat="server"></asp:TextBox>
</td>
</tr>
</table>


这篇关于在vsual Studio 2005中,标签和文本框正在显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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