不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
使用ildasm查看MSIL代码
编辑:dnawo 日期:2008-12-30
微软中间语言 (MSIL) 是一种语言,是许多编译器(C#、VB.NET等)的输出。ILDasm (中间语言反汇编器)程序和.Net Framework SDK(FrameworkSDK\Bin\ildasm.exe)打包在一起,让用户以人可阅读的格式查看MSIL代码。通过该工具,我们可以打开任何.net可执行文件(exe或dll)并查看其MSIL代码。下边我们来看看怎么使用:
1.在VS2008中新建一个Windows窗体应用程序,输入如下代码后生成解决方案:
1.在VS2008中新建一个Windows窗体应用程序,输入如下代码后生成解决方案:
复制内容到剪贴板
程序代码

private void Form1_Load(object sender, EventArgs e)
{
{
int i=0;i=i++;结果解析
编辑:dnawo 日期:2008-12-30
select列表项选中
编辑:dnawo 日期:2008-12-29
在对内容进行编辑的时候,有些内容是以列表(select)的形式显示的,为了方便编辑,我们希望上次提交的列表项能设置为选中项,以前ASP 中经常这么写:
复制内容到剪贴板
程序代码

<select name="accredit" id="accredit" style="width:100px">
<option value="共享软件" <% If addRow("accredit")="共享软件" Then Response.Write("selected") %>>共享软件</option>
<option value="免费软件" <% If addRow("accredit")="免费软件" Then Response.Write("selected") %>>免费软件</option>
<option value="共享软件" <% If addRow("accredit")="共享软件" Then Response.Write("selected") %>>共享软件</option>
<option value="免费软件" <% If addRow("accredit")="免费软件" Then Response.Write("selected") %>>免费软件</option>
关于ADO.Net连接池(Connection Pool)的一些个人见解
编辑:dnawo 日期:2008-12-26
建立池连接可以显著提高应用程序的性能和可缩放性。SQL Server .NET Framework 数据提供程序自动为 ADO.NET 客户端应用程序提供连接池(MSDN)。
Opening a database connection is a resource intensive and time consuming operation. Connection pooling increases the performance of Web/windows applications by reusing active database connections instead of creating a new connection with every request. Connection pool manager maintains a pool of open database connections. When a new connection requests come in, the pool manager checks if the pool contains any unused connections and returns one if available. If all connections currently in the pool are busy and the maximum pool size has not been reached, the new connection is created and added to the pool. When the pool reaches its maximum size all new connection requests are being queued up until a connection in the pool becomes available or the connection attempt times out.
Connection pooling behavior is controlled by the connection string parameters. Please look into MSDN documents in the reference link if you want to know further information.
Opening a database connection is a resource intensive and time consuming operation. Connection pooling increases the performance of Web/windows applications by reusing active database connections instead of creating a new connection with every request. Connection pool manager maintains a pool of open database connections. When a new connection requests come in, the pool manager checks if the pool contains any unused connections and returns one if available. If all connections currently in the pool are busy and the maximum pool size has not been reached, the new connection is created and added to the pool. When the pool reaches its maximum size all new connection requests are being queued up until a connection in the pool becomes available or the connection attempt times out.
Connection pooling behavior is controlled by the connection string parameters. Please look into MSDN documents in the reference link if you want to know further information.
"超时时间已到"解决方案
编辑:dnawo 日期:2008-12-26
联盟平台周期性的打不开,查了下日志,错误原因都为:
引用内容

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。
超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。