07 2011 档案

DIV左右行
摘要: View Code1<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">2<htmlxmlns="http://www.w3.org/1999/xhtml">3<head>4<metahttp-equiv="Content-Type"content="text/html;charset=ut阅读全文

posted @ 2011-07-11 15:33 ★金★ 阅读(28) | 评论 (0) 编辑

Jquery绑定Select下拉菜单
摘要: 需要返回JSon数据集。 ASPX: $.ajax({ type: "POST", contentType: "application/json;utf-8", data: "{strclassid:'" + strclassid + "'}", url: "/AutoService.asmx/Show", success: function (msg) { var myObject = eval...阅读全文

posted @ 2011-07-05 15:08 ★金★ 阅读(130) | 评论 (0) 编辑

SQL中多项合并时请加ISNULL
摘要: 今天发现多项中,其中有一项为空时,所有的数据都不显示。 加ISNULL解决: set @tolname=@tolname+ISNULL((SELECT [names] FROM [toolist] where id=@strSQL1),'')+'<br/>'阅读全文

posted @ 2011-07-04 17:43 ★金★ 阅读(24) | 评论 (0) 编辑

Repeater中绑定下拉菜单的2种方法
摘要: 1.第一种方法,Repeater中绑定DropDownList实现。 <asp:DropDownList ID="ddlfixs" runat="server" appenddatabounditems="true"> <asp:ListItem Value="">请选择治具</asp:ListItem></asp:DropDownList> <asp:HiddenField ID="hdfixi...阅读全文

posted @ 2011-07-04 16:30 ★金★ 阅读(59) | 评论 (0) 编辑