摘要:废话少说,看程序就明白了。 using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { /**//// /// C#转换操作符号学习 /// public sealed class MyCls { ...
阅读全文
阿牛 - 专注.NET开发如果梦想与实现之间有一道不可逾越的鸿沟,那么“执行力”就是跨越这道鸿沟的桥梁。 |
|
05 2008 档案
摘要:废话少说,看程序就明白了。 using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { /**//// /// C#转换操作符号学习 /// public sealed class MyCls { ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class MyCls { public int X { get; ...
阅读全文
摘要:USE AdventureWorks; GO IF EXISTS (SELECT name FROM sys.objects WHERE name = N'SaveTranExample') DROP PROCEDURE SaveTranExample; GO CREATE PROCEDURE SaveTranExample @InputCandidateID...
阅读全文
摘要:C#代码: SqlConnection conn = new SqlConnection("Data Source=192.168.1.200;Initial Catalog=PBCRM;Persist Security Info=True;User ID=sa;Password=123456"); conn.Open(); SqlTrans...
阅读全文
摘要:http://www.javaeye.com/forums/board/Java
阅读全文
摘要:面试过程中,面试官会向应聘者发问,而应聘者的回答将成为面试官考虑是否接受他的重要依据。对应聘者而言,了解这些问题背后的“猫腻”至关重要。本文对面试中经常出现的一些典型问题进行了整理,并给出相应的回答思路和参考答案。读者无需过分关注分析的细节,关键是要从这些分析中“悟”出面试的规律及回答问题的思维方式,达到“活学活用”。 问题一:“请你自我介绍一下” 思路: 1、这是面试的必考题目。 2...
阅读全文
摘要:ExecuteReader requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. 同一个connection,在update的command上启动了一个transaction,后面一个查询的command,没...
阅读全文
摘要:CommandBehavior.CloseConnection的作用,先看一下面的代码: SqlDataReader sqlread = sqlcom.ExecuteReader(CommandBehavior.CloseConnection);//这里设置了SqlDataReader的CommandBehavior为CloseConnection return sqlread; 说明...
阅读全文
摘要:declare @null varchar(1); set @null = null; if (@null is null) begin print 'is null always works not matter "ANSI_NULLS" variable '; end set ANSI_NULLS OFF if (@null = null) begin print '...
阅读全文
|