//返回上一级页面 onclick="javascript : window.history.go(-1)";//进入下一个页面 onclick="location.href='reg.aspx'";//关闭窗口 onclick="javascript : window.colse();";清空文本onclick="this.value="&...
数字 {0:N2} 12.36 数字 {0:N0} 13 货币 {0:c2} $12.36 货币 {0:c4} $12.3656 货币 "¥{0:N2}" ¥12.36 科学计数法 {0:E3} 1.23E+001 百分数 {0:P} 12.25% P and p present the same. 日期 {0:D} 2006年11月25日 日期 {0:d} 2006-11-25 日期 {0:f} ...
using System; using System.Data; using System.Data.SqlClient; using System.Web.Configuration; namespace Xiaobin.Shop.DAL { public class MSSQLHelper { private SqlConnection conn = null; private SqlComman...
using System;using System.Data;using System.Data.OleDb;/// <summary>///Access数据库操作类///创建时间:2012年8月17日/// </summary>public class AccessHelper{private OleDbConnection conn = null;private OleDbCommand cmd = null...
一、前台页面 无后台.cs文件 静态页页都可 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/...
一、生成真静态页 protected void lbtnIndex_Click(object sender, EventArgs e) { string url = "http://"+Request.Url.Host+":"+Request.Url.Port+"/index.aspx"; Utility.Tool.GenHTMLFromURL(...
XML数据如下:Test.xml <?xml version="1.0" encoding="utf-8"?> <DataSet> <dbName ID="b785723f-e7ef-448a-81b2-527de05f422a" Name="aaaaaa" Remarks="r-aa" /&g...
<script type="text/javascript"> // 设置为主页 function SetHome(obj,vrl){ try{ obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); } catch(e){ if(window.netscape) { try { ...
一般处理程序WaterMark.ashx的代码: <%@ WebHandler Language="C#" Class="WaterMark" %>using System;using System.Web;using System.Drawing;using System.Drawing.Drawing2D;using System.Web.SessionState; pub...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=ut...