摘要:
--for 2005 select * from sys.index_columns where object_id = object_id('MyTable') --for 2000 and 2005 select * from sysindexkeys where id = object_id('MyTable') 参考MSDN: http://msdn.microsoft.com/... 阅读全文
摘要:
--for 2005 select * from sys.index_columns where object_id = object_id('MyTable') --for 2000 and 2005 select * from sysindexkeys where id = object_id('MyTable') 参考MSDN: http://msdn.microsoft.com/... 阅读全文
摘要:
软件架构师是软件行业中一种新兴职业,工作职责是在一个软件项目开发过程中,将客户的需求转换为规范的开发计划及文本,并制定这个项目的总体架构,指导整个开发团队完成这个计划。 架构师的主要任务不是从事具体的软件程序的编写,而是从事更高层次的开发构架工作。他必须对开发技术非常了解,并且需要有良好的组织管理能力。可以这样说,一个架构师工作的好坏决定了整个软件开发项目的成败。 软件架构师的职责是把需求... 阅读全文
摘要:
废话少说,看程序就明白了。 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 '... 阅读全文
摘要:
开发环境:Win XP SP2, VS2005, Office 2003. 报错环境:Win 2003 SP2,.NET2.0框架,无Office. 问题发现:ASP.NET程序用模板的方法操作Excel,Server上没有安装Office,用OLEDB操作Excel时,只支持低版本Excel的格式,但我用的模板是我机子上建立的,Excel 2003的格式,所以报错 解决方案:将Excel模... 阅读全文
摘要:
exec msdb.dbo.sp_send_dbmail @recipients= 'rockniu@gmail.com', @copy_recipients = 'rock.niu@axisoft.com.hk', @profile_name = 'PBCRM_Mail_Account', @subject = 'Database ... 阅读全文
摘要:
方法一 System.Web.Mail名字空间下的SmtpMail.Send(MailMessage mail)静态方法 这种方法最为简单,是.NET1.1中常用的方法,一般的SMTP服务都能支持。 方法二 System.Net.Mail名字空间下的SmtpClient.Send(MailMesasge mail)实例方法 这是.NET2.0里推荐的方法,它更加灵活,但写起来复杂一点。像G... 阅读全文
|