上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页

查找字符串中的子字符串数目

摘要: public int getSubCount(String Content, String Sub) { int Count=0; if(Sub.length()!=0){ Count = Content.length(); Content = Content.replaceAll... 阅读全文
posted @ 2010-08-04 20:43 tongdengquan 阅读(283) 评论(0) 推荐(0) 编辑

jquery显示隐藏列

摘要: 第一列 第二列 第三列 第四列 第五列 idid1id2id3id4 ... 阅读全文
posted @ 2010-07-23 08:36 tongdengquan 阅读(287) 评论(0) 推荐(0) 编辑

gridview行按钮事件

摘要: 前台 '> ... 阅读全文
posted @ 2010-07-22 10:22 tongdengquan 阅读(148) 评论(0) 推荐(0) 编辑

jQuery获取一个表格行值

摘要: var text_html = $("#TextBox_college_html").val();var ranking_class_chinese_name = $(this).parent().parent().children("td").get(1).innerHTML; //类别中文名称... 阅读全文
posted @ 2010-07-19 09:21 tongdengquan 阅读(149) 评论(0) 推荐(0) 编辑

服务器端调用客户端事件

摘要: Page.RegisterStartupScript("aa",""); 的好处在于 编译器是把脚本写在生成html的body或form标签之内的,会出现这样的效果: 页面内容显示完毕 再运行脚本 ===》区别于 ... 阅读全文
posted @ 2010-07-13 17:01 tongdengquan 阅读(167) 评论(0) 推荐(0) 编辑

查看是不是中文

摘要: public bool IsChina(string CString) { bool BoolValue = false; for (int i = 0; i Convert.ToInt32(Convert.ToChar(128))) ... 阅读全文
posted @ 2010-07-12 10:10 tongdengquan 阅读(114) 评论(0) 推荐(0) 编辑

C#判断字符串中是否有中文

摘要: //判断字符串中是否有中文,true有,false没有。public bool IsChina(string CString) { bool BoolValue = false; for (int i = 0; i Convert.To... 阅读全文
posted @ 2010-06-29 14:56 tongdengquan 阅读(628) 评论(0) 推荐(0) 编辑

a连接绑定数据,截取长度

摘要: '> 16 ? Eval("college_chinese_name").ToString().Substring(0, 16) + "......" : Eval("college_chinese_name")%> 阅读全文
posted @ 2010-06-16 21:04 tongdengquan 阅读(111) 评论(0) 推荐(0) 编辑

jquery操作select

摘要: jQuery获取Select选择的Text和Value: 选择一项试试看语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id"... 阅读全文
posted @ 2010-06-15 18:03 tongdengquan 阅读(135) 评论(0) 推荐(0) 编辑

计算汇率

摘要: 阅读全文
posted @ 2010-06-15 15:15 tongdengquan 阅读(191) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页