http://www.aspxhome.com/javascript/skills/200712/262128.htm就是說用Div框住flash Div的滑鼠事件不傳遞給Body文中說的方法記錄一下/**//*--------------------------- 功能:停止事件冒泡 ---------------------------*/ function stopBubble(e) { //如果提供了事件對象,則這是一個非IE瀏覽器 if
private DataTable LoadSalesData() { // Load data from XML file. DataSet dataSet = new DataSet(); dataSet.ReadXml(@"c:\Reports\data.xml"); return dataSet.Tables[0]; } public
SQL篩選出相同記錄選出相同記錄的SQL語句是: select * from tableName where id in ( select id from tableName group by id having count(*) > 1) 刪除相同記錄的SQL語句是: delete from tableName where id in ( select id from tableName group by id having count(*) > 1) 例如:select *
MSDN沒相關範例,在網上找了一些提示,終於搞定。如果需要指定值,可以使用InitExpression。CodeTypeDeclaration enCode = new CodeTypeDeclaration("MyEnum");enCode.BaseTypes.Add(typeof(int));//可以加入baseType//構造結構內容for(int i=0;i<pEnumObject.FieldList.Count;i++){ Enumspace.EnumField field
06/22/2010 16:52:57.53 w3wp.exe (0x0774) 0x18FC Forms Server Forms Services Runtime - Busine 82m1 Critical An exception occurred during loading of business logic. (User: SHANGHAIEC\alexhu, Form Name:
在做一下資料轉換的程式時,部分對象更新會出現以下異常:a different object with the same identifier value was already associated with the session: 162, of class: Mag.Entity.Transaction at NHibernate.Impl.SessionImpl.CheckUniqueness(Key key, Object obj) at NHibernate.Impl.Ses
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports System.IOImports ICSharpCode.SharpZipLib.Zip.Compression.Streams Sub Main() Dim folder As String = "C:\Cracked\Files" ' This is the