
2008年4月11日
posted @
2008-04-11 16:10 romce 阅读(41) |
评论 (0) |
编辑
摘要:
///用户数据结构
function _tagUser()
{
this.UserId = 0; //0-4
this.UserName = ""; //5-
this.Parse = function(VarTypeUser)
{
for (var i=0;i
VarTypeUser[i] = String.fromCharCode(VarTypeUser.charCodeAt(i)^0xFFFF);
this.UserId = VarTypeUser.substr(0,4); //0-4
this.UserName = VarTypeUser.substr(5); //4--
}
阅读全文
posted @
2008-04-11 14:50 romce 阅读(47) |
评论 (1) |
编辑

2008年3月25日
摘要: ///
/// 在页面显示出对应的年月
///
protected void YearMonthBind(string companyID, int startMonth)
{
int myYear = Convert.ToInt32(dropYear.SelectedValue);
int myMonth = startMonth;
foreach (DataGridItem i in this.DtGrid.Controls[0].Controls)
{
阅读全文
posted @
2008-03-25 13:54 romce 阅读(9) |
评论 (0) |
编辑

2008年3月21日
摘要: 定义类的两种基本方式:
(1) 利用函数构造类型。
function Foo(text, url) {
this.text = text;
this.url = url;
this.render = function() {
document.write('
' + this.text + '');
}
}
阅读全文
posted @
2008-03-21 16:00 romce 阅读(14) |
评论 (0) |
编辑
摘要: 在原有Repeater中嵌套Repeater:
阅读全文
posted @
2008-03-21 12:56 romce 阅读(8) |
评论 (0) |
编辑
摘要: 表格
表格由
标签来定义。每个表格均有若干行(由 标签定义),每行被分割为若干单元格(由 标签定义)。字母 td 指表格数据(table data),即数据单元格的内容。数据单元格可以包含文本、图片、列表、段落、表单、水平线、表格等等。
阅读全文
posted @ 2008-03-21 12:45 romce 阅读(5) | 评论 (0) | 编辑
摘要: '过滤SQL非法字符并格式化html代码
function Replace_Text(fString)
if isnull(fString) then
Replace_Text="" 阅读全文
posted @ 2008-03-21 12:30 romce 阅读(20) | 评论 (0) | 编辑
| |
| 29 | 30 | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 10 | 11 | 12 | | 13 | 14 | 15 | 16 | 17 | 18 | 19 | | 20 | 21 | 22 | 23 | 24 | 25 | 26 | | 27 | 28 | 29 | 30 | 31 | 1 | 2 | | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
常用链接
留言簿
我参与的团队
随笔分类(2)
随笔档案(6)
文章分类(7)
收藏夹(9)
电子商务
搜索
最新评论

阅读排行榜
评论排行榜
|