10 2012 档案

摘要:Ext中 renderer一般用于Grid中对列模型的渲染上 其详细信息记录在 Ext.grid.ColumnModel 中的setRenderer( Number col, Function fn ) 方法里一、col : Number The column index二、fn : FunctionThe function to use to process the cell's raw data to return HTML markup for the grid view. The render function is called with the following para 阅读全文
posted @ 2012-10-30 15:47 划破黑夜 阅读(1413) 评论(0) 推荐(0)
摘要://gridP gridpanel idExt.apply(Ext.getCmp("gridP").store.baseParams, { 参数1: 111, 参数2:222 }); grid = new Ext.grid.GridPanel({ frame: true, id: 'gridP', title: 'Order List', stripeRows: true, //斑马线 store: store, applyTo: 'view', //指定显示数据的div trackMouseOv... 阅读全文
posted @ 2012-10-29 14:16 划破黑夜 阅读(11952) 评论(0) 推荐(0)
摘要:// // C# 实现端口扫描 // using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Threadi 阅读全文
posted @ 2012-10-26 11:49 划破黑夜 阅读(4434) 评论(1) 推荐(0)
摘要:通常情况下,我们为了从一个页面传递某些数据到另外一个页面,总是喜欢用 URL参数或者Seesion来实现。但在数据量特别大的情况下,这两种方式明显就不合适宜,这意味着我们要写很多的URL参数或者是Seesion变量来保存数据。但在学习《Professional ASP.NET 3.5 SP1 Edition in C# and VB》的过程中我发现还有一些我不知道的其它方法可以实现。我觉的有必要与大家一起分享,与是决定写下这篇笔记。在asp时代,我们经常使用跨页面传递的方式传输数据,但当我们进入到ASP.NET时代后却发现这种方式基本无法继续延续了。这不禁让我们在某些时候怀念ASP的灵活性了, 阅读全文
posted @ 2012-10-25 10:33 划破黑夜 阅读(1300) 评论(0) 推荐(1)