Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ado·ÃÎÊÔ¶³ÌÊý¾Ý¿â(Ô¶³Ì·ÃÎÊsqlserver)

ÊÇÕâÑùµÄ£¬ÎÒÓÃÊÇODBCÊý¾ÝÔ´Á¬½Ó·þÎñÆ÷µÄÊý¾Ý¿â£¬ÏÖÔÚÎÒ¾õµÃºÜÂé·³£¬ÒòΪҪΪÿÈç»úÌí¼Ó¶ÔÓ¦µÄÊý¾ÝÔ´£¬Ïë°ÑËû¸Ä³ÉADO·½·¨À´·ÃÎÊ·þÎñÆ÷µÄÊý¾Ý¿âÄÜʵÏÖÂð£¿ÒªÔõôд¡£
±ÈÈç·þÎñÆ÷ÀïÓжþ¸öÊý¾Ý¿âdata1 ºÍdata2£¬¿Í»§¶ËÕâ±ßÎÒÉÏÓÃACESSS\vbaÀ´×ö³ÌÐò£¬ÒªÔõô²ÅÄÜÁ¬½Ó·ÃÎʵ½ÎÒ·þÎñÆ÷ÀïÃæµÄÁ½¸öÊý¾Ý¿âµÄÊý¾ÝÄØ£¿Ð»Ð»
http://hi.baidu.com/jjg0513/blog/item/23174d551c795ecdb745aef5.html

²Î¿¼ÏÂ

Ò»´ÎÖ»ÄÜÒ»¸ö.

±ÈÈç·þÎñÆ÷ÀïÓжþ¸öÊý¾Ý¿âdata1 ºÍdata2

ÄãÓÃADOÁ¬½ÓÖ±½Ó·ÃÎÊÄãµÄ·þÎñÆ÷

ΪʲôҪÊÇACCESSµÄ

Â¥ÉÏÄãÌ«¸ãЦÁË°É¡£ÄãµÄÒâ˼ÊÇSQLÖ»Äܽ¨Ò»¸öÊý¾Ý¿âà¶

ÒýÓÃ
Â¥ÉÏÄãÌ«¸ãЦÁË°É¡£ÄãµÄÒâ˼ÊÇSQLÖ»Äܽ¨Ò»¸öÊý¾Ý¿âà¶


ÎÚ¹êµÄÒâ˼ÊÇÒ»´ÎÖ»ÄÜÁ¬½ÓÒ»¸öÊý¾Ý¿â

ÓÃÁ½¸öÁ¬½ÓÀ´Á¬

Ôõô¸öÁ¬½Ó·¨£¬Ëµ¾ßÌåÒ»µãß¹¡£¡£¸ßÊÖÃÇ


Ïà¹ØÎÊ´ð£º

ACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000

  ÎÒµÄÊý¾Ý¿âÊǼòÌåsqlserver2000 ,ÎÒÏëÔÚ·±ÌåaccessÏÂÁ¬½Ó,ͨ¹ýodbcÊÇ¿ÉÒÔÁË,µ«ÔÚaccessϳöÏÖ´ò¿ªµÄ±íÈ«ÖÐ"#ÒÑɾ³ý"
²»ÖªµÀÒªÔõô²Ù×÷²Å¿ÉÒÔÓÃACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000.лл!!!
´ó¼Ò¶¼ ......

°ÑÒ»¸ösqlserverÌáÈ¡µÄdataset²åÈëµ½sqlce

Êý¾Ý10WÌõÒÔÉÏ,wm6.5ƽ̨,ÄÚ´æÓÐÏÞ

C# code:
private void connserver()
{

Cursor.Current = Cursors.WaitCursor;
try
{
......

sqlserver 1433¶Ë¿ÚµÄÎÊÌâ(ÕûÁËÒ»ÌìÎÞ¹û,¶¥Ò²ÓзÖ)

xp(sp3)ϵͳ°²×°ÁËsqlserver2000£¬sp3£¬sp4²¹¶¡¶¼´òÁË¡£¶øÇÒ±¾»úÒ²ÄÜÁ¬½Ó·ÃÎÊ¡£
ÎÊÌâÊÇ£º
±¾»útelnet ip 1433 ×ÜÊÇÌáʾÁ¬½Óʧ°Ü£¬
¶øÇÒnetstat -naʱ£¬¿´²»µ½1433¶Ë¿Ú±»Õ¼ÓÃ
(¿Ï¶¨µÄÊÇ£º¶Ë¿ÚÊÇ1433£¬¿ªÆ ......

jdbcÓëSQLserverÁ¬½Ó

package com.tongying.www.until;

public class Resource {
// MySQlÊý¾Ý¿âµÄ×ÊÔ´
/* public static final String DRIVER="com.mysql.jdbc.Driver";
public static final String URL=&qu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ