查找的DetailsView控件 [英] Find a control in Detailsview

查看:108
本文介绍了查找的DetailsView控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一个控制,是在详细视图。
有一个人可以让我知道该怎么做。我请相信新的.NET帮助我,请

I want to find a control which is in the details view. Can some one let me know how to do it please .I am new to .net help me please

感谢

推荐答案

您可以使用FindControl方法为,如...

you can use FindControl method for that, like...

TextBox TextBox1 = (TextBox)yourDetailsViewID.FindControl("TextBox1");

这篇关于查找的DetailsView控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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