asp.net获取datalist获得子控件的值

2025-04-05 02:26:54
推荐回答(1个)
回答(1):

TextBox myTxt= DataList1.Items[这里写选择项].FindControl("这里写控件名称") as TextBox ;