02 2009 档案
摘要:今天做东西遇到了这个情况,flash档住了ModalPopupExtender,其实在flash的object 中加入 这么一段就OK的
阅读全文
摘要:可以用在左右listbox的时候 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private DataTable NoReDt(DataTable more, DataTable less) { Dat...
阅读全文
摘要:日期的转换方式, 我转 select CONVERT(varchar, getdate(), 120 ) 2004-09-12 11:06:08 select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','') 20040912110608 select CONVERT(varchar...
阅读全文
摘要:很多时候因为网速原因,当点了个BTN后,数据 在处理中,但是又没有到下一个页面。这个时候如果用户猛点几次,就会插入多余的数据。 那么我们需要一个东西来保证我们的BTN 只被点了一次。 代码入下: btnApply.Attributes.Add("onclick", "this.value='XYI 正在晕~~~~';this.disabled=true;" + Me.GetPostBa...
阅读全文
摘要:在AJAX中,因为我们使用了ScriptManager.因此,不能直接使用Response.write js。 但ScriptManager提供了一个RegisterClientScriptBlock 可以让我们来用。 使用如下 : string strJS = " alert('谢谢你的参与!'); "; System.Web.UI.Sc...
阅读全文