- 博客(5)
- 收藏
- 关注
原创 $.ajax()方法详解(转)
jquery中的ajax方法参数总是记不住,这里记录一下。1.url:要求为String类型的参数,(默认为当前页地址)发送请求的地址。2.type:要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。3.timeout:要求为Number类型的参数,设置请求超时时间(毫秒)。此设置将...
2020-04-08 19:47:14 143
原创 SqlHelper
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using System.Data.SqlClient; using System.Data;...
2020-04-04 21:16:37 103
原创 C#dataset、datatable、datacolumn、Row构建与展示
DataSet ds = new DataSet(); DataTable dt = new DataTable(); DataColumn dcAutoId = new DataColumn("AutoId", typeof(int)); dcAutoId.AutoIncrement = true; dcAutoId...
2020-04-04 20:39:40 229
原创 没有为请求的 URL 配置默认文档,并且没有在服务器上启用目录浏览
解决方案:在web.config文件中添加下面这段代码,就可以了<system.webServer>< directoryBrowse enabled=“true” /></system.webServer>
2020-03-20 21:06:22 4662 3
原创 velocityEngine模板引擎
VelocityEngine vltEngine = new VelocityEngine(); vltEngine.SetProperty(RuntimeConstants.RESOURCE_LOADER, "file"); vltEngine.SetProperty(RuntimeConstants.FILE_RESOUR...
2020-03-20 20:52:40 373
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人