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

sql²éѯ ÎÊÌâ ÐÂÊÖÈëÃÅ¡­¡­ - .NET¼¼Êõ / ASP.NET

ÃèÊö£ºÊý¾Ý¿âÖÐ×ֶκÍÊý×ÖÈçÏÂËùʾÏêÇé
ÆäÖÐstatus×ֶΣºo´ú±íδÇå¡¢l´ú±íËðʧ¡¢w´ú±íӮȡ
cardcode------------------cardcaname-------------status
c00001----------------------ÐÂΡ¶ë-----------------o
c00001----------------------ÐÂΡ¶ë-----------------o
c00001----------------------ÐÂΡ¶ë-----------------l
c00001----------------------ÐÂΡ¶ë-----------------w
c00002----------------------ÃÀµÛ------------------l
c00002----------------------ÃÀµÛ------------------w
c00003---------------------»ªÏÄ-------------------w
c00003---------------------»ªÏÄ-------------------w

ÓÃsqlÓï¾äµÃµ½ÈçϽá¹û£º
»ï°é´úÂë-----------------»ï°éÃû³Æ---------------×ܼÆ-----------δÇå×ܼÆ----------Ӯȡ×ܼÆ--------Ëðʧ×ܼÆ
c00001-------------------ÐÂΡ¶ë-----------------4----------------2----------------1----------------1
c00002-------------------ÃÀµÛ-------------------2----------------0----------------1----------------1
c00003-------------------»ªÏÄ-------------------2----------------0----------------2----------------0

ÇóÏê½â¡£¸÷λ´óϺ°ï°ïæ¡£


Ò»¶¨Òª¶¥¶¥¶¥¶¥¶¥

û¿´¶®£¬ÊDz»ÊÇÔÚ×öÓÎÏ·£¿

caseÓï¾äÓ¦¸Ã¿ÉÒԸ㶨£¬×Ô¼ºÂýÂýÊÔÊÔ°É£¡

SQL code:
DECLARE @t TABLE (cardcode NVARCHAR(10),cardcaname NVARCHAR(10),STATUS NVARCHAR(10))
INSERT INTO @t
SELECT 'c00001','ÐÂΡ¶ë','o'
UNI


Ïà¹ØÎÊ´ð£º

csvÎļþת»»³Ésqlµ¼Èëµ½Êý¾Ý¿â£¬Ã»ÓÐÊý¾ÝΪºÎ£¿

Ö´ÐеÄ˳Ðò£º
1£©Îļþä¯ÀÀ¿ò£¨Ñ¡ÔñÎļþʹÓã©
Ñ¡ÔñºÃÎļþºó
µã»÷Ò»¸öµ¼Èë°´Å¥µÄʱºò £¬°ÑÉÏÃæÉÏ´«¿òÀïµÄcsvÎļþÒÔÒ»¸öIDΪÎļþÃû£¬ÉÏ´«µ½**/**Îļþ¼ÐÏÂ
2£©¶ÁÈ¡Õâ¸öÎļþ¼ÐϵÄcsvµÄÎļþ£¬×ª»»³Ésql
3 ......

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

ÇóÒ»¸öSQLÓï¾ä - MS-SQL Server / »ù´¡Àà

×Ö¶Î1,×Ö¶Î2.....×Ö¶ÎN,Status,ParentID
1,Name1....test1,1,99
1,Name1....test1,3,99
1,Name2....test2,1,101
1,Name2....test2,3,101
1,Name3....test3,2,101
1,Name1....test1,4,101
ÏëÒªµÄ½á¹ûÊÇ:
1,Na ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿ - MS-SQL Server / »ù´¡Àà

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿
ÖÁÉٵø½¼Óµ½sqlserverÉÏ

¾ßÌåÔõôŪ°¡ ÎҵıÏÒµÉè¼ÆµÄÊý¾Ý¿âÊÇ´ÓÍøÉÏdownÏÂÀ´µÄ£¿£¿

Ä㻹²»ÈçÖ±½ÓÓÃsqlserverÄØ

º¯Êý¡¢´æ´¢¹ý³Ì¶¼µÃ¸ÄÁË¡£

sqlserverûÔõôÓùý¡£Ò²Ã»Óа²× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ