this.txtBoxName.Text = thisReader[ "CustomerID "];
我这么写不对啊,哪个达人能帮帮我啊
------解决方案--------------------
txtBoxName应该是服务器端控件
如:
<asp:textbox id= "txtBoxName " runat= "server " TextMode= "MultiLine " MaxLength= "30 " Width= "224px " Rows= "5 " Columns= "60 "> </asp:textbox>
txtBoxName.Text = thisReader[ "CustomerID "].ToString();