2008年11月7日
摘要: 今天遇到这样一个问题:在GridView里绑定一个dropdownlist。dropdownlist数据从字典表中获取。前台代码: <asp:GridView ID="gv_List_Detail" runat="server" AutoGenerateColumns="False" Width="100%" DataKeyNames="ID,ProductID,ColorID,Produc... 阅读全文
posted @ 2008-11-07 12:52 吴文艳 阅读(3588) 评论(1) 推荐(0) 编辑
摘要: 表DP_JXC_PDT_Product中有一个Style字段,已有数据:83001,83002,83003等。现在想在Style数据中间插入一个字符串,达到这样的效果:83ac001,83ac002,83ac003。用substring():update dbo.DP_JXC_PDT_Productset Style=substring(Style,1,2)+'ac'+substring(Styl... 阅读全文
posted @ 2008-11-07 12:50 吴文艳 阅读(163) 评论(0) 推荐(0) 编辑