2012年7月21日

摘要: http://www.oracle.com/technetwork/cn/database/windows/downloads/index-101312-zhs.html想在 VS 里面连 ORACLE 用 ENTITY 。1.如果你只需要用ENTITY 那么下个11g版以上的ODAC 就行,不要下10 ,英文不好,最后才注意到11 才开始 EF,反正最好下最新版。2.由于 ORACLE 网站做的非常垃圾 。下的时候需要注册ID,但是那个ID 估计你不FQ一辈子也注册不了,而且就是FQ我也没成功,还是卡,首先网速奇慢,再次网络奇慢再加上滥用AJAX,打一个字符就会传一下,那真的是要吐血,OK, 阅读全文
posted @ 2012-07-21 00:12 胖子黎 阅读(289) 评论(0) 推荐(0) 编辑

2011年11月12日

摘要: C#语言: Codee#23924using System;using System.IO;using System.Reflection;using System.Runtime.InteropServices;using System.Text;public class InfaceMaxtoCode{ private static string IInfaceMaxtoCode_interface_string; private static bool started = false; private static string ByteToString(byte[] inbuf) { 阅读全文
posted @ 2011-11-12 17:54 胖子黎 阅读(309) 评论(0) 推荐(0) 编辑

2011年10月20日

摘要: 1. 基本 构造函数 和 property<!--script>///在这个例子中有需注意的地方: // 1. Schedule 传入的参数必须要是数组类型,如果只是一个Lecture 的实例,那么Length 是undefined . // 2. 这个例子是书上抄的他的 display() 这个方法是没有写括号的,如果没有写括号那么会显示出display 这个函数的源代码.// Lecture 类的构造函数//用 name 和 teacher function Lecture(name, teacher) { //将参数保存为局部属性 this.name = name; this 阅读全文
posted @ 2011-10-20 13:17 胖子黎 阅读(331) 评论(0) 推荐(0) 编辑

2011年9月22日

摘要: ie6对postion:fixed的完美解决方案 今天去一老外站看到了这他站上的十分平滑但却没有js,好奇,原来。。巧妙啊,分享下,相对而言比较节省资源。但效果好,使用方便,兼顾w3c。哈哈 <!-- compliance patch for microsoft browsers --> <!--[if lt IE 7]><link rel="stylesheet" href="ie-stuff.css" type="text/css" media="screen"/><! 阅读全文
posted @ 2011-09-22 16:17 胖子黎 阅读(245) 评论(0) 推荐(0) 编辑

2011年8月19日

摘要: ///群里面有位朋友发的,对自己还有点子用,先就存下了,关键是sqlbulkcopy吧,这个还真还没有用过.using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Data;using System.Data.Sql;using System.Data.SqlClient;using System.Configuration;namespace ConsoleApplication1{ class Program 阅读全文
posted @ 2011-08-19 23:17 胖子黎 阅读(317) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Markup;using System.Windows.Media;using System.Reflection;using System.Windows.Input;using System.Windows.Documents;namespace WpfApplication1{ cla 阅读全文
posted @ 2011-08-19 14:44 胖子黎 阅读(2441) 评论(0) 推荐(0) 编辑

2011年8月18日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Runtime.InteropServices;using System.Diagnostics;namespace ConsoleApplication2{ public class CompactHeap<T>: IDisposable whereT : new() { #region Fields privateIntPtr _ptr, _currPtr; 阅读全文
posted @ 2011-08-18 17:56 胖子黎 阅读(3617) 评论(0) 推荐(0) 编辑

2011年7月7日

摘要: using System;using System.Threading;using System.Collections;//自己的线程包装器interface IBookCollection{ void Clear(); void Add(Book n); Book GetBook(string ISBN); bool IsSync{get;} object Syncroot{get;}}class Book{ public string Name; public string ISBN; public string Author; public string Publisher;}clas 阅读全文
posted @ 2011-07-07 00:30 胖子黎 阅读(266) 评论(0) 推荐(0) 编辑

2011年5月30日

摘要: -- =============================================-- Author:shipeng.wang-- Create date: 2010-12-31-- Description:根据表名,自动生成增、删、改参数化存储过程和调用代码-- =============================================create proc [dbo].[sp_SendCode]@tablename varchar(20), --表名@type int=1, --类型(1:存储过程,2:调用代码)@opertype int=1, --操作类型( 阅读全文
posted @ 2011-05-30 11:52 胖子黎 阅读(377) 评论(0) 推荐(0) 编辑

2011年5月19日

摘要: 编辑器加载中...namespace Microshaoft.Utils { using System; using System.IO; using System.Net; using System.Text; using System.Security; using System.Threading; using System.Collections.Specialized;/// /// 记录下载的字节位置 /// public class DownLoadState { private string _FileName;private string _AttachmentName; p 阅读全文
posted @ 2011-05-19 23:12 胖子黎 阅读(500) 评论(0) 推荐(0) 编辑

导航