摘要:
Using PageMethods to access Session data Here is one of the samples I was asked for at TechEd last week. How to access session state data from the browser. There are two C# methods in the page. On... 阅读全文
2007年5月23日 #
摘要:
PageMethods介绍原文地址:http://metasapiens.com/PageMethods/intro.aspx 在简单的 HTML 页面和 ASP.NET 页面中链接一个网页都非常容易。实际链接页面时, 传递正确的叁数, 并且转换这些叁数, 却是有一点不同的。 问题 让我们做一个简单的例子。你想要访问一个显示客户信息的页面。页面需要一个customer ID的参数。我们说这个cus... 阅读全文
摘要:
如何让网页中的图片等比例缩放呢,我参考了一些代码并自己写了个图片缩放的脚本,可以点击放大,同时用鼠标滑轮自由缩放,希望提出不同意见。 首先看看resizeimg函数的源代码: function resizeimg(ImgD,iwidth,iheight) { var image=new Image(); image.... 阅读全文