zhoumy博客(C#、Windows Phone XAML)

04 2014 档案

摘要:private void Window_Loaded(object sender, RoutedEventArgs e) { // 获取窗体句柄 IntPtr hwnd = new System.Windows.Interop.Window... 阅读全文
posted @ 2014-04-15 09:16 zhoumy 阅读(439) 评论(1) 推荐(0) 编辑
摘要:首先,需要保证oracle客户端服务器的字符集是一样的,并且保证该字符集支持中文。你可以使用plsql查看是否乱码。代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.OleDb;namespace Oracle中文{ class Program { static void Main(string[] args) { Console.WriteLine("开始连接oraclr数据库... 阅读全文
posted @ 2014-04-11 11:06 zhoumy 阅读(2415) 评论(0) 推荐(0) 编辑
摘要:Process p = new System.Diagnostics.Process(); //设置新进程的工作目录,如果不设置那么新进程的工作目录为开启这个进程的工作目录 p.StartInfo.WorkingDirectory = @"E:\会计助手代码\CNCTKJPT\CNCTKJPT\bin\Debug"; //设置进程启动文件 p.StartInfo.FileName = @"CNCTKJPT.exe"; //设置进程启动参数 p.StartInfo.... 阅读全文
posted @ 2014-04-03 09:33 zhoumy 阅读(3202) 评论(0) 推荐(0) 编辑

zhoumy博客(C#、Windows Phone XAML)
点击右上角即可分享
微信分享提示