上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 55 下一页
摘要: 加载: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Net; using System.IO; using System.Web.Services. 阅读全文
posted @ 2017-03-03 11:42 天王星天 阅读(322) 评论(0) 推荐(0)
摘要: 如果C的iframe标签的id是"iframec",那么在B.aspx中你想刷新的代码处写 parent.document.getElementById('iframec').src=parent.document.getElementById('iframec').src 阅读全文
posted @ 2017-02-18 14:36 天王星天 阅读(359) 评论(0) 推荐(0)
摘要: var selectedNodeID = theForm.elements["<%=treeView1.ClientID%>_SelectedNode"].value; if (selectedNodeID != "") { var selectedNode = document.getElemen 阅读全文
posted @ 2017-02-18 11:31 天王星天 阅读(4317) 评论(0) 推荐(0)
摘要: javascript函数中执行C#代码中的函数:方法一:1、首先建立一个按钮,在后台将调用或处理的内容写入button_click中; 2、在前台写一个js函数,内容为document.getElementById("btn1").click(); 3、在前台或后台调用js函数,激发click事件, 阅读全文
posted @ 2017-02-18 11:09 天王星天 阅读(1643) 评论(0) 推荐(0)
摘要: 列下如何在前台绑定数据时呼叫後台方法 如下GetInfoByID是后台方法,Eval("ID").ToString()是你在前台绑定数据传入的字段名 <asp:Label ID="lblHour" runat="server" Text='<%# GetInfoByID(Eval("ColumnNa 阅读全文
posted @ 2017-02-18 10:59 天王星天 阅读(293) 评论(0) 推荐(0)
摘要: 纯htm页面必须采用AJAX了,ASP页面:var manager='<%=session("manager")%>', ASPX页面:var manager='<%=Session["manager"]%>',例如:用session来判断客户是否登录,ASP页面:方法(1)manager.asp< 阅读全文
posted @ 2017-02-18 10:58 天王星天 阅读(13855) 评论(0) 推荐(0)
摘要: 是服务器端控件,不能在JS里直接调用,但可以在aspx.cs 里写方法可以调用JS函数,比如JS方法名称是check(), function check() { alert(document.getElementById("ltr1").value); } 在a.aspx <asp:Literal 阅读全文
posted @ 2017-02-18 10:57 天王星天 阅读(367) 评论(0) 推荐(0)
摘要: 开发WinForm 应用程序时可以利用SendKeys 类方便的模拟键盘录入操作。那么在WPF 中如何为控件实现键盘模拟呢?本篇将使用WPF SendKeys 实现和WinForm 中相同的效果。 首先将WpfSendKeys.dll 加入到项目References 中,在XAML 中加入两个Tex 阅读全文
posted @ 2017-02-16 19:01 天王星天 阅读(1384) 评论(0) 推荐(0)
摘要: rabbitmq使用dead letter机制来进行retry 首先建立 工作exchange和工作queue,指定工作队列的x-dead-letter-exchange到重试exchenge var workQueueArgs = new Dictionary<string, object> { 阅读全文
posted @ 2017-02-07 10:32 天王星天 阅读(2489) 评论(0) 推荐(0)
摘要: The Advanced Message Queuing Protocol (AMQP)是一个标准开放的应用层的消息中间件(Message Oriented Middleware)协议。AMQP定义了通过网络发送的字节流的数据格式。因此兼容性非常好,任何实现AMQP协议的程序都可以和与AMQP协议兼 阅读全文
posted @ 2017-02-07 10:06 天王星天 阅读(342) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 55 下一页