is Txt1 a declared TextBox in your ascx file?Dim a As New Area = CType(LoadControl("Yourascx.ascx"),Area)
Form1.Controls.Add(a) 'Form1 is from <form id=Form1 runat=server> in your page
Response.Write(a.GetValue)
Form1.Controls.Add(a) 'Form1 is from <form id=Form1 runat=server> in your page
Response.Write(a.GetValue)
解决方案 »
- 配置错误 ,我无语了。都怎么解决啊。。?
- asp.net 下载文件Response.TransmitFile(filename)的同时记录文件被下载次数异常
- 如何用js实现用鼠标拖拽来改变Panel控件的大小?
- QQ在线状态 显示到网页中
- B/S 下能不能执行多线程
- 发布一个Web2.0网站的源代码,完全可以运行的! (dig性质的)
- 高分求解:我这段代码错在哪里?关于datagrid动态列的
- 我的2005Beta2创建项目时怎么找不到WebService?
- 像CSDN论坛左侧那样的树该如何做呢?请高手指教.谢谢!!!
- 求救!TreeView的刷新问题
- 如何动态生成数据库表
- 很急啊!!如何在windows form 中搁置一个类似于word的编辑窗口?
form1.controls.add(A)没有必要了吧
txt1 已申明了
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Response.Write(a.GetValue)
End Sub