码迷,mamicode.com
首页 >  
搜索关键字:ado 完全总结    ( 5396个结果
ADO.NET之4-使用SqlCommand对象向数据库添加记录---ShinePans
源代码: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLTest { c...
分类:数据库   时间:2014-08-02 15:36:33    阅读次数:227
ADO.NET之5-使用Command对象删除记录---ShinePans
源代码: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLTest { c...
分类:Web程序   时间:2014-08-02 15:35:53    阅读次数:185
ADO.NET之6-使用Command修改数据库中的数据---ShinePans
源代码: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLTest { c...
分类:数据库   时间:2014-08-02 15:34:43    阅读次数:210
ADO.NET之7-使用Command对象查找数据库记录---ShinePans
查询数据路里的数据数量: 代码: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespac...
分类:数据库   时间:2014-08-02 15:33:53    阅读次数:259
DataTable Key Points
The DataTable is a central object in the ADO.NET library. Other objects that use the DataTable include the DataSet and the DataView.When accessing Dat...
分类:其他好文   时间:2014-08-02 15:14:03    阅读次数:254
2014-08-01 ASP.NET中对SQLite数据库的操作——ADO.NET
今天是在吾索实习的第18天。我主要学习了如何在ASP.NET中对SQLite数据库的操作,其基本操作如下:添加引用System.Data.SQLite.dll(PS:在网页里面任意找到适合的.NET Framework版本与位数所对应的压缩包,里面就会有该文件了)。在所在cs文件中加入using.....
分类:数据库   时间:2014-08-02 01:48:46    阅读次数:258
ADO.NET之3-Command对象---ShinePans
Command对象可以分成4种,SqlCommand,OleDbComman,OlbcCommand,OracleComman  属性 说明 CommandType 获取或设置Command对象要执行命令的类型 CommandText 获取或设置要对数据源执行的SQL语句或存储过程名或表名 CommandTimeOut 获取或设置...
分类:Web程序   时间:2014-08-01 23:10:42    阅读次数:294
C++ ADO 数据查询
ADO 数据查询 关键点 上1条 下1条 第1条 最后1条 实现过程 //stdafx.h:includefileforstandardsystemincludefiles, #import"c:\programfiles\commonfiles\system\ado\msado15.dll"no_...
分类:编程语言   时间:2014-08-01 22:31:32    阅读次数:422
delphi出现‘尚未调用CoInitialize’异常
1. 由于使用ado等引起的异常。2. 若是子线程或某方法操作ado可在该方法开头和结尾分别加上:function myfunbeginCoInitialize(nil); // your code;CoUninitialize; end;3. 在主方法加入该句子有时候不能解决问题,因为默认是初始化...
分类:其他好文   时间:2014-08-01 18:45:02    阅读次数:172
DELPHI XE5 与SQLITE
最近一次使用DELPHI做项目是使用DELPHI2009,为了访问本地数据库方便,使用ACCESS数据库,不需要安装驱动,(WINDOWS自带),但是ACCESS数据库的性能确实很糟糕,通过ADO连接,INSERT 1000条数据平均在1.5秒以上。 面前面临一个新的项目,本地数据库是继续用ADO,...
分类:数据库   时间:2014-08-01 15:42:41    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!