Programming 笔记

工作中遇到的问题就记载这里

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年3月2日

摘要: intNights * intRoomRate 'overflowintNights = 90intRoomRate = 600integer 大小是-32,768 and 32,767 阅读全文
posted @ 2006-03-02 08:52 IT 笔记 阅读(294) 评论(0) 推荐(0) 编辑

摘要: 这个ACCESS 程序可以根据旅客入住日期和离开日期取出这段时间旅馆是什么季节,(繁忙季节价格就高点).FORM里date format 是 6-May-06(dd-mmm-yy). 可进到SQL STATEMENT, 就把5月6号变成 6月5号了. 把月份和日期搞混了. SQL STATEMENT 里面的日期必须写成06/05/06 (mm/dd/yyyy). 那我就得自己转换日期去合格格式,... 阅读全文
posted @ 2006-03-02 07:24 IT 笔记 阅读(550) 评论(0) 推荐(0) 编辑

2006年2月28日

摘要: 几天前, 电脑启动,进入WINDOWS 系统时, 屏幕出现一个小窗口显示lsass.exe System Error Object name not found.点关闭或者OK, 计算机从新启动. 用SAFE MODE, 也是一样.lsass.exe is a key process of windows xp. So system cannot load properly without thi... 阅读全文
posted @ 2006-02-28 14:38 IT 笔记 阅读(1481) 评论(0) 推荐(0) 编辑

2006年2月17日

摘要: exec sp_changedbowner 'Aambriore\mra' EXEC sp_change_users_login 'Auto_Fix', 'lts', null Exec sp_change_users_login 'Auto_Fix','dbo' EXEC sp_change_users_login 'Update_One', 'dbo', 'Aambriore\mra' sel... 阅读全文
posted @ 2006-02-17 11:53 IT 笔记 阅读(347) 评论(0) 推荐(0) 编辑

摘要: Server Error in '/TradingSystem.WebService' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please... 阅读全文
posted @ 2006-02-17 08:38 IT 笔记 阅读(318) 评论(0) 推荐(0) 编辑

2005年11月30日

摘要: #If...Then...#Else Directives Conditionally compiles selected blocks of Visual Basic code.#If expression Then statements [ #ElseIf expression Then [ statements ] ... #ElseIf expression Then ... 阅读全文
posted @ 2005-11-30 05:26 IT 笔记 阅读(847) 评论(0) 推荐(0) 编辑

摘要: Option Strict on Visual Basic .NET generally allows implicit conversions of any data type to any other data type. Data loss can occur when the value of one data type is converted to a data type with ... 阅读全文
posted @ 2005-11-30 05:06 IT 笔记 阅读(2286) 评论(2) 推荐(1) 编辑

2005年9月13日

摘要: Executing Stored Proceduresusing System;using System.Data;using System.Data.SqlClient;class StoredProcDemo{static void Main(){StoredProcDemo spd = new StoredProcDemo();// run a simple stored procedur... 阅读全文
posted @ 2005-09-13 22:01 IT 笔记 阅读(383) 评论(0) 推荐(0) 编辑

摘要: ADO Connection using System; using System.Data; using System.Data.SqlClient; /// /// Demonstrates how to work with SqlConnection objects /// class SqlConnectionDemo { static void Main() { ... 阅读全文
posted @ 2005-09-13 21:58 IT 笔记 阅读(526) 评论(0) 推荐(0) 编辑

摘要: 参考:Abstract and Sealed Classes and Class Members (C# Programming Guide).public abstract class A{ // Class members here.}abstract :必须被继承.public abstract class A{ public abstract void DoWork(int i... 阅读全文
posted @ 2005-09-13 20:41 IT 笔记 阅读(2035) 评论(1) 推荐(0) 编辑