会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
®Geovin Du Dream Park™
why we only heard about haves and have-nots, but we did'nt heard about doers and doer-nots. 人生是一种心境,生活是一种艺术,成功是一种心态,幸福是一种感觉,竞争是一种建构,情感是一种容合.学习是一种成长.
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
CSharp code
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
C#代码学习
csharp:Optical Character Recognition
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Drawing; using System.IO; using
阅读全文
posted @
2014-05-08 01:35
®Geovin Du Dream Park™
阅读(863)
评论(0)
推荐(0)
csharp:Microsoft.Ink 手写识别(HandWriting Recognition)
摘要:win10: C:\Program Files\Common Files\Microsoft Shared\Ink\Microsoft.Ink.dll /* 下載: //Microsoft Windows XP Tablet PC Edition 2005 Recognizer Pack http:
阅读全文
posted @
2014-05-01 00:32
®Geovin Du Dream Park™
阅读(7986)
评论(6)
推荐(0)
csharp:Convert Image to Base64 String and Base64 String to Image
摘要:/// /// 图像转成二进制数组 /// /// /// public byte[] imageToByteArray(System.Drawing.Image imageIn) { ...
阅读全文
posted @
2014-04-28 15:28
®Geovin Du Dream Park™
阅读(1448)
评论(0)
推荐(1)
csharp:Google TTS API text to speech
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @
2014-04-27 21:32
®Geovin Du Dream Park™
阅读(1353)
评论(0)
推荐(0)
Csharp: speech to text, text to speech in win
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @
2014-04-27 17:24
®Geovin Du Dream Park™
阅读(891)
评论(0)
推荐(0)
csharp: DataTable export to excel,word,csv etc
摘要:http://code.msdn.microsoft.com/office/Export-GridView-to-07c9f836 https://exporter.codeplex.com/ http://closedxml.codeplex.com/ http://epplus.codeplex
阅读全文
posted @
2014-04-16 13:47
®Geovin Du Dream Park™
阅读(669)
评论(0)
推荐(0)
Csharp:WebClient and WebRequest use http download file
摘要://Csharp:WebClient and WebRequest use http download file //20140318 塗聚文收錄 string filePath = "20140302.pdf"; string fileName = "http://www.dusystem.com/3.pdf"; //1出现找不到文件 filePath //string headerValue = (Request.UserAgent.ToLower().Contains("msie...
阅读全文
posted @
2014-03-18 23:09
®Geovin Du Dream Park™
阅读(707)
评论(0)
推荐(0)
csharp: DataTable结构相同的比较
摘要:1 /// /// DataTable分页 /// /// DataTable /// 页索引,注意:从1开始 /// 每页大小 /// public static DataTable GetPagedTable(DataTable dt, int currentPageIndex, int pageSize) { //1 //判断当前索引 if (currentPageIn...
阅读全文
posted @
2014-03-10 18:16
®Geovin Du Dream Park™
阅读(2840)
评论(0)
推荐(0)
Datatable paging,Repeater with Paging
摘要:/// /// 塗聚文 /// 20140225 /// public partial class DatatablePage : System.Web.UI.Page { /// /// 测试 分页数据 /// DataTable pageDt; /// /// /// public void geovinduDt() { pageDt = new DataTable(); pag...
阅读全文
posted @
2014-02-27 00:28
®Geovin Du Dream Park™
阅读(851)
评论(0)
推荐(0)
ASTreeView Demo:Add, Edit & Delete nodes
摘要:http://www.jinweijie.com/http://www.astreeview.com/astreeviewdemo/astreeviewdemo1.aspx選擇節點: /// /// initial controls, bind you events etc. here /// private void InitializeComponent() { //獲取值 添加右鍵菜單進行編輯 //注:塗聚文 //this.astvMyTree.ContextMenu.MenuItems.Add(new ASContextMen...
阅读全文
posted @
2014-02-12 17:52
®Geovin Du Dream Park™
阅读(802)
评论(0)
推荐(0)
Csharp: FreeTextbox 编辑器控件运行时错误: 'FTB_ResizeGalleryArea' 未定义
摘要:ftb.imagegallery.aspx 改一下代码: 编辑器页的代码:aspnet_client/FreeTextBox 是编辑器的代码文件夹;保存图片的文件夹:/saveimages/
阅读全文
posted @
2014-01-13 15:58
®Geovin Du Dream Park™
阅读(713)
评论(0)
推荐(0)
csharp: ClientScript.RegisterStartupScript int net4.0
摘要://彈出提示 ClientScriptManager cs = Page.ClientScript; StringBuilder sb = new StringBuilder(); sb.Append(""); //1.可以用 //Response.Write(sb.ToString()); //2.可以用 //ClientSc...
阅读全文
posted @
2014-01-13 15:28
®Geovin Du Dream Park™
阅读(566)
评论(0)
推荐(0)
How can I use Server.MapPath() from global.asax?
摘要:引用:using System.Web.Hosting; string filePathcsv = ""; string file = ""; string strFile = "LukfookGeovindu"; strFile = strFile + DateTime.Now.ToString("yyyyMMddhhmmss"); strFile = strFile + ".csv"; //file = strFile; teresaliu@lukfook....
阅读全文
posted @
2013-12-03 17:34
®Geovin Du Dream Park™
阅读(399)
评论(0)
推荐(0)
Csharp:操作存儲過程輸出參數,和返回值
摘要:/// ///塗聚文 存儲過程輸出參數,和返回值 /// 20131030 /// Geovin Du /// /// /// /// /// /// /// public DataTable SelectbirthdayVipdlyTotalPage(Repeater rept, AspNetPager apage, string vipno, DateTime date, out string alltotal) ...
阅读全文
posted @
2013-10-30 16:55
®Geovin Du Dream Park™
阅读(2899)
评论(0)
推荐(0)
Csharp:user WebControl Read Adobe PDF Files In Your Web Browser
摘要:namespace GeovinDu.PdfViewer{ [DefaultProperty("FilePath")] [ToolboxData("")] public class ShowPdf : WebControl { #region "Declarations" //Geovin Du 塗聚文 20131010 private string mFilePath;#endregion #region "Properties" [Category("Source File")] ...
阅读全文
posted @
2013-10-10 17:20
®Geovin Du Dream Park™
阅读(594)
评论(2)
推荐(0)
Csharp:字符串操作
摘要:1 public class StringControl 2 { 3 4 /// <summary> 5 /// 客户端浏览器 6 /// http://en.wikipedia.org/wiki/Web_browser 7 /// http://www.w3schools.com/browsers
阅读全文
posted @
2013-08-07 15:03
®Geovin Du Dream Park™
阅读(3827)
评论(0)
推荐(1)
Csharp: Detect Mobile Browsers
摘要:/// /// 檢測手機客戶端 HttpCapabilitiesBase.IsMobileDevice /// .NET 4.5 /// 塗聚文注 /// public static class HttpRequestBaseExtensions { #region Private Fields // These regular expressions retrieved from http://detectmobilebrowser.com/ "Open source mobile phone detection"...
阅读全文
posted @
2013-07-17 12:23
®Geovin Du Dream Park™
阅读(1306)
评论(0)
推荐(0)
Csharp:asp.net CheckBoxList databind
摘要:/// /// CheckBoxList數據源 /// 塗聚文 /// 20130705 /// /// private void setCheckBoxList() { DataTable dt = new DataTable(); CheckBoxList1.Items.Clear(); dt = geovindu_branchBLL.SelectGeovindu_branchNameDt(); CheckBox...
阅读全文
posted @
2013-07-05 11:33
®Geovin Du Dream Park™
阅读(563)
评论(0)
推荐(0)
Csharp:TinyMCE HTML Editor in .NET WindowsForms
摘要:1 /// 2 /// 3 /// 4 public partial class Form2 : Form 5 { 6 7 private mshtml.IHTMLDocument2 hc; 8 private mshtml.HTMLDocument hc1; 9 //subdir in ApplicationData Folder, change whatever you think 10 private const string M_WORKPATH = "som...
阅读全文
posted @
2013-06-28 16:28
®Geovin Du Dream Park™
阅读(1393)
评论(0)
推荐(0)
csharp:汉字转带拼音声调
摘要:1 /// <summary> 2 /// �� 塘㙍镇 3 ///涂聚文 20130623 4 ///http://zh.wiktionary.org/wiki/Wiktionary:%E9%83%A8%E9%A6%96%E7%B4%A2%E5%BC%95 5 /// </summary> 6 /
阅读全文
posted @
2013-06-24 17:13
®Geovin Du Dream Park™
阅读(1927)
评论(2)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
公告