上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
private void btnRun_Click(object sender, EventArgs e) { Thread th = new Thread(new ThreadStart(heating)); th.IsBackground = true; th.Start(); } int templeture; delegate void DisplayHandler(string tempStr); protected void heating() { for (int i = 0; i < 100; i++) { templeture = i; string tp = i.To Read More
posted @ 2011-08-12 10:33 咸鱼公子 Views(288) Comments(1) Diggs(0) Edit
using System.Runtime.Serialization;using System.Runtime.Serialization.Formatters;using System.Runtime.Serialization.Formatters.Binary;public byte[] ObjectToBytes(object obj) { using (MemoryStream ms = new MemoryStream()) { IFormatter formatter = new BinaryFormatter(); formatter.Serialize(ms, obj); r Read More
posted @ 2011-08-11 15:51 咸鱼公子 Views(329) Comments(0) Diggs(0) Edit
Microsoft Visual Studio 2008 快捷键大全Ctrl+m+Crtr+o折叠所有大纲Ctrl+M+Crtr+P: 停止大纲显示Ctrl+K+Crtr+C: 注释选定内容Ctrl+K+Crtr+U: 取消选定注释内容Ctrl+J : 列出成员 智能感知Shift+Alt+Enter: 切换全屏编辑Ctrl+B,T / Ctrl+K,K: 切换书签开关Ctrl+B,N / Ctrl+K,N: 移动到下一书签Ctrl+B,P: 移动到上一书签Ctrl+B,C: 清除全部标签Ctrl+I: 渐进式搜索Ctrl+Shift+I: 反向渐进式搜索Ctrl+F: 查找Ctrl+Shif Read More
posted @ 2011-08-05 10:46 咸鱼公子 Views(469) Comments(0) Diggs(0) Edit
第一步:在http://code.google.com/p/dblinq2007/downloads/list上下载DbLinq2007,将 DbLinq.dll、DbLinq.Sqlite.dll、System.Data.SQLite.dll、 System.Data.SQLite.Linq.dll 四个文件引入到项目中。第二步:在cmd中执行DbMetal.exe,根据帮助提示信息输入数据库配置。举例:DbMetal.exe -c "DbLinqProvider=Sqlite;data source=test.db" --provider=Sqlite --databa Read More
posted @ 2011-07-22 16:13 咸鱼公子 Views(1801) Comments(1) Diggs(1) Edit
#region DataTableToObjList /// <summary> /// DataTable数据转成Entity /// </summary> /// <typeparam name="T">Entity</typeparam> /// <param name="ds">数据集</param> /// <param name="tbName">表名</param> /// <returns></return Read More
posted @ 2011-07-13 16:04 咸鱼公子 Views(1386) Comments(0) Diggs(0) Edit
class C_SQLite { /// <summary> /// 获得连接对象 /// </summary> /// <returns></returns> public static SQLiteConnection GetSQLiteConnection() { return new SQLiteConnection(@"Data Source=data.db"); } /// <summary> /// 修改数据表记录 /// </summary> /// <returns>< Read More
posted @ 2011-06-22 10:30 咸鱼公子 Views(1265) Comments(0) Diggs(0) Edit
Tuesday, 13 November 2007This release provides a real focus on the querying abilities of the LINQ to Lucene project and is the first real 'working release', converting LINQ statements to Lucene queries with deferred query execution and object creation or projection. It culminates the majorit Read More
posted @ 2011-06-20 11:56 咸鱼公子 Views(303) Comments(0) Diggs(0) Edit
1、Coolite Toolkit 是一个支持ASP.NET AJAX的Web控件2、Coolite Toolkit是基于跨浏览器的ExtJS 库开发而来的,并且简化了开发步骤,包含有丰富的Ajax运用3、Coolite Toolkit和ExtJS 都是开源的4、可能通过SVN直接获取Coolite 的代码简单的说,就是将之前的纯Js的开源Ajax库,使用asp.net自定义控件技术,将Ext封装成asp.net 控件,简化了开发难度,提高了.net程序员web开发速度。Coolite Toolkit 使用场景: Coolite Toolkit非常适合做web应用程序的开发,它提供了很多专业的 Read More
posted @ 2011-05-25 14:48 咸鱼公子 Views(316) Comments(0) Diggs(0) Edit
View Code procedureTForm1.btn2Click(Sender:TObject);varF:TextFile;s:string;beginifdlgOpen1.ExecutethenbeginAssignFile(F,dlgOpen1.FileName);Reset(f);whilenotEof(F)dobeginReadln(F,s);redt1.Lines.Add(s);end;CloseFile(F);end;end;end. Read More
posted @ 2011-05-10 10:04 咸鱼公子 Views(218) Comments(0) Diggs(0) Edit
只有注册用户登录后才能阅读该文。 Read More
posted @ 2011-05-04 10:57 咸鱼公子 Views(31) Comments(1) Diggs(0) Edit
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页