自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Check that mysqld is running and that the s...

2008-08-30 01:05:00 41

转载 ASP.NET 如何取得 Request URL 的各个部分

我们在开发Web应用程序,时常需要去解析网址(Request.Url)的每个片段,进行一些判断。 例如说 "http://localhost:1897/News/Press/Content.aspx/123?id=1#toc",我们想要取得网址里第一层目录的名字(News)用以判断不同的页面标题(Page Title)。 我看很多人都用字符串的 IndexOf 方法与 Substring...

2008-08-28 11:37:00 34

转载 动态加载用户控件

bdleft zkmodule=(bdleft)this.LoadControl(@"../UserCtrls/bdleft_zk.ascx"); this.PlaceHolder1.Controls.Add(zkmodule); Controlcon=Page.LoadControl("WebUserControl2.ascx"); this.panCont...

2008-08-27 23:47:00 44

转载 【转】 简单升级了一下可着色的ListBox控件

记得去年年初的时候做了一个Colorful ListBox Control控件。当时考虑的因数很少,虽然那个控件实现了简单的调用接口,可是有一个致命的问题是居然没有考虑到PostBack后的状态保存问题。 新的ColorableListBox解决了控件被PostBack后的状态保存。实现过程很简单,就是把ListItem的ForeColor和BackColor信息存在Vie...

2008-08-22 19:45:00 41

转载 [转贴][WCF Security] 2. 安全参数设置

[原文]http://www.rainsts.net/article.asp?id=473 1. 安全方式 通过设置 Binding 的属性 Security 来实现。 NetTcpBinding binding = new NetTcpBinding(); binding.Security.Mode = SecurityMode.Transport; binding.Secur...

2008-08-19 14:31:00 40

转载 c# 得到局域网中可用SqlServer服务器列表(转)

c# 得到局域网中可用SqlServer服务器列表(转) static void Main(string[] args) { // Retrieve the enumerator instance and then the data. SqlDataSourceEnumerator instance =SqlDataSourceEnume...

2008-08-15 19:57:00 65

转载 抽象数据类型(ADT)

抽象数据类型是指对外隐藏的数据对象集合及作用于上的操作。它抽象出复杂的数据结构,就象基本数据类型抽象具体机器实现那样。封装是抽象数据类型的主要特征,它让抽象数据类型的使用者不必知道内部隐藏信息,同时也禁止使用隐藏信息以便在不影响使用的情况下可以方便的更改其具体实现。 转载于:https://www.cnblogs.com/ptfree/archive/2008/08/09/1264451.html...

2008-08-09 22:14:00 69

转载 sql server数据库链接

--Author: CXG--Todo: 远程数据传输(数据库链接)--------------------------------------------------------------------------------------------------- --add remote server link --star msdtc first execu...

2008-08-02 14:32:00 53

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除