自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ltolll的博客(技术版)

YEARN FOR TECHNIC

  • 博客(19)
  • 资源 (9)
  • 问答 (2)
  • 收藏
  • 关注

原创 如何查看本机上MDAC的版本

由于配置ASP.NET时要安装MDAC,所以有必要知道本机上目前MDAC的版本,方法如下:檢查儲存在登錄中的版本信息雖然檢查登錄中的版本資訊並不是檢查 MDAC 版本最可靠的方法,但卻是確認這項資訊的一個簡便方式 (如果沒有遇到任何 MDAC 相關問題的話)。您可以在下列機碼中找到版本資訊: HKEY_LOCAL_MACHINE/Software/Microsoft/DataAcces

2006-09-30 11:20:00 4841 1

原创 C#中使用SQLDMO.Database.ExecuteImmediate执行SQL脚本(可用于新建表、视图)

      我以前做过一个客户档案的程序(C#+SQL Server2000) 。当时是手工建立数据库(表、视图)。现在需要将程序用于另一个部门,但有小部分功能要改变(包括程序代码和数据库结构),大部分不变。于是想用代码生成空表之后再修改。       实现方法:1、在企业管理器中复制表和视图,在记事本里粘贴后就得到表和视图的脚本(SQL Server2000可以用其来生成表和视图),为了方便在程

2006-09-21 17:30:00 2051

原创 C#中对文件夹及文件信息的操作

C#中如何判断指定文件或文件夹是否存在?using System.IO;if(!File.Exists(filepath)){   文件不存在}if(!Directory.Exists(Directorypath)){   文件夹不存在}如何统计某一目录下文件数目? DirectoryInfo dir = new DirectoryInfo(this.txtPath.Text.Tr

2006-09-21 10:19:00 1393

原创 C#中使用SQLDMO编程,能否通过指定某一Column的值来定位记录(未解决)

已取得一个数据库表中的某一字段(Column)对象tmpCol能否通过指定它的值来定位记录比如表中有如下记录:ID    A    B     C1     X    MS    12     Y    BL    33     S    OR    94     E    IB    6这里tmpCol对应B字段,现在我想给出其值为OR,程序就可以定位到此表的第3条记录(并可取到其它字段值)

2006-09-20 12:19:00 956

转载 VS2005中的全角BUG(C#代码)

VS2005不论在其IDE环境中还是在开发出的程序中都存在中文全角的BUG--只要想输入中文的时候输入法总是无故变成全角,以下是详细内容:IDE中的情况:起初在工具--选项--环境--区域设置 把语言设置称"中文简体".然后在vs环境中把光标移到属性需要设置的文本域是就自动转换成全角状态,而打不出中文,甚是郁闷。解决办法,很简单,语言设置改回 "与Microsoft Windows 相同",重

2006-09-20 10:35:00 1964 2

原创 DELPHI中的快捷键

转自CSDN:http://topic.csdn.net/t/20030926/09/2301515.htmlDELPHI中的快捷键一览(完全正式版)     1.SHIFT+鼠标左键         先选中任一控件,按键后可选中窗体(选中控件后按Esc效果一样)       2.Shift+F8                     调试时弹出CPU窗口。       3.Shift+F1

2006-09-19 12:15:00 928

原创 C#中使用SQL Server分布式管理对象(SQL-DMO)(有改动)

我们曾经在以前的应用中多次需要得到SQL Server的详细信息,过去,我们必须使用API和效率低下的ADO的 调用才能得到,现在,我们有了一个新的方法,就是SQLDMO(SQL Distributed Management Objects,SQL分布式管 理对象),尽管它目前还不被人所知和使用,但是SQLDMO提供了许多强有力的、和利用代码从SQL Server获得 信息相类似的许多功能,为举例

2006-09-15 11:49:00 1107

转载 C#中利用ADO.NET连接和查询SQL数据库

using System.Data;using System.Data.SqlClient;...SqlConnection sqlCon = new SqlConnection("Data Source=(local);Initial Catalog=pubs;User ID=sa;Password= ");//Data Source为服务器;Initial Catalog为数据库;sqlC

2006-09-14 17:17:00 2182

原创 C#中使用SQLDMO的StoredProcedure对象(存储过程)创建数据表

                .......                SQLDMO.StoredProcedure strProc = new SQLDMO.StoredProcedure();                // Assign a name to stored procedure                strProc.Name = "createCustomerT

2006-09-13 13:56:00 1697

原创 C#中操作鼠标对象Cursor

改变鼠标指针形状:  Cursor.Current = Cursors.WaitCursor;  try  {    .. do some work ..  }  finally  {    Cursor.Current = Cursors.Default;  } 相关网址:http://www.codeproject.com/cs/miscctrl/WaitCursor.asp

2006-09-13 12:19:00 14589

转载 Delphi中如何点击DBgrid中的一行,而获取选中行的各字段的值

你点中它就已经选中了该条记录,直接取就可以了。 如你用query1连的:           s:=query1.fieldbyname(name).asstring;     就是取的当前记录的值了。  

2006-09-13 11:30:00 13591 1

转载 墨绿是谁?

摘自CSDN墨绿                ·万精油·  墨绿的出现,同时震惊了中日韩三国棋院,一个共同的问题是:墨绿究竟是谁?                ——人民日报体育版2005年9月10日  看着《人民日报》的这篇报道,我心里充满了喜悦,自豪和得意。这世界上除我之外再没有第二个人知道墨绿的真实身份了。                一.引子  话要从大约十年前说起。由IBM科研小组研

2006-09-12 09:10:00 1829

原创 如果数据表或字段名是SQL关键字怎么办

比如最常见的USER作为表名,用SQL语句“select * from USER”查询就会出现如下错误:在关键字 USER 附近有语法错误 可以用[ ]避免出现这样的错误,即:将SQL语句改正这样“select * from [USER]”

2006-09-11 16:39:00 6711 1

原创 C#如何让SaveFileDialog框访问本地网络中其它电脑的“我的电脑”(未解决)

我在C#中用SQLDMO新建数据库,遇到了一个问题:数据库文件的保存路径问题    先选定本地网络中的一个SQL服务器(DATASRV),之后在其上新建一个数据库,创建过程中有一个参数:PhysicalName是指定数据库文件(.MDF)的存放路径,假设指定为D:/TEMP/TEST.MDF则是保存在服务器(DATASRV)的D:/TEMP/下。    用字符串的方式指定没有问题,可以在服务器的指

2006-09-10 10:48:00 1851

原创 C#中给自写函数加提示型注释

VS2005的代码编辑器的提示功能很强,在我们的程序中经常会自己写一些函数,在调用这样的自写函数时如何出现提示呢?        ///              ///   创建数据库。           ///           ///   表示要连接的服务器名        ///   指定要创建的数据库名         /// 返回值        private string

2006-09-08 14:13:00 2124

原创 C#操作EXCEL

将 Excel 程序集作为引用添加到项目中:在“解决方案资源管理器”中找到“引用”右击,选择“添加引用”。单击“添加引用”对话框的“COM”选项卡,找到“Microsoft Excel 11 Object Library”。 双击“Microsoft Excel 11 Object Library”,然后按“确定”。 注意:Microsoft Excel 11 Object Libra

2006-09-07 08:51:00 3526 1

转载 C#主窗体和子窗体之间如何相互操作对方的控件

原文地址:http://blog.csdn.net/knight94/archive/2006/03/18/628285.aspx很多人都苦恼于如何在子窗体中操作主窗体上的控件,或者在主窗体中操作子窗体上的控件。相比较而言,后面稍微简单一些,只要在主窗体中创建子窗体的时候,保留所创建子窗体对象即可。 下面重点介绍前一种,目前常见的有两种方法,基本上大同小异:第一种,在主窗体

2006-09-04 15:44:00 4751

转载 用C#压缩和修复Access数据库

介绍       下面这段C# 代码可以用来压缩和修复Access数据库,不管它是一个简单的".mdb"还是一个".mdw"网络共享数据库,这个过程和你在用MS Access应用程序中使用的"工具-数据库实用工具-压缩和修复"时执行的操作完全一样.实例代码使用了"迟绑定"(运行中在内存中建立COM对象),这样就不需要在工程中加入COM引用了,也不需要在PC上安装MS Access应用程序.

2006-09-01 09:50:00 1025

转载 用C#创建access文件

1. ※新建工程 ※进入解决方案->引用->添加引用 选择com标签 下的microsoft ado ext.2.8..... ->选择-> OK ※编码 //命令行工程代码如下 using System; using ADOX; namespace ConsoleApplication1 { class Class1 { [STAThread] static void Main(string[]

2006-09-01 09:44:00 2333

C++ How to Program, 10th Edition, 2016, by Paul Deitel, Harvey

英文第10版 Introducing the New C++14 Standard Preface Welcome to the C++ computer programming language and C++ How to Program, Tenth Edition. We believe that this book and its support materials will give you an informative, challenging and entertaining introduction to C++. The book presents leading-edge computing technologies in a friendly manner appropriate for introductory college course sequences, based on the curriculum recommendations of two key professional organizations—the ACM and the IEEE.

2023-05-20

A Tour of C++ - Stroustrup, Bjarne - Addison Wesley Professional

英文版 第二版 In A Tour of C++ (2/e), Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide covers most major language features and the major standard-library components―not, of course, in great depth, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started.

2023-05-20

Getting Started with Data Warehousing

Data warehousing software works to manage a repository of large amount of data. It includes a series of features and functions that allow for easier reporting and analysis. IBM uses its InfoSphere Warehouse product to support data warehousing. InfoSphere Warehouse is based on the DB2 database server.

2015-03-19

Microsoft_SQL_Server_2008_A_Beginner's_Guide 英文版

Microsoft SQL Server 2008: A Beginner’s Guide follows three previous editions that covered SQL Server 7, 2000, and 2005. Generally, all SQL Server users who want to get a good understanding of this database system and to work successfully with it will find this book very helpful. (If you are a new SQL Server user but understand SQL, read the section “Differences Between SQL and Transact-SQL Syntax” later in this introduction.) This book addresses users of all components of the SQL Server system. For this reason, it is divided into several parts: users who want to learn more about the relational database component called Database Engine will find the first three parts of the book the most useful. The fourth part of the book is dedicated to business intelligence users who use either Analysis Services or relational extensions concerning BI. The last part of the book provides insight for users who want to use XML data and/or spatial data.

2009-03-31

LINQ Unleached For C Sharp(2/2)

共2个压缩包,这是第2个 About the Author Paul Kimmel is a four-time Microsoft MVP, the author of over a dozen books on object oriented programming and UML, including three books on Microsoft .NET, a columnist for codeguru.com, developer.com, informit.com, devsource.com, and devx.com, a cofounder of the Greater Lansing Area .NET Users Group (glugnet.org, East Lansing and Flint), a full-time software developer, and sometimes pilot. Paul still lives and works in the greater Lansing, Michigan, area (and hasn’t given up on the economy). After 15 years of independent consulting, Paul now works for EDS as an application architect.

2008-12-05

LINQ Unleached For C Sharp(1/2)

共2个压缩包,这是第1个 Foreword Data affects just about every aspect of our lives. Everything we do is analyzed, scrutinized, and delivered back to us in the form of coupons and other marketing materials. When you write an application, you can be sure that data in one form or another will be part of the solution. As software developers, the ease with which we can store, retrieve, and analyze data is crucial to our ability to develop compelling applications. Add to that the fact that data can come in a number of different shapes and formats, and it quickly comes to light that there is tremendous value in a consistent framework for accessing many types of data. Several different data access approaches have been developed for Windows developers over the years. ADO and OLEDB and subsequently ADO.NET gave us universal access to relational databases. MSXML and ADO.NET made it possible to inspect and manipulate XML documents. Each of these technologies had their benefits and drawbacks, but one common thread ran through each of them: They failed to deliver data access capabilities in a way that felt natural to developers. LINQ now makes data access a first-class programming concept in .NET, making it possible for developers to express queries in a way that makes sense to developers. What makes LINQ unique is that it enables programmers to create type-safe data access code complete with Intellisense support and compile time syntax checking. Paul Kimmel has done an excellent job of presenting LINQ in a concise and complete manner. Not only has he made LINQ approachable, but he has also masterfully explained concepts such as Anonymous Types and Lambda Expressions that help make LINQ a reality. The sample code throughout the book demonstrates the application of the technology in a clear and meaningful way. This is a great “Saturday morning with a pot of coffee” kind of book. I hope you’ll dive in and get as much out of this book as I did. Darryl Hogan Architect Evangelist, Microsoft

2008-12-05

Illustrated C# 2005.pdf(3/3)

共3个RAR包,这是第三个<br>

2007-10-17

Illustrated C# 2005.pdf(2/3)

共3个RAR包,这是第二个

2007-10-17

Illustrated C# 2005.pdf(1/3)

请注意: 共3个RAR包,这是第1个 Publisher's description Illustrated C# 2005 doesn’t use the traditional dense prose format of most programming texts. Rather, it presents the C# programming language in a unique visual manner. The book uses three techniques to achieve this: concise text; tables that clarify and summarize language features; and frequent figures and diagrams. Each feature is also illustrated with concise, focused code samples. The book starts with an overview of the .NET platform and the role played by C#, then quickly delves into the language. It covers the entire C# language, including new features added in C# 2.0 as well as the most complex topics. It’s an ideal read if you’re a migrating C++ or VB programmer who already knows how languages work. Despite its title—which might give the impression that it’s a lightweight treatment of the language—this book is anything but. With its clean visual format, you’ll be able to learn the material more quickly and retain it better than you would with a typical C# 2005 book. Even experienced programmers may come away from it with a deeper understanding of the language

2007-10-17

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除