12 2008 档案

摘要:function check(CheckStr) { var str; str=document.getElementById("ooo").innerHTML; if(str.indexOf(CheckStr)==-1) return false; else return ture; } 阅读全文
posted @ 2008-12-30 17:32 南守拥 阅读(823) 评论(0) 推荐(0)
摘要:今天做页面需要把JS里面的Date规范输出为“YYYY-MM-DD HH:mm:SS”的字符串, 把下面的代码复制到你的JS里,Date对象就可以直接调用toCommonCase(): Date.prototype.toCommonCase=function(){ var xYear=this.getYear(); xYear=xYear+1900; var xM... 阅读全文
posted @ 2008-12-30 11:50 南守拥 阅读(769) 评论(0) 推荐(0)
摘要:A:what's happening?(你好吗?) A:What's happening with you these days? 你近来好吗? B:Nothing much.没什么 Nothing Nothing gives me more pleasure than listening to Mozart.再没有比听莫扎特的乐曲更让我高兴的事了。 There is nothing inte... 阅读全文
posted @ 2008-12-25 13:43 南守拥 阅读(146) 评论(0) 推荐(0)
摘要:A:How are things with you/going? 一切都好吗?事情进展得怎么样? B:Great. 或 I'm just taking one day at a time.(棒极了/我只是过一天算一天。或:我只是做一天和尚撞一天钟。) Thing Things look black.前途黯淡 Things are looking up.情况在好转 阅读全文
posted @ 2008-12-25 13:37 南守拥 阅读(114) 评论(0) 推荐(0)
摘要:A:How've you been?(你近来怎么样?) B:All right.Does't make sase.(还好/不算太好。) He has been friendlier lately.(他近来更友好了。) His studies haven't been improving lately.(他的学业最近没什么进步。) 阅读全文
posted @ 2008-12-25 13:33 南守拥 阅读(98) 评论(0) 推荐(0)
摘要:A: How's it going?(近况如何) B:Fine./Pretty good.(很好/挺好的。) A:How's everything with you/going?(你一切如何?) B:Well,I'm still(还是;还;仍然) alive and kicking(活蹦乱跳的;生气勃勃;精神饱满;活跃).So far so good.(我仍然活蹦乱跳的/活着混日子/到目前为止一切... 阅读全文
posted @ 2008-12-25 13:29 南守拥 阅读(109) 评论(0) 推荐(0)
摘要:今天得知公司关了!可恨的经济危机! 阅读全文
posted @ 2008-12-25 13:20 南守拥 阅读(195) 评论(0) 推荐(0)
摘要:/Files/nanshouyong326/Systex.Web.UI.RadGrid.rar 原Dll要放到系统的C:\WINDOWS\assembly里,要不在用Desiner时会不能生成Desiner文件 页面使用时要放二个引用,一个是原Dll的一个是新重写的DLL的 重写的后的属性不要在页面在出现,像本例重写的是PagerStyle属性,如果出现就会让重写的属性不... 阅读全文
posted @ 2008-12-22 12:32 南守拥 阅读(388) 评论(0) 推荐(0)
摘要:A:How are you doing?(你好吗?) B:I'm doing fine/OK/pretty vell/greate/terrific/so-os or: Not bad./The same as ever./I can't complain too much. or: Terrible I've had a headache all morning. Pretty He ma... 阅读全文
posted @ 2008-12-18 18:26 南守拥 阅读(176) 评论(0) 推荐(0)
摘要:其实就一句话的事 ScriptManager.RegisterStartupScript(this.UpdatePanel1,this.GetType(), "HelloWorld", "alert('The page has loaded!')",true); ... 阅读全文
posted @ 2008-12-13 15:55 南守拥 阅读(459) 评论(0) 推荐(0)
摘要:try head 1head 2head 3 123 123 123 123 123 123 阅读全文
posted @ 2008-12-13 15:02 南守拥 阅读(2970) 评论(2) 推荐(0)
摘要:document.getElementById('Select1').options[document.getElementById('Select1').selectedIndex].value;//value值 document.getElementById('Select1').options[document.getElementById('Select1').selectedIndex]... 阅读全文
posted @ 2008-12-13 14:25 南守拥 阅读(328) 评论(0) 推荐(0)
摘要:答1: c# 的代码看不太懂,不过最简单的做法是 手动在 第一项添加 select 行 ______________________________________________________________________________________________ 答2: DropDownList1.Items[index].Selected = true; 就可以了 _____... 阅读全文
posted @ 2008-12-13 13:56 南守拥 阅读(424) 评论(0) 推荐(0)
摘要:Row 1 Row 2 Row 3 阅读全文
posted @ 2008-12-11 16:14 南守拥 阅读(269) 评论(0) 推荐(0)
摘要:这里的e实际上是一个事件参数,当你点哪行e就是哪行,可以用RowIndex属性来取得该行的索引,而DataKeys是GridView的主键,可以使用DataKeys[行号]的方式取得,它返回一个DataKey对象,然后就可以用DataKey.Value得到该行的主键值。 但是应该注意,在将数据源绑定到GridView上时,应该指定它的DataKeyField属性,才能正常使用。 例如: Gr... 阅读全文
posted @ 2008-12-09 17:20 南守拥 阅读(313) 评论(0) 推荐(0)
摘要://取 value 值 document.all("ss").options[document.all("ss").selectedIndex].value //取文本值 document.all("ss").options[document.all("ss").selectedIndex].text 阅读全文
posted @ 2008-12-04 09:10 南守拥 阅读(1042) 评论(0) 推荐(0)
摘要://删除前后空格 function String.prototype.trim(){ return this.replace(/(^\s+)|(\s+$)/g,""); } 阅读全文
posted @ 2008-12-03 12:56 南守拥 阅读(237) 评论(0) 推荐(0)