最新评论
可見做ERP實在太累了,不是人幹的,能不做最好別做
--引用--------------------------------------------------
lexus: RS是什么report service?
--------------------------------------------------------
是,内容中也已经注释好
--引用--------------------------------------------------
3k: 后面结合设定能编辑列的样式,做出来的效果就像是在Excel中编辑数据一样。可以一次编辑多行多列,一次更新。
能给个Demo吗?
--------------------------------------------------------
你到MSDN的下一个介绍VS2005 DataGrid的WebCast看看就行了,我看到是介绍VB新功能的,那个讲师好像姓施
re: RS及VS2005使用技巧记录 3k 2008-07-02 20:44
后面结合设定能编辑列的样式,做出来的效果就像是在Excel中编辑数据一样。可以一次编辑多行多列,一次更新。
能给个Demo吗?
re: RS及VS2005使用技巧记录 lexus 2008-07-02 20:15
RS是什么report service?
re: A Happy Weekend Connie 2008-05-30 22:51
I am correcting your draft at work so can’t type in Chinese this time.
After finished supper, I took a break by lying a very soft quilt, and then, I took a walk outside.
After supper, I took a break by lying on a very soft quilt. Then, I took a walk outside.
(This is called a “run-on” sentence. A run-on sentence is connecting two different sentences into one sentence without using a connection word. Here you can fix it by simply breaking the long sentence to two simple sentences. Remember, one sentence should only contain one subject and one verb)
The air was flesh after rain and I felt very comfortable.
The air was fresh and comfortable after a rain.
(“flesh” is not a correct word. Change it to “fresh” and look up both words in the dictionary. “Comfortable” is an adjective to describe the air.)
Then, I have practiced my spoken English for 45 min.
After the short walk, I practiced my English speech for forty-five minutes.
(Same as in Chinese, we try to avoid using the same word too many times in a short assay. You’d just used “then” at the beginning of your draft so change it here a little bit will make your draft read better. This is a simple past tense sentence so “have practiced” is not appropriate here.)
After that, I listened to music.
I listened to music afterwards. (Restructure the sentence a little so it doesn’t look the same as the last sentences)
I happened to listen to a song that I loved very much.
I heard a song that I loved very much.
Because the song isn’t clear, I wanted to download it from internet.
Because the song wasn’t clear, I wanted to download it from the internet. (You might want to go back to the “I listened to the music” and specify where you were listening the music from.)
When the download was finished, I found that the song without lyric.
When the download completed, I realized that I downloaded the no-lyric version.
Noticed that there wasn’t other colleagues in office, I sang the song follow the music.
Noticed that no colleagues were in the office, I sang the song by following the music.
I had a good time at this weekend.
I had a good time this weekend.
re: My Ideal Job Connie 2008-05-30 07:26
这类议论性的文章一开始就应该先阐明你的论点,用一到两句句子来说明。
First of all, the job must be my favor.
First of all, this job must be in my best interests.(”idea”和“favor”有相同的意思。所以你应该直接的表达为你最感兴趣的工作。
I will feel invigorated at work.
I should be invigorated when I am working.
Secondly, it is well pay.
Secondly, I must be well paid. (被”paid”的是你而不是工作。)
This item is necessary for me and my family to live a comfortable life.
This is very important to me and my family for living a comfortable life.
Thirty, I will feel very successful when I finish the job.
Thirdly, I should have the feeling of accomplishment when I complete each project.
Fourthly, I will improve my ability thought the job.
Fourthly, I should be able to improve my skills through working.
Lastly, the working environment must be free and comfortable and the relationship with colleague must be harmonic.
Lastly, the work environment must be free and comfortable, and the relationship among colleagues must be harmonic.
Thinking of the first item of my ideal job, I am not very clear what I love to do.
However, when I think back to the first item on my list, I found myself not too sure what do I really love to do. (这里应该用一个转折词”However”,因为这里转折了前面你所说的意思. “not clear”通常说的是表达得不清楚,而你自己不肯定应该用“not sure”来表示。)
I have a passion for computer game and cartoon but I am not sure whether I like programming game and drawing cartoon.
I love to play computer games and watch cartoons but I am not sure whether I would like to be a Game Programmer or a Cartoon Artist.
re: Reading A Book Named Connie 2008-05-29 08:42
I am reading a book named< Three Days to See > recently.
I recently read the book "Three Days to See". ("recently" 用作修饰 "read" 所以应该用在“read"的邻近。而从全文看来你已经看完了这本书,所以改作过去式。如果你还没看完,因该用“I have been reading",然后把“Recently,"放在开头。
The book is about the story of a girl named Helen Keller.
It is a story about a girl named Helen Keller. (这样表达更简练一些。因为前面一句已经说了这是“a book", 所以后面用“it"来表示就行了)
She can’t see anything, can’t listen any thing, and can’t say anything. But her optimism and adamancy really got to me.
She was blind, deaf and mute but she was very optimistical and strong. (凡是转折句之间不能使用句号,因为是同一句话。你用了"but",所以这是一个转折句。但是从意思上看,“got to me"并不转折前半句的意思,转折的是“optimism and adamancy". "optimism"是一个名词,我改成了形容词,“adamancy"是用来形容物品的坚硬而不常形容人,所以用“strong"更合适。
Her deformity couldn’t keep her away from enjoying her life.
"deformity"改成复数
In fact, the life which she decrypted in her book is rich and
colorful.
Her life that was describe in the book was nice and fun. ("In fact"是转折词,但是这句不转折前句的意思,所以去掉。“decrypted"用错了。"rich and colorful"不是这样用的,这是用中文直译词义,英文里不这样说。再找一个形容词。这本书是作者写的,Helen Keller并不一定就是作者自己,所以不能说是“her book")
Maybe the fate is unfair for her, But her indebted sensibility overflow her book.
Although the fate is unfair to her, the readers can sense her thankfulness from the book. ("overflow"不是这样用的。
"indebted"也不是这样用的。)
re: VB.NET中IF与IIF的区别 没剑 2008-04-18 10:55
记住了~
re: Winform下DataGrid使用技巧总结 herohlq@hotmail.com 2006-09-20 16:48
你好,我现正急需这方面的资料,用于录入主从表数据,
您能发一份源码到我由箱里吗?谢谢。。。
VS.NET 2003 + SQL2000
re: 多语言版本项目开发小结 cfans 2006-06-30 16:25
以前用过一个javascript脚本。那个也挺方便的。
你好,我现正急需这方面的资料,用于录入主从表数据,
您能发一份源码到我由箱里吗?谢谢。。。
VS.NET 2003 + SQL2000
yizhihoo@hotmail.com
re: 存储过程中的事务实现 与雪共舞 2005-11-27 20:43
to 玉开
我个人认为在存储过程中实现比较好,在程序中使用SqlTransaction会造成性能损失比用存储过程实现大。
“执行多个存储过程那肯定是要在程序中实现”
我不大明白你为什么这么想,你可以说说吗。
re: 使用企业程序库的两点体会 与雪共舞 2005-11-25 14:08
谢谢各位。
我想问为什么企业程序库不直接在%windir%\Microsoft.NET\Framework\v1.1.4322里找installUtil.exe 。是不是这个路径也有不确定的时候。
对C/S结构的应用程序,怎么在部署的时候注册这些DLL。
re: 存储过程中的事务实现 玉开 2005-11-25 10:59
请问搂住,事务在存储过程中可以实现在程序中也可以实现,在哪儿实现好呢,前提是程序中只执行一个存储过程。
如果要执行多个存储过程那肯定是要在程序中实现的
re: 使用企业程序库的两点体会 uGoer 2005-11-25 09:37
企业库 2.0版本在部署方面所有改变,你可以关注一下
re: 使用企业程序库的两点体会 hyphappy 2005-11-25 09:01
主要是没有注册企业库几个dll造成的,会引发安全性异常。因为没有注册事件源,所以在使用过程中不允许记录到Windows的事件日志中。
对这些DLL执行installUtil.exe 就可以
re: 使用企业程序库的两点体会 阿不 2005-11-25 08:23
你可以把installservice.bat的批处理改写一下.
详细可以看我关于<<Enterprise Library 服务问题>>的Post
http://hjf1223.cnblogs.com/archive/2005/10/14/254706.html
你只需要把上面的处理复制下来放在bat文件就成了.记住BAT文件要放在与Entb的程序集同一个目录下
re: 使用企业程序库的两点体会 与雪共舞 2005-11-24 22:08
请问如何向它提供net下InstallUtil.exe的运行路径
re: 使用企业程序库的两点体会 qigo4c 2005-11-24 21:03
需要vs 2003的路径是因为,installservice.bat中,它需要寻找vs里面的vsvars32.bat,以提供.net下InstallUtil.exe的运行路径,完全不需要装vs 2003
re: VB.NET中IF与IIF的区别 江千帆 2005-09-28 09:15
IIF并不是完全没有用,它有它的特色。比如直接返回常量
a=iif(LogicPart,1,2)
在这个时候IIF语法就比IF清晰得多,而且效率更高。
re: VB.NET中IF与IIF的区别 linkcd 2005-09-27 09:53
这个道理在vb里面and/andalso, or/orelse差不多.
所以, 写vb的时候,记得只用andalso, orelse呀!
re: VB.NET中IF与IIF的区别 aresgj 2005-09-27 09:00
同意,在数据库开发中用iif有的时候就很难查到错误原因,原来它对每个表达式都会进行计算,如果某一项为dbnull则就会跑出异常,所以在进行数据为空判断是应该用if的形式,而不应该用iif!
re: VB.NET中IF与IIF的区别 学海无涯,回头是岸 2005-09-27 00:05
他们不仅有差别,而且就你列举的这个例子
方法2(用IIF判断)是错误的用法,这种情况只能用方法1(用IF判断)
因为使用IIF时,不管expression(第一个参数)是真还是假,后面的truePart和falsepart都会进行计算,如果obj是DBnull的化,那么执行Convert.ToInt32(obj)的时候就会抛出异常的
re: VB.NET中IF与IIF的区别 exhjw 2005-09-26 22:29
To Ninputer
why?
re: VB.NET中IF与IIF的区别 Ninputer 2005-09-26 18:26
IIf的性能比If差百倍,最好不要使用。
re: 存储过程中的事务实现 与雪共舞 2005-07-13 21:04
To 小猫头
不大明白你的意思。
下面是从SQL联机帮助查到的资料,希望可以回答你的问题:
如果 Transact-SQL 语句执行成功,则 @@ERROR 系统函数返回 0;如果此语句产生错误,则 @@ERROR 返回错误号。每一个 Transact-SQL 语句完成时,@@ERROR 的值都会改变。
因为每个 Transact-SQL 语句执行完毕时,@@ERROR 都会得到一个新的值,@@ERROR 可用以下两种方法处理:
1.在 Transact-SQL 语句后,马上检测或使用 @@ERROR。
2.在 Transact-SQL 语句完成后,马上把 @@ERROR 存储到一个整型变量中。此变量的值可供以后使用。
@@ERROR 通常用于表示存储过程的成功或失败。整型变量初始化为 0。完成每个 Transact-SQL 语句后,都要测试 @@ERROR 是否为 0。如果 @@ERROR 不是 0,将被存储在变量中。存储过程然后在 RETURN 语句中返回变量。如果过程中的 Transact-SQL 语句都没有错误,变量保持为 0。如果一个或多个语句生成错误,则变量包含最后的错误号。
re: 存储过程中的事务实现 小猫头 2005-07-13 17:50
begin tran
/*要实现的操作*/
commit tran
if @@error>0
rollback
这段是不是应该先判断@@error的值,然后再commit或者rollback,没有做过这个,呵呵,熟悉的人请告诉我一下
re: 存储过程中的事务实现 ghostzxp 2005-07-08 22:58
我也存在误区阿,也仅以为存储过程是隐式事务而已
re: 存储过程中的事务实现 蛙蛙池塘 2005-07-08 14:16
基本能看懂,呵呵,博客园的人都是有经验的牛人呀,呵呵