摘要:
<marquee>啦啦啦,Hello World</marquee> 阅读全文
摘要:
在head标签里面 <meta http-equiv="refresh" content="4;url=" /> 阅读全文
摘要:
A页面 location.href = "/Home/Bpage?names=" +names; B页面 var loc = location.href;var n1 = loc.length;//地址的总长度var n2 = loc.indexOf("=");//取得=号的位置var uname 阅读全文
摘要:
function p(s) { return s < 10 ? '0' + s: s;} var myDate = new Date();//获取当前年var year=myDate.getFullYear();//获取当前月var month=myDate.getMonth()+1;//获取当前日 阅读全文
摘要:
正序列号select ROW_NUMBER() over(order by Id) as xh,Id,Name,TelNumber,Zhijin from Users1 反序列号select 序号=(select count(1) from Xuhao a where a.Id>=Xuhao.Id) 阅读全文
摘要:
表中添加新字段ALTER TABLE 表名 ADD 字段名 VARCHAR(20) NULL 表中添加自增idalter table lianxi add id int primary key IDENTITY(1,1) NOT NULL 阅读全文
摘要:
控制器 ViewData["select1"] = new SelectList(b.bd(),"names","names"); 视图 @Html.DropDownList("select1",null,new { @style="width:100px;height:100px;border:1 阅读全文
摘要:
select * from lianxia where sex is null 阅读全文
摘要:
//机构表导出 private static List<User2> amininf = new BLL.Bll().GetUser2s(); //定义数据源导出对象 #region 导出数据 public FileResult setfill() { if (Admininfo != null) 阅读全文
摘要:
找到Global.asax,在其中RouteConfig.RegisterRoutes(RouteTable.Routes);这条方法上,右键转到定义,在defaults: new { controller = "Home", action = "Index", id = UrlParameter. 阅读全文
![](/skins/gray/images/separator.gif)