摘要: Cisco IOS Basic CLI Configuration : Switch Port Command1. BasicSwitch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switc... 阅读全文
posted @ 2014-04-25 07:49 张楠0412 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 1. TelnetSwitch Config:Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#enable secret zhangSwitch(conf... 阅读全文
posted @ 2014-04-24 13:30 张楠0412 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 环境:Oracle 11g r2 win7问题描述:Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.解决:在cmd中输入:set ORACLE_UNQNAME=orcl (orcl是SID)如果再报的错误是:OC4J Configuration issue. 则设置:set ORACLE_HOSTNAME=localhost问题解决!输入:emctl status dbconsole 不再出问题 阅读全文
posted @ 2013-10-31 10:55 张楠0412 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 问题描述:在附加数据库到sql server时,附加不上,出现如下图所示的错误解决方法:找到xxx.mdf和xxx_log.ldf文件, 点击“右键”->“属性”->"安全"-在组或用户名处添加Authenticated Users-更改该组权限为完全权限,再次附加成功。 阅读全文
posted @ 2013-08-08 16:50 张楠0412 阅读(321) 评论(0) 推荐(1) 编辑
摘要: 错误信息:解决方法:打开VS的命令行工具,输入:aspnet_regiis.exe -i 阅读全文
posted @ 2013-08-06 15:47 张楠0412 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 建立数据模型之后,尝试着写下面这样的一个测试类: 1 using System; 2 using NorthwindModel; 3 4 public partial class DerivedObjectContext : System.Web.UI.Page { 5 protected void Page_Load(object sender, EventArgs e) { 6 NorthwindEntities db = new NorthwindEntities(); 7 8 GridView1.DataSource = db.Product... 阅读全文
posted @ 2013-05-07 21:36 张楠0412 阅读(1392) 评论(0) 推荐(0) 编辑
摘要: 链接:http://msdn.microsoft.com/en-us/library/y47ychfe.aspx 阅读全文
posted @ 2013-05-01 11:25 张楠0412 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 连接本地SQL Server数据库学习示例。1,配置web.config。1 <connectionStrings>2 <add name="We7_CMS" connectionString="Data Source=ZhangNan-PC; Initial Catalog=We7_CMS ; Integrated Security=SSPI"/>3 </connectionStrings>2,写一个测试连接的web form1 <body>2 <form id="form1" 阅读全文
posted @ 2013-04-30 09:20 张楠0412 阅读(463) 评论(0) 推荐(0) 编辑
摘要: where T : struct The type parameter <T> must have System.ValueType in its chain of inheritance; in other words, <T> must be a structure. where T : class The type parameter <T> must not have System.ValueType in its chain of inheritance (e.g., <T> must be ... 阅读全文
posted @ 2013-04-26 11:18 张楠0412 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1 class Program 2 { 3 #region Person class for testing 4 public class Person 5 { 6 public int Age { get; set; } 7 public string FirstName { get; set; } 8 public string LastName { get; set; } 9 10 public Person() 1... 阅读全文
posted @ 2013-04-26 11:13 张楠0412 阅读(226) 评论(0) 推荐(0) 编辑