我想学习,在asp.net, 我们如何能够理解的是那里的网页编程?
I want to learn that in asp.net, how can we understand is there any listbox control on the page programmatically?
您可以尝试像...
if (Page.Controls.OfType<ListBox>().Count() > 0)
{
Response.Write("Listbox control exist");
}