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

ExtJs动态树(基于Asp.net)

偶尔使用,简单的记录下过程
1.下载Newtonsoft.Json.Net20.dll后,放入Asp.net项目Bin文件夹中.
   Newtonsoft.Json.Net20,是一个Object/Json转换工具,这里用来把对象转换成Json格式字符串.
2.树节点Model对象,
  public class TreeModel{
        private string _id,_parentid, _text;
        private bool _leaf;
        private List<TreeModel> _children = new List<TreeModel>();//子节点集合
      
        public string id{
            get { return _id; }
            set { _id = value;}
        }
     
        public string parentid{
            get { return _parentid; }
            set { _parentid = value; }
        }
        public string text{
            get { return _text; }
            set { _text = value; }
        }
        public bool leaf{
            get { return _leaf; }
            set { _leaf = value; }
        }
       
        public List<TreeModel> children{
            get { return _children; }
    &nb


相关文档:

asp.net对图片的读写

 写图片c:\1.jpg到表cinfo中
private static void AddCinfo()
    {
        string strSql = "insert into cinfo (srvtitle,csttitle,introduction,logo) values
(@srvtitle,@csttitle,@introduction,@logo)";
        S ......

ASP.NET MVC Best Practices 27+

12 ASP.NET MVC Best Practices
M
DomainModel != ViewModel
Use ActionFilters for “shared” data
V
Do NEVER user code-behind
Write HTML each time you can
If there is an if, write an HtmlHelper
Choose your view engine carefully
C
Delete the AccountController
Isolate Controllers fro ......

[转]ASP.NET多频道网站架构心得

asp.net多频道网站开发架构浅析 http://www.cnblogs.com/Kenny-Jiang/archive/2007/07/31/837900.html 背景:
        我们打开门户网站时,往往会看到很多排列紧密的频道列表,如“新闻”、“财经”、“娱乐”等。频道为网站提供了方便的导航功能。
内容描述:
&# ......

开发asp.net自定义控件

 学习自定义控件的开发不仅可以使你开发出更灵活的系统更重要的是它可以使你加深对已有服务器控件的理解,得以更灵活的应用。
较之于asp,asp.net提供了更强大的功能,我比较喜欢它的代码分离技术和对诸如C#、VB.Net等强类型语言的使用,这是从开发者的角度来看的,从用户的角度来看,会觉得它速度更快,运行更稳定, ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号