04 2016 档案
摘要:情况:当在asp:DropDownLis点击选取其中的一个值来响应datalist的值。 <form id="form1" runat="server"> <div> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionSt
阅读全文
摘要:题目:输入两个单调递增的链表,输出两个链表合成后的链表,当然我们需要合成后的链表满足单调不减规则。 解法://递归解法 public class MixLink { /* public class ListNode { int val; ListNode next = null; ListNode(
阅读全文
摘要:var xmlHttpReq = false; if(window.XMLHttpRequest){ xmlHttpReq = new XMLHttpRequest() }else if(window.ActiveXObject){ xmlHttpReq =new ActiveXobject("Mi
阅读全文
摘要:错误代码(也称作状态代码),指为服务器所接收每个请求(网页点击)分配的 3 位数代码。多数有效网页点击都有状态代码 200("正常")。"网页未找到"错误会生产 404 错误。某些常见的代码以粗体显示。 1xx(临时响应) 用于表示临时响应并需要请求者执行操作才能继续的状态代码。 代码 说明 100
阅读全文
摘要:加载驱动方法 1.Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); 2. DriverManager.registerDriver(new com.mysql.jdbc.Driver()); 3.System.setProp
阅读全文
摘要:PROPAGATION_REQUIRED Support a current transaction; create a new one if none exists. 支持一个当前事务;如果不存在,创建一个新的。 This is typically the default setting of a
阅读全文
摘要:第一种: //驱动程序名 String driver = "com.mysql.jdbc.Driver"; //URL指向要访问的数据库名mydata String url = "jdbc:mysql://localhost:3306/admin"; //MySQL配置时的用户名 String us
阅读全文

浙公网安备 33010602011771号