摘要:
解决方法 :<base target="_self" /> 阅读全文
摘要:
新建项目---》Asp.Net Web应用程序。等你把用户控件编译好以后,生成一下就可了。 阅读全文
摘要:
http://www.cnblogs.com/alexis/archive/2010/12/15/1907236.html 阅读全文
摘要:
可以使用委托执行异步调用,以启动任何方法。对于每个异步调用,.NetFramework创建一个IAsyncResult我想弄清楚 委托(IntAsyncDelegate)和 它调用的方法,delegate int IntAsyncDelete(int number);static IntAsyncDelete aDelegate;aDelegate=new IntAsyncDelete(方法);我... 阅读全文
摘要:
ThreadStart 和ParameterizedThreadStart不带参数的多线程,这里使用了三个线程class Program { static void Main() { Thread newThread; ThreadStart threadMethod = new ThreadStart(DoWork); ThreadStart threadEnglish = new Thread... 阅读全文
摘要:
后台要这样写:(1)public string Names=String.Empaty; (2) 然后进行赋值前台要这样调用Name="<%=Names%>"; 阅读全文
摘要:
GridVeiw中有一个LinkButton1.点击LinkButton1进入RowCommand事件。 问题:<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="SelectLaLo" CommandArgument='<%# Eval("name") %>'... 阅读全文
摘要:
using System;using System.Xml;using System.Data;namespace Message.Common{ /// <summary> /// XML相关通用功能 /// </summary> public class Xml { public Xml() {} /// <summary> /// XML资源类型 //... 阅读全文
摘要:
为了使服务器端函数在javascript中可用,必须做两件事情,首先,要使用的函数必须标有Ajax.AjaxMethodAttribute.其次,在页加载事件期间,必须通过调用Ajax.Utility.RegisterTypeForAjax来注册包含这些函数的类。private void Page_Load(object sender, System.EventArgs e){//注册我们感兴趣的... 阅读全文
摘要:
select PerInfo.*,RGD.*,DV.* from (select * from dbo.G_PersionInfo g where 1=1 and GpsID<>'' )PerInfoleft join (select d.* from dbo.Device d where not exists( select 1 from dbo.Device where GpsID... 阅读全文