上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: using System;using System.Collections.Generic;using System.Text;// Download by http://www.codefans.netnamespace NET.MST.Sixth.TraFactory{ /// <summary> /// 使用者 /// </summary> class Custome... 阅读全文
posted @ 2010-06-23 13:55 JasonNET 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #region 导出excel /// <summary> /// yinmin 导出panel控件中的内容到excel /// </summary> /// <param name="plOut"></param> public static void OutPutExcel(Panel plOut) { System.Web.HttpConte... 阅读全文
posted @ 2010-06-23 13:52 JasonNET 阅读(200) 评论(0) 推荐(0) 编辑
摘要: function autoRowSpan(tb,row,col) { var lastValue=""; var value=""; var pos=1; for(var i=row;i<tb.rows.length;i++) { value = tb.rows[i].cells[col].innerText; if(lastValue == value) { tb.rows[i].dele... 阅读全文
posted @ 2010-06-23 13:52 JasonNET 阅读(1967) 评论(2) 推荐(0) 编辑
摘要: 一: ASP.NET 的安全认证模式Windows, Forms, Passport, None二: 修改验证模式修改Web.config <system.web> <!--修改验证模式为Forms--><authentication mode="Forms"><forms loginUrl="~/Login.aspx" name="HotelUser" ... 阅读全文
posted @ 2010-06-23 13:51 JasonNET 阅读(3200) 评论(2) 推荐(1) 编辑
摘要: using System;/// <summary>/// 插入排序 的摘要说明。/// </summary>public class InsertSort{public static void Main(){//int[] intary={35,58,47,96,12,45,78};int[] intary={10,8,7,6,5,4,3,2,1,1};Console.W... 阅读全文
posted @ 2010-06-23 13:49 JasonNET 阅读(173) 评论(0) 推荐(0) 编辑
摘要: using System;/// <summary>/// 递归快速排序 的摘要说明。/// </summary>public class QuickSort{public static void Main(){int[] intary={45,67,34,23,12,89};Console.WriteLine("排序前,输出数组如下:");printArray(intar... 阅读全文
posted @ 2010-06-23 13:48 JasonNET 阅读(191) 评论(0) 推荐(1) 编辑
摘要: 要在里一个页面上进行操作ReportDocument rdocument = new ReportDocument(); //公用打印方法 ExportCrystalL ExCrystal = new ExportCrystalL(); User u = new User(); #region 加载页面 protected void Page_Load(object sender, EventAr... 阅读全文
posted @ 2010-06-23 13:21 JasonNET 阅读(460) 评论(0) 推荐(0) 编辑
摘要: function rundiff() { var aa=document.getElementById("hidvlaue").value; if(aa =="1") { p(); } else { retUrl(); } } function p() { var p1=document.getElementById("d1").style.display="none"; window.print... 阅读全文
posted @ 2010-06-23 13:14 JasonNET 阅读(5499) 评论(0) 推荐(0) 编辑
摘要: public override void VerifyRenderingInServerForm(Control control) { // Confirms that an HtmlForm control is rendered for }private void OutPutByGridview() { Response.Clear(); Response.AddHeader("conten... 阅读全文
posted @ 2010-06-23 13:13 JasonNET 阅读(327) 评论(0) 推荐(0) 编辑
摘要: .cs 中如下代码 public void Mathes() {double a = 1231.654643;double i = Math.Round(a,2);//四舍五入到小数点后两位}JS 中如下代码 <script type="text/javascript">function a(){var num=123.54646;alert(num.toFixed(2));} &l... 阅读全文
posted @ 2010-06-23 12:29 JasonNET 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页