上一页 1 ··· 4 5 6 7 8
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2011-10-22 14:30 brian_lee 阅读(12) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication15{ class Program { static void Main(string[] args) { //Singleton stest = new Singleton(); Singleton.CreateInstance(); Singleton.CreateInstance(); Console.WriteLine("OK"); } } public class Singleton 阅读全文
posted @ 2011-09-28 14:11 brian_lee 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1、<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html x 阅读全文
posted @ 2011-09-26 22:23 brian_lee 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1、DBAccess.cs/*add by lishuai 20110922Just a Winform test.*/using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.OracleClient;using System.Collections;namespace WindowsApplication7{ public static class DBAccess { private static string connectionstring = 阅读全文
posted @ 2011-09-26 22:20 brian_lee 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 一、DBAccess.cs:using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;using System.Collections;namespace WindowsApplication6{ public static class DBAccess { private static string connectionstring = "Data source=(local)\\sqlexpress;initial ca 阅读全文
posted @ 2011-09-26 22:15 brian_lee 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: 问题描述:原有SQL Server硬件故障,时常死机,故更换刀片虚拟机上。重新安装SQL SERVER 2005后,架设asp.net 程序,发现程序报错,无法连接远端SQL SERVER。错误图片一:错误图识二(Debug):网上搜索得到答案:修改前连接字符串:ConnectionString = "provider=sqloledb.1;data source=10.55.10.21;initial catalog=pedpda;user id=ped;pwd=pedpda";修改后(IP后面增加端口号,1433):ConnectionString = "pr 阅读全文
posted @ 2011-09-09 10:19 brian_lee 阅读(2372) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure sap_sm_up2ism_MANDT varchar2(3); ---clientm_GROUP_ID varchar2(30); ---GROUP_IDm_WERKS varchar2(4); -----?紅--m_LGORT varchar2(4); -----祇砯???絏--m_UMLGO varchar2(4); -----?Μ???絏---m_MATNR varchar2(18); -----??腹絏--m_CHARG varchar2(10); -----?腹m_sapreadflag number(2); -----SAP 阅读全文
posted @ 2011-09-07 16:15 brian_lee 阅读(952) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8