Browse by Tags

All Tags » .Net (RSS)
Today, I saw an article about Equals and ==, something confuses me. http://forums.asp.net/t/1511559.aspx So I do it myself.   1: static void Main( string [] args) 2: { 3: DoEQ(); 4: Console.ReadLine(); 5: } 6:   7: private static void DoEQ(...
Posted by Yonggang Meng | 12 comment(s)
Filed under: , ,
We all know that CommandArgument Property can remember value or index, but sometimes, there's nothing in it, do you know why? Today, i study for a while, and i find the following two ways. Use <asp:ButtonField CommandName="CMD" />, the CommandArgument...
Posted by Yonggang Meng | 2 comment(s)
Filed under: , , , ,
If you want to know what an assembly does, you can use Reflector to refactor the assembly and check the codes. If you want to know why binding assembly failed, you can use Assembly Binding Log Viewer to check it. Also you should set HKLM\Software\Microsoft...
Posted by Yonggang Meng | 1 comment(s)
Filed under: ,
Client to receive message sent by server: 1: using System; 2: using System.Collections.Generic; 3: using System.ComponentModel; 4: using System.Data; 5: using System.Drawing; 6: using System.Linq; 7: using System.Text; 8: using System.Windows.Forms; 9...
Posted by Yonggang Meng | 23 comment(s)
Filed under: , , ,
Recently, we need import some data from excel to  Oracle database. A strange thing confused me. The excel file has a column, for example PhoneNumber, the format is 999999, here are some example data: 123456 234561 345612 456123 561234 612345 000123...
Posted by Yonggang Meng | 3 comment(s)
Filed under: , , ,
In the actual develpment, we offen encounter such a problem about exporting data to excel or word, especially excel. I can export data to excel from gridview, but i can not apply styles to the excel cell. Last week, i found how to set the style. For example...
Posted by Yonggang Meng | 5 comment(s)
Filed under: , , ,
最近用ModelPopupExtender时,总是提示我有 Sys.InvalidOperationException 未通过 Sys.UI.DomEvent.addHandler 的错误,后来发现是我设置了CancellControlID,而没有设置相应的事件,我是通过在服务器端Show和Hide来控制的,这样脚本在寻找CancellControlID的时候就找不到了,就为null,在脚本中就会抛出以上错误。所以,如果我们要在服务器端控制ModelPopupExtender,不要设置ControlId就可以了...
Posted by Yonggang Meng | 3 comment(s)
Filed under: , , , ,
很久没有做Web开发了,本以为有以前的基础加上WinForm的开发经验,Web应该不是什么问题的,应该很Easy。但是现在我发现我错了,Web开发已经不是简单的事情了。现在Web开发出来的一些优秀产品已经比较接近WinForm了,这就提高了Web开发的门槛。所以,现在如果我们想做好Web的开发,至少应该了解以下几方面的开发知识: Asp.Net Asp.Net Ajax Asp.Net Ajax Client Library Asp.Net Ajax Future Controls and Ajax...
Posted by Yonggang Meng | 4 comment(s)
Filed under: , ,
More Posts