摘要: base.CreateChildControls();panelControl.Controls.Add 阅读全文
posted @ 2014-07-05 22:59 txbauo 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 下面是SELECT语句的逻辑执行顺序:FROMONJOINWHEREGROUP BYWITH CUBE or WITH ROLLUPHAVINGSELECTDISTINCTORDER BYTOP MICROSOFT指出,SELECT语句的实际物理执行顺序可能会由于查询处理器的不同而与这个顺序有所出... 阅读全文
posted @ 2014-05-11 23:21 txbauo 阅读(116) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/greatverve/archive/2010/08/19/csharp-excel.html 阅读全文
posted @ 2014-03-04 02:46 txbauo 阅读(118) 评论(0) 推荐(0) 编辑
摘要: //var rblTable = $("input:radio[name='rblTable']:checked").val(); var oTable = document.getElementById('tblAdd'); if (num == '2') { document.getElementById('rptTr').style.display = "none"; document.getElementById('tableSql').style.display = 阅读全文
posted @ 2013-12-10 16:51 txbauo 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 近来我发现我一些同事,在用ajax时,用数据源,都喜欢重新新建一个页面.其实我是很不喜欢这种模式,主要原因,一是后期维护麻烦,还要去找哪些页面,二是不能调用一些本页原有的数据方法.因此我在这里做了一个测试的案例,在这里,我们有2种方法来掉用本页的数据源方法. 一种是webservice 方法. 那就是在本页里添加webservice 方法.如下[WebMethod]public static string GetWord(string arg){return "调用 webService,值是"+arg;}这样就可以在客户端,前掉调用该方法了.如下var sdata = & 阅读全文
posted @ 2013-10-28 14:41 txbauo 阅读(378) 评论(0) 推荐(0) 编辑
摘要: system.web> configuration> 另外,ASP.NET上传文件时,可能还会出现这个问题:aspnet_wp.exe (PID: 1520) 被回收,因为内存消耗超过了 可用 RAM 的百分之 60)。如果遇到此错误信息,相应的也在WebConfig里加上 memoryLimit 属性的值。例如: system.web> 阅读全文
posted @ 2013-07-06 11:28 txbauo 阅读(272) 评论(0) 推荐(0) 编辑
摘要: MAC地址:IP地址:主机名:但大部分浏览器都屏蔽了active插件 阅读全文
posted @ 2013-06-25 11:58 txbauo 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-06-25 11:49 txbauo 阅读(560) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Runtime.InteropServices;namespace WebApplication1{ public class test { [DllImport("Iphlpapi.dll")] private static extern int SendARP(Int32 dest, Int32 host, ref Int64 mac, ref Int32 length); [DllI 阅读全文
posted @ 2013-06-20 16:56 txbauo 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 在查询统计时需要对其指定别名 并且要跟实体的名字一样这是查询语句 cmd = new System.Data.SqlClient.SqlCommand(@"select ProductID,Mark,sum(StockNum) as CountNum from Stock_StockInnfo where StockDataTime>( select max(InventoryTime) from Stock_InventoryInfo )and AuditStatus=1 and Mark=1 and WarehouseCode=@WarehouseCode group by 阅读全文
posted @ 2013-05-25 16:06 txbauo 阅读(126) 评论(0) 推荐(0) 编辑