11 2012 档案

摘要:<html><head><script type="text/javascript">function alertRowIndex() { alert(document.getElementById("tr4").parentNode.innerHTML); alert(document.getElementById("tr4").rowIndex); }function addRow() { var tr3=document.getElementById("tr3"); var 阅读全文
posted @ 2012-11-23 09:19 老飞飞 阅读(173) 评论(0) 推荐(0) 编辑
摘要:一直以来,只是维护系统,昨天一个新人遇到ajax的问题,我认为DataTable是可以直接通过ajax直接传出来给js使用,后来怎么都不行,今天建立了一个空白工程进行,结果发现还是不行。最后比较web,config发现问题。<system.web.extensions><scripting><webServices><!-- Uncomment this line to customize maxJsonLength and add a custom converter --><jsonSerialization maxJsonLength 阅读全文
posted @ 2012-11-22 13:51 老飞飞 阅读(143) 评论(0) 推荐(0) 编辑
摘要:File.WriteAllText(fileName, sb.ToString(), System.Text.Encoding.UTF8); //using (StreamWriter sw = File.CreateText(fileName)) //{ // sw.Write(sb.ToString()); // sw.Flush(); // sw.Close(); //} sb中有中文,開始的時候使用的是注釋部分的代碼,發現文件中存在... 阅读全文
posted @ 2012-11-20 16:23 老飞飞 阅读(177) 评论(1) 推荐(0) 编辑
摘要:代码如下:View Code foreach (DataRow dr in dt.Rows) { li = new ListItem(dr["UserNameCN"].ToString(), dr["UserNameCN"].ToString()); this.cblAtt.Items.Add(li); this.cblAttendee.Items.Add(li); } if (Request["isFromMain"] != null... 阅读全文
posted @ 2012-11-12 16:10 老飞飞 阅读(155) 评论(0) 推荐(0) 编辑
摘要:static DataTable GetData() { DataTable table = new DataTable(); table.Columns.Add("Name", typeof(string)); table.Columns.Add("Quantity", typeof(int)); table.Rows.Add("a", 1); table.Rows.Add("a", 2); table.Rows.Add("b", 2); ... 阅读全文
posted @ 2012-11-07 11:10 老飞飞 阅读(357) 评论(0) 推荐(0) 编辑
摘要:编辑器加载中...http://bbs.jiaju.sina.com.cn/thread-12273720-1.html有的业主认为报价单就是报个价,看了报价单后先急忙与装饰公司讨价还价,争论不休。这种观点和做法是错误的。一份完美与合格的报价单绝对不是简单报个价,它至少要包括有:家居就4 J2 m S7 D0 ?; D1、项目名称; 买房,购房,装修论坛,房产论坛8 B( d. L4 @! J2、单价; 买房,购房,装修论坛,房产论坛9 S% _7 ~, ^: Y3、数量; 4、品牌家居就- v, h+ V% M! k5、总价; 买房,购房,装修论坛,房产论坛" |6 F7 N6、材 阅读全文
posted @ 2012-11-06 11:33 老飞飞 阅读(143) 评论(0) 推荐(0) 编辑
摘要:上周五被这个函数害惨了。 这次上版本的修改内容比较多,发生的问题也比较多。其他更新问题都解决了,后来发现IE版本问题:在IE6下面有个操作不可行,在IE8下面是没问题的。 IE6下面调试都比较麻烦,最后才发现是Array.sort(),Ie6是不支持的。 看来以后要求User升级到IE8去。 阅读全文
posted @ 2012-11-04 20:59 老飞飞 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示