<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" media="screen"?>
<rss version="2.0">
  <channel>
    <title>.NET 藏经阁 - 技术论坛 - ADO.NET</title>
    <link>http://forum.entlib.net.cn/showforum-41.aspx</link>
    <description>Latest 20 threads</description>
    <copyright>Copyright (c) .NET 藏经阁 - 技术论坛</copyright>
    <generator>Discuz!NT</generator>
    <pubDate>Tue, 06 Jan 2009 10:24:41 GMT</pubDate>
    <ttl>60</ttl>
    <item>
      <title>一个简单的网上书店示例</title>
      <description><![CDATA[一个学生的作业，包含了基本的数据操作示例，初学者可以下来看看。
仅验证过 /Admin/ListAllUsers.aspx 页面，其他的自行验证。

86]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1776.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Fri, 03 Oct 2008 18:31:00 GMT</pubDate>
    </item>
    <item>
      <title>很奇怪的一个sql语句问题....没查出错在哪,请帮忙,,急~~~</title>
      <description><![CDATA[ private void bindgrid() 
 &amp;nbsp; &amp;nbsp; { 
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dbclass mycon = new dbclass(); 
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mycon.conn.Open(); 
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String countr]]></description>
      <link>http://forum.entlib.net.cn/showtopic-4602.aspx</link>
      <category>ADO.NET</category>
      <author>4010fxw</author>
      <pubDate>Fri, 10 Oct 2008 16:50:00 GMT</pubDate>
    </item>
    <item>
      <title>ADO.Net中使用参数化SQL语句 如何获得实际运行的SQL语句</title>
      <description><![CDATA[项目里想要用参数化的Sql语句(没有用存储过程)  
 如:&amp;quot;SELECT&amp;nbsp;  *&amp;nbsp;  FROM&amp;nbsp;  People&amp;nbsp;  where&amp;nbsp;  id=@a&amp;nbsp;  and&amp;nbsp;  name=@b&amp;quot;  
  
 然后对参数附值:  
 Cmd.Parameters.......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-4605.aspx</link>
      <category>ADO.NET</category>
      <author>sreyalpmc</author>
      <pubDate>Fri, 10 Oct 2008 16:18:00 GMT</pubDate>
    </item>
    <item>
      <title>sql查询</title>
      <description><![CDATA[表1： 
 id1&amp;nbsp; col1 
 1&amp;nbsp; &amp;nbsp; a 
 2&amp;nbsp; &amp;nbsp; b 
 表2： 
 id2 id1 user 
 1&amp;nbsp; &amp;nbsp; 1&amp;nbsp;  li 
 2&amp;nbsp; &amp;nbsp; 1&amp;nbsp;  li 
 3&amp;nbsp; &amp;nbsp; 2&amp;nbsp;  wang 
  
 我想通过表1的......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-4090.aspx</link>
      <category>ADO.NET</category>
      <author>fhcnus</author>
      <pubDate>Fri, 10 Oct 2008 10:59:00 GMT</pubDate>
    </item>
    <item>
      <title>执行SQL语句超时</title>
      <description><![CDATA[有表A和B，A表中有50万条记录，写了个存储过程 
 Create Proc ExecA 
 @Betch Varchar(50) 
 As 
 Update A Set Name=&amp;#39;Test&amp;#39; Where Betch=@Betch&amp;nbsp; --修改A表中的一个值 
 Insert Into B Select * ......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-3748.aspx</link>
      <category>ADO.NET</category>
      <author>nanocpus</author>
      <pubDate>Thu, 09 Oct 2008 22:12:00 GMT</pubDate>
    </item>
    <item>
      <title>局域网MS SQL Server2000</title>
      <description><![CDATA[ 
  
 没有什么分了~~~~~ 
 两台电脑XP系统PC1，PC2， 都装了MS SQL Server2000 
 数据库在PC1上&amp;nbsp;   
 PC2要连接PC1上的MS SQL Server2000 数据库 
 请问XP系统要怎么配置 局域网还要要怎么配置（都连在交......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-3749.aspx</link>
      <category>ADO.NET</category>
      <author>etirwnoom</author>
      <pubDate>Thu, 09 Oct 2008 22:30:00 GMT</pubDate>
    </item>
    <item>
      <title>WEBservice中，通过DLL访问access</title>
      <description><![CDATA[VC写的DLL中需要访问access,代码如下，使用DAO 
  
 通过C#的桌面程序调用，执行正常， 
  
 在WEBwervice中调用此DLL，提示http500错误 
  
 具体代码： 
 CDaoDatabase&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test; ......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-3763.aspx</link>
      <category>ADO.NET</category>
      <author>5002_700oatoatl</author>
      <pubDate>Thu, 09 Oct 2008 21:19:00 GMT</pubDate>
    </item>
    <item>
      <title>.net 无法连接sql2008</title>
      <description><![CDATA[错误代码如下 
  
 A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name i......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-3505.aspx</link>
      <category>ADO.NET</category>
      <author>119sxc</author>
      <pubDate>Thu, 09 Oct 2008 16:47:00 GMT</pubDate>
    </item>
    <item>
      <title>采用ODBC连接数据库，如何返回存储过程的数据集？？</title>
      <description><![CDATA[本来我是用oracleclient连接数据库的，现在改用ODBC连接数据库，但是调用存储过程的时候，存在游标的参数，不知道如何传递？请各位执教
  ]]></description>
      <link>http://forum.entlib.net.cn/showtopic-2037.aspx</link>
      <category>ADO.NET</category>
      <author>4002twgzd</author>
      <pubDate>Wed, 08 Oct 2008 11:59:00 GMT</pubDate>
    </item>
    <item>
      <title>access的语句在.net里的问题。</title>
      <description><![CDATA[我的一条sql语句： 
  
 update setsite_mas set SiteTitleSi=&amp;#39;电子有限公司&amp;#39;, SiteUrl=&amp;#39;http://asdfrt6546&amp;#39;, ComNameSi=&amp;#39;电子有限公司&amp;#39;, AddressSi=&amp;#39;35号大厦606室&amp;#39;, ImgMaxSize......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-2032.aspx</link>
      <category>ADO.NET</category>
      <author>oiggab_dlz</author>
      <pubDate>Wed, 08 Oct 2008 11:54:00 GMT</pubDate>
    </item>
    <item>
      <title>一条多表查询SQL语句</title>
      <description><![CDATA[DataSet ds = Reader.ReturnDataSet(&amp;quot;select smalltype,pic1,id from product where smalltype in(select smalltype from type where bigtype=&amp;#39;&amp;quot; + Request.QueryString + &amp;quot;&amp;#39;)&amp;quot;); 
  ......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1953.aspx</link>
      <category>ADO.NET</category>
      <author>sjmrahc</author>
      <pubDate>Wed, 08 Oct 2008 11:28:00 GMT</pubDate>
    </item>
    <item>
      <title>C#连接SQL Server 标准版2005(正版）时,服务器程序可以，但客户机连接时有的机器可以，有的报错</title>
      <description><![CDATA[急，急，急， 
 写了一个C/S模式的程序， 
 在程序连接2005数据库时，本地测试正常， 
 数据库是放在另外的机器上， 
 什么1433端口，命名管道等全打开， 
 部署之后，有些机器可以正常连接， 
 但有些机器就是......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1927.aspx</link>
      <category>ADO.NET</category>
      <author>nozaE</author>
      <pubDate>Wed, 08 Oct 2008 10:47:00 GMT</pubDate>
    </item>
    <item>
      <title>连接sql数据库字符串的问题</title>
      <description><![CDATA[我正使用datalist控件显示表student的数据，要实现自制数据源邦定..所用的数据库是sql2000 
 数据库名为ASSET,表名为student 
 运行过程出现的是指向db.cs中的代码： 
 connstring = ConfigurationManager.Connec......]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1934.aspx</link>
      <category>ADO.NET</category>
      <author>5201mzz</author>
      <pubDate>Wed, 08 Oct 2008 10:44:00 GMT</pubDate>
    </item>
    <item>
      <title>获取SQL Server的当前连接数</title>
      <description><![CDATA[SQL Server提供了一些函数返回连接值(这里可不是当前连接数哟!),个人觉得,很容易产生误解.

  系统变量

  @@CONNECTIONS 返回自上次启动 Microsoft&amp;#174; SQL Server™ 以来连接或试图连接的次数。

  @@MAX_CONNECTIONS 返回 Microsoft&amp;#174; SQL Server™ 上允许的同时用户连接的最大数。返]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1698.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Fri, 04 Jul 2008 00:41:00 GMT</pubDate>
    </item>
    <item>
      <title>SqlServer Text类型字段超过8000字处理</title>
      <description><![CDATA[SqlServer的T-Sql
  如下：

  表结构：
  字段名 id title content
  类型 int char(200) text
  Insert Into News (title,content) Values (@title,@content)

  实际上这样插入是不能超过8000字节的(content字段)。SqlServer在这方面做了限制。
]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1681.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:25:00 GMT</pubDate>
    </item>
    <item>
      <title>通过预处理器指令调整连接的数据库</title>
      <description><![CDATA[通过预处理器指令调整连接的数据库
  开发程序的时候可能会用到多个数据库，比如一个客户正在使用的数据库，一个测试数据库。开发中可能经常在这两套数据库中切换，从前我的做法是修改web.config文件，但是这样确实不太方便。最近发现可以通过预处理器指令来方便的调整。
  先在web.config中分别定义两个数据库的连接字符串
  OracleHouseConnectionStringTest]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1680.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:24:00 GMT</pubDate>
    </item>
    <item>
      <title>折半插入排序</title>
      <description><![CDATA[折半插入排序的基本思想是:设在顺序表中有一个对象序列V,V,…,V。其中，V,V,…,V是已经排好序的对象。在插入V时,利用折半查找法寻找V的插入位置。

1template&amp;lt;class Type&amp;gt;
2void BinaryInsertSort(datalist&amp;lt;Type&amp;gt; &amp;amp;list){
3 for(int i=1;i&amp;lt;list.CurrentSiz]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1675.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:22:00 GMT</pubDate>
    </item>
    <item>
      <title>使用WebService动态生成DataSet绑定到Reporting Services</title>
      <description><![CDATA[我的步骤是这样的：
  1.首先创建一个WebSerivce,然后写了一个Web Method:


public XmlDataDocument GetDataSource()
{
string strCon;
DataSet ds = new DataSet();
XmlDataDocument xmlDataDoc;
strCon = &amp;quot;Your Connecti]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1674.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:22:00 GMT</pubDate>
    </item>
    <item>
      <title>datagrid数据导出到excel文件给客户端下载</title>
      <description><![CDATA[方法一：导出到csv文件，存放在服务器端任一路径，然后给客户下载

  优点：
  1、可以进行身份认证后给客户下载，如果放到非web目录就没有对应的url，客户无法随时下载。
  2、也是因为生成了文件，所以占用了服务器的空间，但是可以把文件名存放到数据库，再次给客户下载的时候不需要重复生成文件。
  3、csv文件是文本文件，逗号隔开字段，回车隔开行，易于数据导入导出。

  实]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1673.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:21:00 GMT</pubDate>
    </item>
    <item>
      <title>本地生成RDL报表文件的创建工具</title>
      <description><![CDATA[string strCon;
DataSet ds = new DataSet();
XmlDataDocument xmlDataDoc;
strCon = &amp;quot;Server=10.100.3.248;initial catalog=IGS-SMP-WorkTest;User Id=WorkDeveloper;Password=developer;&amp;quot;;
string s]]></description>
      <link>http://forum.entlib.net.cn/showtopic-1672.aspx</link>
      <category>ADO.NET</category>
      <author>doriandeng</author>
      <pubDate>Tue, 01 Jul 2008 12:20:00 GMT</pubDate>
    </item>
  </channel>
</rss>