前面是这样的代码
<asp:DropDownList id="province"
runat="server"></asp:DropDownList>
<asp:DropDownList id="city"
runat="server"></asp:DropDownList>
<asp:DropDownList id="county"
runat="server"></asp:DropDownList>
我是注册用的,要将这样选择后的资料输入到数据库,但是怎么把这三个联合到Address就弄不了
我已经弄好这个效果了,现在问题是如果把选择后的省市县3个答案合起来更新到数据表中的’Address‘中
追答把三个ID取到后,把这个到数据库取出对应的地址,更新到数据库中。