【发布时间】:2011-03-29 13:36:04
【问题描述】:
我想在详细信息视图中找到一个控件。我是 .net 的新手。
我该怎么做?
【问题讨论】:
标签: c# asp.net detailsview
我想在详细信息视图中找到一个控件。我是 .net 的新手。
我该怎么做?
【问题讨论】:
标签: c# asp.net detailsview
您可以为此使用 FindControl 方法,例如...
TextBox TextBox1 = (TextBox)yourDetailsViewID.FindControl("TextBox1");
【讨论】: