2014年3月17日

摘要: using System;using System.Collections.Generic;using System.ServiceProcess;using System.Text;namespace NeoSuiteCIMS_FW{ static class Program { /// /// 应用程序的主入口点。 /// static void Main() { string sw = AppConfig.GetConfig("switch"); //启动服务 if (!string.IsNullOrEmpty(sw) && sw == "1 阅读全文

posted @ 2014-03-17 15:40 哥德巴赫猜 阅读(210) 评论(0) 推荐(0) 编辑

摘要: --eidt by luwenbing--2014/1-27create or replace procedure p_result(t_u_aliquat_id in varchar2,t_result_alias in varchar2,t_result in varchar2,p_rows out varchar2)is v_exp varchar2(4000); v_format varchar2(255); v_des varchar2(4000); v_min varchar2(4000); v_max varchar2(4000); v_n number; cursor c is 阅读全文

posted @ 2014-03-17 15:38 哥德巴赫猜 阅读(208) 评论(0) 推荐(0) 编辑

摘要: /// /// 读取文件填充信息到对应的字段 /// /// /// /// /// 对照品选取条件 public bool ReadXmlFile(string filePath, Dictionary dict, bool hasDZP, bool isJPBHINDZP) { bool flag = false; //要读取的是中文 StreamReader reader = new StreamReader(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, filePath), Encoding.Default); XDo... 阅读全文

posted @ 2014-03-17 15:36 哥德巴赫猜 阅读(359) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;using System.Data;using System.IO;using System.Windows.Forms;//add 2013-08-22 weiyj 修改XML文件格式namespace yjs_cl_seq{ public class TXTHelper { public void createTxt(string DocTitle, string path, DataTable 阅读全文

posted @ 2014-03-17 15:34 哥德巴赫猜 阅读(263) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;using System.Data;using System.IO;using System.Windows.Forms;//modify 2013-08-21 weiyj 修改XML文件格式namespace yjs_cl_seq{ class XMLHelper { public void createXml(string DocTitle, string path, DataTable sam 阅读全文

posted @ 2014-03-17 15:33 哥德巴赫猜 阅读(202) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Data;using System.IO;using System.Windows.Forms;using Microsoft.Office.Interop.Excel;namespace yjs_cl_seq{ class ExcelHelper { private Microsoft.Office.Interop.Excel.Application oE 阅读全文

posted @ 2014-03-17 15:32 哥德巴赫猜 阅读(325) 评论(0) 推荐(0) 编辑

摘要: //通过模拟用户获得权限登录 public class ConnectHelper { // logon types const int LOGON32_LOGON_INTERACTIVE = 2; const int LOGON32_LOGON_NETWORK = 3; const int LOGON32_LOGON_NEW_CREDENTIALS = 9; // logon providers const int LOGON32_PROVIDER_DEFAULT = 0; const int LOGON32_PROVIDER_WINNT50 = 3; const int LOGON32_P 阅读全文

posted @ 2014-03-17 10:44 哥德巴赫猜 阅读(666) 评论(1) 推荐(1) 编辑


Copyright © 2024 哥德巴赫猜
Powered by .NET 9.0 on Kubernetes