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

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

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

C# code:
private void connserver()
{

Cursor.Current = Cursors.WaitCursor;
try
{
DataSet ds = new DataSet();
SqlCeConnection conn = new SqlCeConnection(constr);
SqlCeCommand cmd = new SqlCeCommand("select vcbarcode,cdeptid,citemid,cbaseitemid,cname,cmeasure,cmodel,funitqty,fnowinprice,fsellprice from vco_items ", conn);
SqlCeDataAdapter clientda = new SqlCeDataAdapter();
SqlCeCommand insert = new SqlCeCommand("insert into vco_items(vcbarcode,cdeptid,citemid,cbaseitemid,cname,cmeasure,cmodel,funitqty,fnowinprice,fsellprice) select @vcbarcode,@cdeptid,@citemid,@cbaseitemid,@cname,@cmeasure,@cmodel,@funitqty,@fnowinprice,@fsellprice");
insert.Parameters.Add("@vcbarcode", SqlDbType.NVarChar, 30, "vcbarcode");
insert.Parameters.Add("@cdeptid", SqlDbType.NChar, 4, "cdeptid");
insert.Parameters.Add("@citemid", SqlDbType.NChar, 6, "citemid");
insert.Parameters.Add("@cbaseitemid", SqlDbType.NChar, 6, "cbaseitemid");
insert.Parameters.Add("@cname", SqlDbType.NVarChar, 50, "cnam


Ïà¹ØÎÊ´ð£º

¸ß·ÖÇósqlserverдexcel - MS-SQL Server / ÒÉÄÑÎÊÌâ

1.Ôõô°ÑÊý¾Ý´ÓsqlserverÀïÃæµÄÊý¾ÝдÈëµ½Ö¸¶¨Â·¾¶µÄexcel
±ÈÈç
declare @¹«Ë¾Ãû³Æ char(50)
set @¹«Ë¾Ãû³Æ = (select ¹«Ë¾Ãû³Æ from ¹«Ë¾ÐÅÏ¢)
EXEC [master]..xp_cmdshell 'bcp "select * from [master]. ......

JDBCÁ¬½ÓSQLServer 2000µÄÎÊÌâ - Java / Web ¿ª·¢

HTTP Status 500 - 
--------------------------------------------------------------------------------
type Exception report
message 
description The server encountered an internal error ......

sqlserverµÄ´æ´¢¹ý³ÌµÄÎÊÌâ - MS-SQL Server / »ù´¡Àà

sqlserverµÄ´æ´¢¹ý³ÌÓÐoracleµÄÄÇÖÖ°üµÄ¸ÅÄîô£¿
¾ÍÊǺܶà¸öÂß¼­ÉÏÓÐÁªÏµµÄ´æ´¢¹ý³ÌÊÇ¿ÉÒÔ·ÅÔÚÒ»¸öpackageÀïÃæµÄ£¿
oracle²»¶®¡£

Ã»Íæ¹ýOµÄ£¬°ï¶¥¡£

ÄÇsqlserver µÄ´æ´¢¹ý³Ì¾ÍÊÇÒ»¸ö¸öµ¥¶ÀµÄÈ«²¿ÁÐÔÚ¡°´æ´¢¹ ......

¼±¾È£¡£¡£¡£¡sqlserver - .NET¼¼Êõ / C#

ÔÚÒ»¸ö±íͬʱ¸üжàÌõÊý¾Ý ²»ÒªËµÓÃin
¸÷λ´óϺ°ï°ïæ
ʲôÒâ˼?ÐèҪʲôÌõ¼þ?²»ÐèÒªÌõ¼þÄǾÍÖ±½Ó¸üÐÂßÂ
update xxx set yyy=zzz

Ò»´ÎUpdateÓï¾ä£¬Ö»ÄܸüÐÂÒ»¸ö£¬ÒªÃ´¶à´ÎUpdate,Ҫôдһ¸ö´æ´¢¹ý³Ì£¬´æ´¢¹ý³Ì ......

sqlserver ´¥·¢Æ÷ - MS-SQL Server / »ù´¡Àà

ÓÐÁ½¸ö±íÒ»¸öÊǿͻ§¶©µ¥±í(¶©µ¥ºÅ£¬²úÆ·ºÅ£¬ÊýÁ¿£¬¼Û¸ñ£©,Ò»¸öÊÇÉÌÆ·±í(²úÆ·ºÅ£¬²úÆ·Ãû£¬²úÆ·ÊýÁ¿)
ÈçºÎÓô¥·¢Æ÷Íê³Éµ±²åÈë¿Í»§¶©µ¥±íºó£¬»á×Ô¶¯¸üÐÂÉÌÆ·±íÖеIJúÆ·ÊýÁ¿
Èô²úÆ·ÊýÁ¿²»¹»Ê±±¨´í£¨¿ÉÊä³öÎÄ×Ö±¨´íÐÅÏ¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ