如何给(用户控件)UserControl传递参数?
我希望能把参数传递给定义的一个用户控件,具体说,我定义了用户控件AUserControl,加了一个TestDropDownList.把AUserControl加到一个TestWebForm中,在TestWebForm的PageLoad() 里传递一个string strTestForm给AUserControl,完成类似功能,既把传入的string 作为用户控件的DropDownList的ListItem的一个string:AUserControl.TestDropDownList.add(new ListItem(strTestForm)).请教大家,着急等待中.