- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 常用代码
1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数:
2009-12-15 17:07:00 433
原创 C#访问修饰符
public:访问不受限制。 protected:访问仅限于包含类或从包含类派生的类型。只有包含该成员的类以及继承的类可以存取. Internal:访问仅限于当前程序集。只有当前工程可以存取. protected internal:访问仅限于当前程序集或从包含类派生的类型。 private:访问仅限于包含类型。只有包含该成员的类可以存取.
2009-12-12 15:29:00 268
原创 sql判断是否存在
sql判断是否存在--判断数据库是否存在 if exists(select * from master..sysdatabases where name=N库名) print exists else print not exists -------------
2009-12-12 15:18:00 881
原创 主要完成数据库的一些公共类的设置
using System;using System.Collections;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;using System.Reflection;namespace BOTO.DBUtility
2009-12-12 15:05:00 442
原创 C#分页代码
using System;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;namespace CSHome.Pager{ public class Pager : Control, INamingContainer
2009-12-12 15:02:00 3306 2
原创 JS强制刷新页面
附:Javascript刷新页面的几种方法:1 history.go(0) 2 location.reload() 3 location=location 4 location.assign(location) 5 document.execCommand(Refresh) 6 window.navigate(location)
2009-12-12 14:55:00 1448
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人