如何根据我的需求动态创建表? [英] how to create tables dynamically as for my requirement?

查看:99
本文介绍了如何根据我的需求动态创建表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
需求是这样的:
我们必须像这样设计UI部件

门宽:文字框1
门高:文本框2

快门高度条:textbox3:假设条5(在所附的图像中给出)
快门宽度条:textbox4:假定条9

当我们提供宽度,高度和条的详细信息时,不会生成.
请解决我的问题.

谢谢与问候
Hari

hi friends,
Requirement is like this :
we have to design UI Part like This

door width : text box1
door height:text box2

shutter height bars : textbox3 :assume bars 5 (given in attached image )
shutter width bars : textbox4 : assume bars 9

when we are giving the details of the width and height and bar no it will generate.
plz solve my problem..

Thanks&Regards
Hari

推荐答案

要根据需要动态创建表,可以使用LITERAL或PLACEHOLDER控件.就像下面一样:-

文学
-----------
For dynamically creating table as for your requirements you can take the help of LITERAL or PLACEHOLDER controls. Just like below :-

LITERAL
-----------
Literal1.Text = "<table><tr><td>shutter height bars :</td><td>"+Textbox1.Text+"</td></tr></table>";


这篇关于如何根据我的需求动态创建表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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