摘要: View Code 1 create login stu with password='1111', default_database=stuInfo2 use stuInfo3 go4 create user stu for login stu with default_schema=dbo ;5 go 6 exec sp_addrolemember 'db_owner', 'stu' ;7 go要想成功访问 SQL Server 数据库中的数据,我们需要两个方面的授权:一、获得准许连接 SQL Server 服务器的权利;二、获得访问特定数据 阅读全文
posted @ 2011-11-24 17:11 幸福~伞 阅读(3455) 评论(0) 推荐(1) 编辑
摘要: 代码 1 ///<summary> 2 /// 在指定的字符串列表CnStr中检索符合拼音索引字符串 3 ///</summary> 4 ///<param name="CnStr">汉字字符串</param> 5 ///<returns>相对应的汉语拼音首字母串</returns> 6 public static string GetSpellCode(string CnStr) 7 { 8 string strTemp=""; 9 int iLen=CnStr.Length; 1 阅读全文
posted @ 2011-11-24 15:14 幸福~伞 阅读(320) 评论(0) 推荐(0) 编辑