YongGang Meng's Weblog


Welcome to Weblog

Browse by Tags

All Tags » Asp.net (RSS)
Problem about SQLite and Linq to Entities
I have a web project developed in VS2008, which use System.Data.SQLite for .Net 2.0 and Linq to Entities to access data. Here is the source layout: You can see that i have a SQLite database Test_DB.db3 in SQLite folder. In my develop machine, i use connectiongstring...
Export data to excel or word
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: Mar 04 2009, 02:14 PM by Ralax | with 1 comment(s)
Filed under: , , ,
How to invoke PageMethods in MasterPage
I have a web project, in the project, there is a MasterPage and some WebContentPages. In the MasterPage, there is a function, when you click a button, show or hide the left content.When you refresh or navigate other WebContentPage, the left content keeps...
Posted: Nov 13 2008, 07:51 PM by Ralax | with 6 comment(s)
Filed under: , , , ,
ModelPopupExtender的一个问题解决方案
最近用ModelPopupExtender时,总是提示我有 Sys.InvalidOperationException 未通过 Sys.UI.DomEvent.addHandler 的错误,后来发现是我设置了CancellControlID,而没有设置相应的事件,我是通过在服务器端Show和Hide来控制的,这样脚本在寻找CancellControlID的时候就找不到了,就为null,在脚本中就会抛出以上错误。所以,如果我们要在服务器端控制ModelPopupExtender,不要设置ControlId就可以了...
Posted: Nov 07 2008, 11:22 PM by Ralax | with 2 comment(s)
Filed under: , , , ,
Asp.Net Web开发需要了解的知识
很久没有做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: Nov 06 2008, 08:45 PM by Ralax | with 2 comment(s)
Filed under: , ,
A question about Page Header
When you add a Literal control to Page Header, for example: <head runat="server"> <asp:Literal runat="server" ID ="literal" >Literal Test!</asp:Literal> <title>Untitled Page</title> </head> When you browser the page...
Posted: Oct 02 2008, 04:45 PM by Ralax | with 3 comment(s)
Filed under: ,
More Posts