<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>数据库应用</title>
<link>/html/edu/net/net8/index.html</link>
<description>编程开发 / ASP.NET / 数据库应用</description>
<language>zh-cn</language>
<generator>&lt;a href='http://www.souzz.net' target='_blank'&gt;搜站长&lt;/a&gt;</generator>
<webmaster>lyjrich@sina.com</webmaster>
<item>
    <title>如何在DataGrid绑定之前为DataSet添加新列</title>
    <link>/html/edu/net/net8/3936.html</link>
    <description>在实际的应用中经常会遇到根据其它列计算某一新列的结果，实现这样的功能有两种办法：一个直接使用SQL语句；另外就是在绑定时进行动态添加。第一种方法以前已经介绍过。下面就是第二种方法的具体实现： AddDataSetColumn.aspx asp x.vb&quot;Inherits=&quot; asp xWeb.AddDataSet</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>保存图片到SQL 2000 Server数据库</title>
    <link>/html/edu/net/net8/3917.html</link>
    <description>保存图片到SQL 2000 Server数据库 作者： vivekthangaswamy 在ASP.NET的Web页面中怎样上传文件？怎样使用ADO.NET技术从数据库中读取一幅图片，并在Web页面上显示？ 摘要 .NET是由微软开发的一种新型的分布式计算平台，ASP.NET是它针对Web开发的编程模式。本文的目的是在</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid相关知识总结（收集）</title>
    <link>/html/edu/net/net8/3916.html</link>
    <description>关于datagrid的问题，如何使行宽不可由用户更改。（即行宽固定，不能通过拖拉的方式改变） 定义DataGrid的时候就把宽度设定 asp:BoundColumn ... HeaderStyle Width=&quot;150px&quot;/HeaderStyle 如何在winform中DataGrid点击某行,使数据实时显示在TEXTBOX中? datagrid的keypre</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>关于DataGrid的动态排序问题</title>
    <link>/html/edu/net/net8/3915.html</link>
    <description>我有这么一个设计界面的设计习惯：我喜欢把数据库的”Comment”字段从任何显示数据库列表的控件中过滤掉，然后通过跟踪用户鼠标的单击，动态地将它的内容显示在旁边另一块我觉得更适合显示它的地方，比如说一个EditBox(Multiline = true)。以前这个方法动作得很好，因为</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid中的数据导入到Word和Excel_VB</title>
    <link>/html/edu/net/net8/3914.html</link>
    <description>Imports System Imports System.Collections Imports System.ComponentModel Imports System.Data Imports System.Drawing Imports System.Web Imports System.Web.SessionState Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HtmlCo</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid中的数据导入到Word和Excel_C#</title>
    <link>/html/edu/net/net8/3913.html</link>
    <description>using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; usi</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid同时具有分页和排序功能及注意点</title>
    <link>/html/edu/net/net8/3912.html</link>
    <description>当DataGrid同时具有分页和排序功能时应注意在重新绑定数据源时，MyDataGrid.CurrentPageIndex=0; 下面给实现以上功能的原码，也就不多缀了 aspx中包含有DataGrid和控制其数据源变化的dropdownlist DataGrid代码 asp:datagrid id=&quot;MyDataGrid&quot; runat=&quot;server&quot; BorderColo</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid(WinForm)显示行号最简单的方法</title>
    <link>/html/edu/net/net8/3911.html</link>
    <description>同样是重载OnPaint 方法,但是方法应该是比较巧妙的!而且不用担心标题是不是有显示,也不用去计算坐标,很方便的说! protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); if(this.DataSource!=null) { if( this.VisibleRowCount == 0 )return; Rectangl</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid使用技巧</title>
    <link>/html/edu/net/net8/3910.html</link>
    <description>有时候听有些朋友抱怨.NET的DataGrid不是很好用。就我个人的体会，DataGrid的功能非常强大，可以使我们随心所欲的完成各种各样的工作，可惜就是实现起来不够简单明了。我对平时经常碰到的一些问题积累了一些解决的方法，现在把它们总结一下供大家参考。 比较经常碰到的</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ADO.NET学习笔记（三篇）</title>
    <link>/html/edu/net/net8/3909.html</link>
    <description>最近几天一直在图书馆里面看《ADO.NET实用指南》，发现真是一本好书。读书自然就有心得，本人就根据书的线索，把自己的学习体会主要以代码的形式记录下来。（书上对应代码在http://www.adoguy.com/book里） 1、连接 ADO.NET最大的特色就在于支持在断开连接的情况下对数</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>asp.net中的一些数据绑定啦</title>
    <link>/html/edu/net/net8/3908.html</link>
    <description>using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; nam</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>VB.NET 导出数据到EXCEL中</title>
    <link>/html/edu/net/net8/3907.html</link>
    <description>----------VB.NET 导出数据到EXCEL中------------- Dim oExcel As New Excel.Application Dim obook As Excel.Workbook Dim oSheet As Excel.Worksheet Dim DataArray(2000, 2000) As Integer obook = oExcel.Workbooks.Open(&quot;c:\1.xls&quot;) oSheet = obook.Worksheets(1)</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>统一身份认证子系统数据库设计与数据访问层实现</title>
    <link>/html/edu/net/net8/3906.html</link>
    <description>石 春 丽 西南师范大学计算机与信息科学学院 重庆 400715 摘要：统一身份认证子系统（UIA子系统）统一管理用户和校园内各个分应用系统（成员站点）。每个注册的校园网用户拥有统一的网络账户（用户名/密码），用户通过同一个用户名/密码，可以访问校园内的所有校网络应</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>在asp.net中操作sql-server数据库的一些小技巧</title>
    <link>/html/edu/net/net8/3918.html</link>
    <description>1.给数据库语句参数传递 向数据库操作语句传递参数可以通过存储过程实现，这里给出另外两种简便易捷的方法： 可以在C#中通过字符串操作将参数直接传入SQL语句变量中，例如： strings=&quot;Davolio&quot;; stringsql=&quot;select*fromemployeeswhereLastName=&quot;+&quot;’&quot;+s+&quot;’&quot; 相当于写入</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>定制DataGrid的外观</title>
    <link>/html/edu/net/net8/3919.html</link>
    <description>1、选择要显示的列： 在默认的情况下，我们在DataGrid中显示的列就是我们在执行Sql查询语句的时候查询出来的列，什么意思呢？如果我们用Select * from myTable,那么，将会显示所有的列，如果，我们用Select field1，field2 from mytable那么就只显示两个列。所以，在Da</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid数据导入Excel</title>
    <link>/html/edu/net/net8/3935.html</link>
    <description>if(DataGrid1.Items.Count==0) { Response.Write(&quot;scriptalert('对不起,你没有查询到任何记录,不能导出数据')/script&quot;); } else { Response.Clear(); Response.Buffer= true; Response.Charset=&quot;GB2312&quot;; Response.AppendHeader(&quot;Content-Disposition&quot;,&quot;attachment;file</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>使用DataReader还是DataSet?</title>
    <link>/html/edu/net/net8/3934.html</link>
    <description>经常听到有人问这个问题：“在ASP.NET Web应用程序中我应该用DataReader类还是DataSet类呢？”在很多文章以及新闻组的贴子中我经常看到这样的误解，即认为DataReader（SqlDataReader或OleDbDataReader的缩写）比DataSet好。有时候我也会看到相反的说法。事实上，Micros</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>Sql与Asp.Net数据类型对应(引用MsDN)</title>
    <link>/html/edu/net/net8/3933.html</link>
    <description>BigInt 受 .NET Framework 精简版的支持。 Int64 一个 64 位的有符号整数。 Binary 受 .NET Framework 精简版的支持。 Array 类型为 Byte 二进制数据的固定长度流，范围在 1 到 8,000 个字节之间。 Bit 受 .NET Framework 精简版的支持。 Boolean 无符号数值，可以是 0</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>SQL查询语句对象化的实现（C#）</title>
    <link>/html/edu/net/net8/3932.html</link>
    <description>在开发数据库应用的过程难免会编写大量的 SQL 语句，其中大部份是查询语句；为不同情况编写查询语句是一件很烦琐的事件。用过 hibernate 或 Nhibernate 会了解到把 SQL 查询语句对象化后使用起非常方便和快捷；也大大减少在编写查询 SQL 语句所带来的错误等问题。 前段</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>在ADO.NET数据集中浏览多个相关表(6篇)</title>
    <link>/html/edu/net/net8/3930.html</link>
    <description>摘要：ADO.NET 中的数据集是一种在内存中表示数据的方法，它可以包含多个相关的数据表。本文介绍了在数据集中浏览这些相关数据表的方法。您将在 Visual Basic .NET 或 Visual C# .NET 中创建一个 Windows 应用程序，基于选定的记录返回相关记录，并使用表达式列为相关</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>Web中DataGrid绑定数据显示列可拖动</title>
    <link>/html/edu/net/net8/3929.html</link>
    <description>在原理主要是js代码 将如下代码放在.aspx中 script language='javascript //判断鼠标是否按下 var mouseDown = false; //鼠标所在区域 var IsTdArea=0; //鼠标按下 function MouseDown(obj) { if(IsTdArea != 0) { obj.mouseDownY = event.clientY; obj.mouseDownX=eve</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>经常用到的交叉表问题,一般用动态SQL能生成动态列！</title>
    <link>/html/edu/net/net8/3927.html</link>
    <description>原始表如下格式： Class CallDate CallCount 1 2005-8-8 40 1 2005-8-7 6 2 2005-8-8 77 3 2005-8-9 33 3 2005-8-8 9 3 2005-8-7 21 根据Class的值，按日期分别统计出CallCount1，CallCount2，CallCount3。 当该日期无记录时值为0 要求合并成如下格式： CallDate CallC</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid中加多选按钮</title>
    <link>/html/edu/net/net8/3924.html</link>
    <description>aspx文件中加 script language=&quot;javascript&quot; !-- //CheckBox全选And反全选 function select_deselectAll (chkVal, idVal) { var frm = document.forms[0]; for (i=0; ifrm.length; i++) { if (idVal.indexOf ('CheckAll') != -1) { if(chkVal == true) { frm.elements[</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>使用ADO.NET轻松操纵数据库</title>
    <link>/html/edu/net/net8/3926.html</link>
    <description>ADO.NET提供了Connection来连接数据库，同时也提供了Command对象来查询数据库。同Connection对象一样，Command也有两种：OleDbCommand和SqlCommand.其区别同Connection对象。 要操纵数据库，必须先使用Connection来连接到数据库，再创建一个Command来查询。有几种创建</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>sql server 与 excel 互导以及在asp.net中从DataTable导出到excel</title>
    <link>/html/edu/net/net8/3925.html</link>
    <description>1.从excel直接读入数据库 insert into t_test ( 字段 ) select 字段 FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source=&quot;C:\test.xls&quot;; User ID=Admin;Password=; Extended properties=Excel 8.0')...[sheet1$] 2.从数据库直接写入excel exec master..xp_</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ASP.NET中数据库数据导入Excel并打印(2)</title>
    <link>/html/edu/net/net8/3922.html</link>
    <description>大家可能觉得上面的代码比较复杂，因为上面对于对打印要求比较高的应用，是十分有效的。如果只是单单对数据进行导出，还可以使用简单的格式，比如使用以下的代码： Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ASP.NET中数据库数据导入Excel并打印(1)</title>
    <link>/html/edu/net/net8/3920.html</link>
    <description>众所周知，WEB上的打印是比较困难的，常见的WEB上打印的方法大概有三种： 1、直接利用IE的打印功能。一般来说，这种方法可以做些扩展，而不是单单的调用javascript:print()这样简单，比如，可以使用如下代码： ＜OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid 动态列</title>
    <link>/html/edu/net/net8/3905.html</link>
    <description>模版控件能让用户几乎不用花费任何时间就创建出复杂的用户界面. Asp.net有很多控件都使用了模版技术(DataGrid就是一个例子). 而这些控件都工作得很好, 通常, 模版可以被保存为ascx文件以增加复用性. 很有可能, 事前你是不知道你的控件是怎么布局的, 而且你需要动态的添</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>vb.net中的数据库连接</title>
    <link>/html/edu/net/net8/3904.html</link>
    <description>在项目中选择左边“工具盒”中的数据库适配器，本例子用的是ODBC数据源，所以选择OdbcDataAdapter. 选中OdbcDataAdapter，在属性窗口中选择SelectCommand,展开，选择Connection,在下拉框中选择“新建”，在弹出的窗口中选择Computer database页，选中想要得OdbcDataSour</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>SQL server 系统储存过程在VB中的应用</title>
    <link>/html/edu/net/net8/3928.html</link>
    <description>以锁定应用程序资源(sp_getapplock / sp_releaseapplock)为例: sp_getapplock没有返回参数(output类型的),只是在SP中用return来返回值 加锁: Dim cmd As ADODB.Command Set cmd = New ADODB.Command cmd.ActiveConnection = cnn cnn.BeginTrans cnn.Execute &quot;use maste</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>感受DataGrid给数据操作带来的便利（1）</title>
    <link>/html/edu/net/net8/3897.html</link>
    <description>作为一个刚刚接触asp.net的人来说，DataGrid能够为我们提供那些便利，一直是我想要早点知道的。这两天我恰好自己动手在修改以前的一个asp应用，所以，我学习了一下DataGrid，体会了一下，确实为我们带来了很多的便利，总结了一下，写出来给像我这样的初学者。 第一部分</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>感受DataGrid给数据操作带来的便利（2）</title>
    <link>/html/edu/net/net8/3898.html</link>
    <description>第二节：定制DataGrid的外观 上一篇文章中，我初步感受到了DataGrid给我带来的便利，但是，如果是我们自己编写程序画的表格的话，我们能够很灵活的控制表格的表现形式，所以，DataGrid能不能定制它的表现形式。答案，我知道肯定是可以的，关键是它是否比我自己用代码“</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>感受DataGrid给数据操作带来的便利（3）</title>
    <link>/html/edu/net/net8/3899.html</link>
    <description>第三节：快速分页 在第二节中，我体会到了DataGrid在定制外观上的快捷和方便，这一节，我又学会了快速的将数据分页。 我们在查询数据库的时候，往往不会用一个页面来显示所有的数据，而是对数据进行分页显示。记得在asp中，我们编写一个分页的页面非常麻烦，当我，学会</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>关于SQLSERVER数据操作的常用类库</title>
    <link>/html/edu/net/net8/3900.html</link>
    <description>根据自己平时的经验写的针对SQLSERVER操作的通用类库 using System; using System.Data; using System.Data.SqlClient; using System.Web; namespace Whgw_lc { /// summary /// Data 的摘要说明。 /// /summary /// summary /// 数据库相关操作类 /// 作者：DarkAngel</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>用SqlDataAdapter更新数据库的方法介绍</title>
    <link>/html/edu/net/net8/3901.html</link>
    <description>其实非常简单，就是用SqlDataAdapter的update方法就行了。主要代码例如下所示： private void update() { string link = ConfigurationSettings.AppSettings[&quot;link_local&quot;].ToString(); SqlConnection conn = new SqlConnection(link); SqlDataAdapter da = new SqlData</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>.net中webform和winform连接sql server 2000数据库的c#操作类</title>
    <link>/html/edu/net/net8/3902.html</link>
    <description>一.这个为c#连接winform 注意点：（1）调用时必须引用此类的命名空间 （2）类中引用的命名空间 using System; using System.Data; using System.Data.SqlClient; （3）调用示例： DataSet ds =new DataSet(); string sql=&quot;select * from [user]&quot;; ds=DoDataBase.GetData</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid基于Access的快速分页法</title>
    <link>/html/edu/net/net8/3903.html</link>
    <description>DataGrid是一个功能非常强大的ASP.NET Web服务器端控件，它除了能够方便地按各种方式格式化显示表格中的数据，还可以对表格中的数据进行动态的排序、编辑和分页。使Web开发人员从繁琐的代码中解放。实现DataGrid的分页功能一直是很多初学ASP.NET的人感到棘手的问题，特</description>
    <pubDate>2005-10-23</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ASP.NET/Perl.NET 数据库访问例子</title>
    <link>/html/edu/net/net8/1672.html</link>
    <description>ASP.NET/Perl.NET Database Access Example One of the features of the .NET framework is its ability to handle multiple languages. Third party compiler vendors can create and implement a compiler targeted for the .NET runtime. In fact, over the course o</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何搞定DataGrid 分栏的大小</title>
    <link>/html/edu/net/net8/1671.html</link>
    <description>如何实现DataGrid组件的可视化编程. 以下内容可是我费了三天三夜的时间,花了不少工夫才搞出来的,此次公开真是真情奉献啊.欢迎各位转载. 1.新建一webapplication工程,创建一webform项目. 2.使用&quot;server explorer&quot;中的&quot;data connections&quot;项下的&quot;add connections&quot;添加一 数</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>SQL命令中DateTime格式参考</title>
    <link>/html/edu/net/net8/1670.html</link>
    <description>SQL命令中DateTime格式大全 Code in C# : DateTime MyDate = DateTime.Now; sSQL = &quot;Insert Into Article (Title,CreatedDate) Values ('New Title','&quot; + MyDate.Format( &quot;g&quot;, null ) + &quot;')&quot;; 格式字符参考表： Format character Description Default return format d</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>怎么由DataSet将数据导入Excel?</title>
    <link>/html/edu/net/net8/1669.html</link>
    <description>/// summary /// 将DataSet里所有数据导入Excel. /// 需要添加COM: Microsoft Excel Object Library. /// using Excel; /// /summary /// param name=&quot;filePath&quot;/param /// param name=&quot;ds&quot;/param public static void ExportToExcel(string filePath, DataSet ds) { obj</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ASP.NET 链接数据库基础</title>
    <link>/html/edu/net/net8/1668.html</link>
    <description>index.aspx %@ Page Language=&quot;C#&quot; % %@ import Namespace=&quot;System.Data&quot; % %@ import Namespace=&quot;System.Data.OleDb&quot; % script runat=&quot;server&quot; // Insert page code here // void Page_Load(){ string db=@&quot;database/data.mdb &quot;; string connStr=&quot;PROVIDER=Microsoft.J</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>ASP中是如何使用存储过程的！</title>
    <link>/html/edu/net/net8/1667.html</link>
    <description>Start! 下面是创建存储过程 CREATE PROCEDURE select_forum AS select * from forum Go xx.aspx %@ Page Language=&quot;VB&quot; % %@ Import Namespace=&quot;System.Data&quot; % %@ Import Namespace=&quot;System.Data.SQL&quot; % % dim conn as SQLConnection dim cmd as SQLCommand dim myread</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>DataGrid巧用实现目录浏览</title>
    <link>/html/edu/net/net8/1665.html</link>
    <description>* 豆腐制作 都是精品 http://www.asp888.net 豆腐技术站 如转载 请保留版权信息 */ 我们都知道 asp+ 的 DataGrid 可以绑定 ADO 可以绑定 XML,没有想到 连目录结构都可以绑定！不信，就看 %@ Import Namespace=&quot;System.IO&quot; % html titleDataGrid 巧用实现 目录浏览！！！</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>用DataGrid分页</title>
    <link>/html/edu/net/net8/1664.html</link>
    <description>%@ Import Namespace=&quot;System.Data&quot; % html script language=&quot;C#&quot; runat=&quot;server&quot; ICollection CreateDataSource() { DataTable dt = new DataTable(); DataRow dr; dt.Columns.Add(new DataColumn(&quot;IntegerValue&quot;, typeof(Int32))); dt.Columns.Add(new DataColumn(&quot;St</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何在DataGrid控件中实现编辑、删除、分类以及分页操</title>
    <link>/html/edu/net/net8/1673.html</link>
    <description>文章出处：http://www.c-sharpcorner.com/asp/Code/northwindLC.asp 前言： 这篇文章主要介绍如何在DataGrid控件中实现编辑、删除、分类以及分页操作。为了实现我们的意图，我们使用SqlServer2000自带的NorthWind 数据库 。程序分为两部分： 1.包含HTML代码的.ASPX文件</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>服务器端数据访问</title>
    <link>/html/edu/net/net8/1674.html</link>
    <description>服务器端数据介绍 数据访问是任何实际应用程序的核心部分，而 ASP.NET 提供了一套丰富的控件，这些控件与公共语言运行库中提供的托管数据访问 API 很好地集成在一起。 本节多次演练同一个示例，该示例使用 ASP.NET DataGrid 控件绑定到 SQL 查询的结果和 XML 数据文件。</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>.NET中各种数据库连接大全</title>
    <link>/html/edu/net/net8/1683.html</link>
    <description>SQL ServerODBC Standard Security: &quot;Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;&quot; Trusted connection: &quot;Driver={SQL Server};Server=Aron1;Database=pubs;Trusted_Connection=yes;&quot; Prompt for username and password: oConn.Properties(&quot;Pro</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>怎么样写一段高效，安全的sql查询代码</title>
    <link>/html/edu/net/net8/1682.html</link>
    <description>看一看这段代码，让我们来看看主要存在的问题 //设置SQL语句 insertstr=&quot;insert into userinfo(name,password,email,phone,mobile,post,address) VALUES('&quot;; insertstr +=this._name.Trim() + &quot;','&quot;; insertstr +=this._password.Trim() +&quot;','&quot;; insertstr +=this._emai</description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>关于如何添加一个自增的列</title>
    <link>/html/edu/net/net8/1681.html</link>
    <description></description>
    <pubDate>2005-08-25</pubDate>
    <category>数据库应用</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>

</channel>
</rss>
