摘要: 前台放一个TextBox、一个Label、一个Button(value="注销")后台:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;usi... 阅读全文
posted @ 2010-06-23 17:30 JasonNET 阅读(312) 评论(0) 推荐(0)
摘要: function show(){  var filepath = document.getElementById("FileUpload");  var imagepath = document.getElementById("Image1");  imagepath.src = filepath.value;} 阅读全文
posted @ 2010-06-23 17:25 JasonNET 阅读(3054) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.Security;using CrystalDecisions.CrystalReports.Engine;using CrystalDecisions.Shared;using System.IO; p... 阅读全文
posted @ 2010-06-23 17:20 JasonNET 阅读(195) 评论(0) 推荐(0)
摘要: XMLHttpRequest对象是当今所有AJAX和Web 2.0应用程序的技术基础。尽管软件经销商和开源社团现在都在提供各种AJAX框架以进一步简化XMLHttpRequest对象的使用;但是,我们仍然很有必要理解这个对象的详细工作机制。  一、 引言  异步JavaScript与XML(AJAX)是一个专用术语,用于实现在客户端脚本与服务器之间的数据交互过程。这一技术的优点在于,它向开发者提供... 阅读全文
posted @ 2010-06-23 17:18 JasonNET 阅读(271) 评论(0) 推荐(0)
摘要: <script language="javascript" type="text/javascript"> function selectAll(obj) { var theTable = obj.parentElement.parentElement.parentElement; var i ; var j = obj.parentElement.cellIndex; for(i =... 阅读全文
posted @ 2010-06-23 17:08 JasonNET 阅读(216) 评论(0) 推荐(0)
摘要: 解答: --1select * from students where sid in(select r_sid from sresult where r_cid=(select cid from Course where cname='税收基础'))--2select * from students where sid in(select r_sid from SResult where r_ci... 阅读全文
posted @ 2010-06-23 17:02 JasonNET 阅读(219) 评论(0) 推荐(0)
摘要: <%@ WebHandler Language="C#" class="Handler" %>using System;using System.Web;public class Handler : IHttpHandler,System.Web.SessionState.IRequiresSessionState{ //private static System.Random ran... 阅读全文
posted @ 2010-06-23 16:44 JasonNET 阅读(217) 评论(2) 推荐(0)
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2010-06-23 16:43 JasonNET 阅读(413) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.Reflection;namespace NET.MST.Sixth.ReflectionFactory{ /// <summary> /// 使用者 /// </summary> class Customer { sta... 阅读全文
posted @ 2010-06-23 13:59 JasonNET 阅读(5228) 评论(0) 推荐(1)
摘要: using System;using System.Security.Permissions;using System.Text;using System.Reflection;// Download by http://www.codefans.netnamespace UseReflection{ /// <summary> /// 这里的特性要求程序的运行需要完全信任的安全级别 ... 阅读全文
posted @ 2010-06-23 13:57 JasonNET 阅读(1004) 评论(0) 推荐(0)