当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 原帖 http://expert.csdn.net/expert/topic/2140/2140703.xml?temp=.1396295 ......
    摘要: (1). char* buf = new char[10240]; delete buf; 和 char* buf = new char[10240]; buf = null; 是否都会顺利释放空间? (2). 定义了一个lpstr m_lpstr = "test string"; 其后要截取部分字节. strncpy( m_lpstr, m_lpstr, 5); 或 ......


初学者很简单的问题

1.在设asp.net置数据库连接时语句时,有这样的:  
  "Integrated   Security=SSPI;Initial   Catalog=Mydatabase;Data   Source=YY-powerpc"  
  也有这样的:"Provider=SQLOLEDB.1;Persist   Security   Info=True;User   ID=;   Password=;Initial   Catalog=;Data   Source="  
  请问,这两个有什么区别?诸如Integrated   Security   ,Initial   Catalog   ,Persist   Security   Info   ,Data   Source是什么意思,它们是如何设置的?  
  大家有无相关文章作这方面的详细介绍啊?  
   
  2.在前台界面也经常有引用后台的语句:<%@   PAGE   CodeBehind=""     Language="C#"   AutoEventWireUp="false"   Inherits=""%>  
  上面那句中,AutoEventWireUp是什么意思,它又是如何设置的?  
 

NO.1   作者: outspaceman

http://www.connectionstrings.com/

NO.2   作者: alaisalaix

查msdn文档

NO.3   作者: panyee

Integrated   Security=SSPI;Initial   Catalog=Mydatabase;Data   Source=YY-powerpc  
  是SqlConnection的连接串  
   
  Provider=SQLOLEDB.1;Persist   Security   Info=True;User   ID=;   Password=;Initial   Catalog=;Data   Source=  
  是OleDbConnection的连接串  
  Integrated   Security   是否安全连接,windows验证方式  
   
  Initial   Catalog   数据库名称  
  Persist   Security   Info   ,  
  Data   Source   数据库服务器名称  
   
   
  AutoEventWireUp   事件绑定到方法  
 


 ·如何绕过登录验证    »显示摘要«
    摘要: 有没有办法,在知道用户名和密码的情况下,在vc编写的软件中访问那些只有经过登录许可才可访问的页面,如何实现,请给一些思路,谢谢! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE