摘要:
1.引用js文件 <script src="~/Scripts/uploadPreview.js"></script> <html> //toCalid()在表单提交之前进行非空验证 <form action="/Home/insertImg" method="post" enctype="mult 阅读全文
摘要:
写入: HttpCookie cookie=new HttpCookie(“user”); cookie.Values.Add("Id",id); cookie.Values.Add("Name",name); //设置一天过期 cookie.Expires=DateTime.Now.AddDays 阅读全文
摘要:
<!--Grid容器--> <div id="div-table-container"> <!--<table id="dgDistrict"></table>--> <div id="agDistrict" style="height: 700px;width:100%;margin-top: 1 阅读全文
摘要:
一般情况下,勾选这些之后就直接可以复制粘贴,要是不行,可以直接从服务器访问本地的磁盘 有些勾选之后还不能复制粘贴的,在服务器运行任务管理器 结束本进程之后,再重新运行就可以了 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Model;using System.Reflection;usi 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using MySql.Data;using MySql.Data.MySqlClient;using System.Data; nam 阅读全文
摘要:
//在界面设置一个div 将数据动态绑定到这个div里面,在界面加载的时候,调用此方法 $(function(){ //默认进来显示第一页,一页显示五条数据 GetList(1,5); }) function GetList(page,size){ //将动态生成的html代码赋值给tr var t 阅读全文
摘要:
function GetList1(page, size) { var tr = ""; var Code = $('#Code').val(); var Cname = $('#Cus_name').val(); var State = $('#State').val(); ajaxHelper( 阅读全文