摘要:When I execute the command belowCREATE TABLE [CST_SAY3] ( [BAS_ID] [int], [PRO_DETAIL] [Nvarchar] (4000) , [REMARK] [Nvarchar] (3000)) ON [PRIMARY]GOIt will make a warningWarning: The t...
阅读全文
摘要:I am now using FxCop to check my C# code,yeah,it is a good code analysis tool.I can use it to fix many low mistakes in my code.It is very interesting to use it to analyze the FxCop.exe itself, in the ...
阅读全文
摘要:Recently I am reading the C# Reference in the VS2005 help.It is very efficient for me to solidify my basic knowledge about C#.I recorded something that I didn't attend to, today is about reference ty...
阅读全文
摘要:HttpModules allow we to extend the existing ASP.NET pipeline. The most common use of HTTPModules is pre and/ore postprecessing of requests.From the article we can understand the principle, there is a...
阅读全文
摘要:I tested the way to make a global application with Asp.net 2.0Share it now and looking forward to receiving your feedback and directions.1、Create the resource file in Resources folder Japanese(Shared...
阅读全文
摘要:I was unable to debug asp.net project in VS2003 today,because I installed VS2005 Beta. There is a error message that I got************************Microsoft Development Environment*********************...
阅读全文
摘要:In visual web developer 2005 Express edition, if we want to add a class we have to add a folder named “Code”, otherwise we can’t use the class. Gradually we can add folders in Code folder freely to cl...
阅读全文
摘要:I installed the visual web developer 2005 express edition beta in company today,one month ago I have done it at home and surprised that it can run with VS.2003in one system without infection. So I can...
阅读全文
摘要:We code every day but maybe we don't know the base theory clearly.The below example is about virtual method in C#,what is the correct output?Be frank with you,I don't comprehend the "Virtual methods" ...
阅读全文
摘要:In Asp.NET , when we want to create a modal dialog box we can use the javascript like vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])Detail in MSDN. But there is a problem,if ...
阅读全文
摘要:Today I first used the sort method of ArrayList in C#. In order to sort the data under my business logic I designed a class inherit the IComparer interface,then I realized the method -- Compare of the...
阅读全文
摘要:http://europe.webmatrixhosting.net/Here you get:1. 20MB for files(your application and temporary files).2. 10MB in SQL Server database.3. Remote access to site via FTP4. Remote access to SQL via MMC.
阅读全文
摘要:When you change the name of the computer that is running SQL Server2000, the new name is recognized during SQL Server startup. You do not have to run Setup again to reset the computer name. You can c...
阅读全文
摘要:今天在写对数据库操作的程序的时候,犯了个低级错误,记下以示提醒自己,绝不能在同一个地方跌倒。错误如下:string strCol1 = ....................strSQL = "INSERT INTO TBL_TEMP(col1,col2) VALUES('" + strCol1 + "','test' )";数据库是 Excel (使用oleDB)程序中居然没有对 变量 str...
阅读全文
摘要:近段时间一直在维护修改一个package(Asp.net + C#+SQLServer),在动态生成Excel文件方面有些心得。我现在只知道两种方法1,Server 端存在 Excel 文件,也就是模板。 复制模板,取得要显示的数据,以操作表的形式,将数据写入Excel 。关于 操作方法 原来的Post上面有,在此不详细说明了。2,Server端无模板,通过 xslt 和 xml 转化成 Ex...
阅读全文
摘要:In the VB.NET world , when we declare a function we can use "optional" to set a default value to a variant .I want to have the same result in C# today , because there is no keyword like "optional" in ...
阅读全文
摘要:项目中又要用到Excel,结构非常复杂,正在寻找别的处理方法,发现通过 XML,XLST可以随心所欲,正在研究。http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319180
阅读全文
摘要:最近一直在http://www.asp.net 逛,还碰到找人做项目的(游戏方面的),呵呵。http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=575960
阅读全文
摘要:刚解决一个关于Excel的问题。要求:ASP.NET中使用既存Excel模板 把数据 写入 Excel,然后 DownLoad下来。 难点:有部分字段需要动态添加,还要保持模板中的格式(颜色、线)不变。PS:blog中怎么贴图? 实现:1,报Excel作为一张表来处理(Excel中定义好的Range,定义的Range名就是表名),在模板中设定好Field(字段)。2,操作Excelstring s...
阅读全文
摘要:http://msdn.microsoft.com/vbasic/atthemovies/ Try to watch it !
阅读全文