问题
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
Thanks
回答1:
you can use FindControl method for that, like...
TextBox TextBox1 = (TextBox)yourDetailsViewID.FindControl("TextBox1");
来源:https://stackoverflow.com/questions/5473409/find-a-control-in-detailsview