2012年11月30日

文件转string,string转换成文件

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace DFISAPITestTool{ public partial class Form1 : Form { private string FileName; ... 阅读全文

posted @ 2012-11-30 10:13 sajiao 阅读(4039) 评论(0) 推荐(0) 编辑

2012年11月28日

如何:设置 Silverlight 应用程序以进行CodeUI自动化测试

摘要: 通过使用编码的 UI 测试,可以使用 Visual Studio 2010 旗舰版或 Visual Studio 2010 高级专业版为 Silverlight 4 应用程序创建自动测试。还可以使用 Microsoft 测试管理器为 Silverlight 4 应用程序的手动测试创建操作录制。重要事项仅支持在 Internet Explorer 窗口中承载的 Silverlight 4 应用程序。不支持通过使用其他浏览器承载的或未在浏览器中承载的 Silverlight 4 应用程序。若要设置 Silverlight 应用程序,以便能为其创建编码的 UI 测试或操作录制,您必须执行以下关键任务 阅读全文

posted @ 2012-11-28 10:28 sajiao 阅读(512) 评论(0) 推荐(0) 编辑

2012年11月24日

多线程编写

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using PONumberServer;using System.Threading;using System.Threading.Tasks;using Untity;using System.Reflection;using ServerIn 阅读全文

posted @ 2012-11-24 10:49 sajiao 阅读(157) 评论(0) 推荐(0) 编辑

2012年9月6日

SQL SERVER 2008 阻止保存要求重新创建表的更改

摘要: 当用户在在SQL Server 2008企业管理器中更改表结构时,必须要先删除原来的表,然后重新创建新表,才能完成表的更改,如果强行更改会出现以下提示: 不允许保存更改。您所做的更改要求删除并重新创建以下表。您对无法重新创建的标进行了更改或者启用了“阻止保存要求重新创建表的更改”选项。如果要去掉此提示,打开SQL 2008 在最上面工具-〉选项-〉左侧有个 设计器-〉表设计器和数据库设计器 -> 阻止保存要求重新创建表的更改(右侧)把钩去重新启动2008即可。 阅读全文

posted @ 2012-09-06 11:24 sajiao 阅读(122) 评论(0) 推荐(0) 编辑

2012年8月8日

config

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;namespace Logger{ internal class Configer { public static string Config(string key) { string result = null; try { result = Configuration... 阅读全文

posted @ 2012-08-08 13:56 sajiao 阅读(185) 评论(0) 推荐(0) 编辑

logger

摘要: logger 阅读全文

posted @ 2012-08-08 13:54 sajiao 阅读(128) 评论(0) 推荐(0) 编辑

myTimer

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Remoting.Messaging;using System.Timers;using Logger;namespace Untitly{ public class myTimer { public static System.Timers.Timer timers; public myTimer() { ... 阅读全文

posted @ 2012-08-08 13:53 sajiao 阅读(433) 评论(0) 推荐(0) 编辑

Singleton

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Untitly{ public class Singleton<T> where T :new() { private static object objInstance = null; public static T getInstance() { if (objInstance == null) objInstance = new T(... 阅读全文

posted @ 2012-08-08 13:53 sajiao 阅读(172) 评论(0) 推荐(0) 编辑

global

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Security;using System.Web.SessionState;using System.Net;using System.IO;using System.Threading;using Logger;using System.Timers;using Untitly;using System.Runtime.Remoting.Messaging;namespace WebApplica 阅读全文

posted @ 2012-08-08 13:52 sajiao 阅读(290) 评论(0) 推荐(0) 编辑

2012年8月4日

采集

摘要: <?xml version="1.0" encoding="utf-8"?><gathers> <gather> <!--&lt; < 小于号 &gt; > 大于号 &amp; & 和 &apos; " 单引号 &quot; " 双引号--> <gathertime>2012-7-28 12:09:09</gathertime> <!--1 按采集时间,2按采集页列表+时间,3 只按采集列表--&g 阅读全文

posted @ 2012-08-04 16:50 sajiao 阅读(305) 评论(0) 推荐(0) 编辑

导航

街边网