上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: USE msdb ;GOEXEC dbo.sp_add_job @job_name = N'ForecastDataJob' ;GOEXEC sp_add_jobstep @job_name = N'ForecastDataJob', @step_id = 1, @step_name = N'Generate Weekly Consumption Data', @subsystem = N'TSQL', @command = N'EXECUTE Forecast.GenerateWeeklyConsumptionData 阅读全文
posted @ 2013-03-27 15:00 落叶潇潇雨 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 在项目中,遇到这个问题:需要通过模式对话框来上传文件,并且在父窗体中获取模式对话框中返回来的值。而在模式对话框中的上传是通过服务器控件来实现的。点击上传后,模式对话框总是弹出一个于此相同地址的窗口,这并不是我想要的结果。如何解决这个问题呢?只需要在模式对话框中页面的head标签中加入<base target="_self" />即可。如:<head runat="server"><base target="_self" /> 阅读全文
posted @ 2013-03-16 12:45 落叶潇潇雨 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 关于mvc3的一个错误解决。'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'RenderAction' and no extension method 'RenderAction' accepting a first argument of type 'System.Web.WebPages.Html.HtmlHelper' could be found (are you missing a using directive or an 阅读全文
posted @ 2012-07-31 15:09 落叶潇潇雨 阅读(289) 评论(1) 推荐(0) 编辑
摘要: Entlib5.0早就出来了,在这个版本中提供了一些很好用的特性,今天小试一下,用用SprocAccessor和SqlStringAccessor这两个类,这两个类能够将返回的DataSet, DataTable样式的数据集转换为实体数据的形式。1.原始的查询方式。Databasedb=DatabaseFactory.CreateDatabase();DbConnectionconnection=db.CreateConnection();DbCommandcmd=connection.CreateCommand();cmd.CommandType=CommandType.Text;cmd.. 阅读全文
posted @ 2012-04-23 17:44 落叶潇潇雨 阅读(615) 评论(0) 推荐(0) 编辑
摘要: JQuery Mobile对htm5的移动开发绝对是个好用的东西,今天简单谈谈JQuery Mobile中的dialog的使用。1.对话框的弹出。2.对话框的生命周期。3.对话框内事件的注册。1)第一个问题:对话框的弹出。 如果要弹出一个对话框,可以在页面中添加一个按钮<a href="dialog.htm" data-role="button" data-inline="true" data-rel="dialog" data-transition="pop">Open dialo 阅读全文
posted @ 2012-04-05 12:57 落叶潇潇雨 阅读(21004) 评论(7) 推荐(4) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <style type="text/cs 阅读全文
posted @ 2012-02-14 17:39 落叶潇潇雨 阅读(262) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Drawing;public class Example{ public static void Main() { // Create an array of five Point structures. Point[] points = { new Point(100, 200), new Point(150, 250), new Point(250, 375), new Point(275, 395), new Point(295, 450) }; // To find the first Point structure for wh.. 阅读全文
posted @ 2012-02-07 11:25 落叶潇潇雨 阅读(233) 评论(0) 推荐(0) 编辑
摘要: (一) Remoting框架图 这是msdn上关于Remoting客户端与服务器端进行通信的示意图。客户端与服务端的通信是通过发送消息来实现的。消息的处理是由客户端,服务端创建的一系列的通信信道来处理的。客户端通过代理将消息的调用转换为IMessage,IMessage传入通信处理链,经过客户端FormatterSink转换为消息流,然后通过IClientChannelSink对消息进一步处理,... 阅读全文
posted @ 2011-09-09 15:05 落叶潇潇雨 阅读(1479) 评论(1) 推荐(0) 编辑
摘要: (一) 缓存架构 这是官方文档的架构图,图中Cache引用了BackgroundScheduler与实际的有些异议,可以和我自己画的结合起来看。 客户端通过CacheManagerFactory获取配置文件所配置的CacheManager,CacheManager中引用了3个对象,Cache,ExpirationPollTimer,BackgroundScheduler, Ø Cache... 阅读全文
posted @ 2011-08-29 17:54 落叶潇潇雨 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 这节谈谈.Net Remoting比较重要的部分,数据传递,这次我们在上一节的基础上,对数据契约做出如下修改publicinterfaceIMyService{//1.返回一个字符串给客户端stringSayHello(stringname);//2.返回一个datatable给客户端DataTableGetTable();//3.返回一个PersonData的实例对象给客户端PersonDataGetPerson();//4.从客户端传datatable到服务器端voidClientToServer(DataTabledt);//5.实例的集合IList<PersonData>G 阅读全文
posted @ 2011-08-16 21:44 落叶潇潇雨 阅读(457) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页