易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net mvc json 序列化扩展方法

记录一个小方法,让任何对象都实现json序列胡的扩展方法:
using System.Web.Script.Serialization;
...
 //
public static string ToJSON(this Object obj) {
            return new JavaScriptSerializer().Serialize(obj);
 }
...


相关文档:

Asp.net网站开发架构设计要求


网站文件名:
1、 网站文件名以标准英文单词描述业务内容。如果1个英文单词无法描述,可以增加2个或者3个,但尽量为完全单词,例如article.aspx/ articleView.aspx / articleList.aspx 等。
2、 文件名尽量不用数字描述。
3、 文件名尽量不能太长,以不超过20个字母为宜。
4、 图片文件名尽量描述图片内容分类。尽量 ......

ASP.NET用OWC绘图控件画统计图表(首先向清清月儿致敬)

效果图:
前台代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OWCdrawing.aspx.cs" Inherits="OWCdrawing" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xh ......

asp.net客户端脚本调用webservice

 由于 asp.net ajax 封装了很多很好的方法,所以使用这个框架调用webwervice变的非常简单。
第一步
webservice 类的方法需要有scriptService的  attribute.
 namespace ServiceTest
{
/// <summary>
///WebService 的摘要说明
/// </summary>
[WebService(Namespace = "http://tem ......

ASP.NET 的模态窗体的处理

(一) 模态窗体的处理方法
1  javascript 语法:
var returnValue = window.showModalDialog(sURL [, vArguments] [,sFeatures])
非模态窗体:
vReturnValue = window.showModelessDialog(sURL [, vArguments] [,sFeatures])
参数说明:
sURL:必选参数,类型:字符串。用来指定对话框要显示的文档的URL。
vAr ......

什么是ASP.NET

 What is ASP.NET
ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is part of the .NET Framework, and when coding ASP.NET applications you have access to classes in the .NET Frame ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号