09 2008 档案
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/D...
阅读全文
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh...
阅读全文
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/D...
阅读全文
摘要:1、在开始里面输入“regedit”打开注册表编辑器,2、在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它。3、这样就可以清除安装暂挂项目,因为sql安装必须是全新安装,安装过程中可能存在一些问题,无法进行安装,那...
阅读全文
摘要:(1)不带参数:use studb goif exists (select * from sysobjects where name ='proc_stu')drop procedure proc_stugocreate procedure proc_stuasdeclare @writtenAvg float,@labAvg floatselect @writtenAvg=AVG(written...
阅读全文
摘要:public static void OpenWindowInNewPage(Page curPage, string destUrl) { string scriptString = string.Format("<script language='JavaScript'>window.open('" + "{0}" + "','" + "','toolbar=no,menubar=...
阅读全文
摘要://gridview行帮定事件 帮定要触发的js函数以及行样式信息 protected void GridViewDataInfo_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { string strId = GridViewDataI...
阅读全文
摘要:string strSql = string.Format("insert into k_rygl values('{0}','{1}','{2}','{3}','{4}','{5}','{6}')", txtBox1.Text.Trim(), txtBox2.Text.Trim(), TextBox3.Text.Trim(), drp1.Text, drp2.Text, textBox7.Tex...
阅读全文
摘要:后台代码:你可以使用sqlhelper,本文没用。代码如下: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....
阅读全文
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/...
阅读全文