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

c/sÖÐÓù˼°µ½SQL×¢Èëô - .NET¼¼Êõ / C#

¿Í»§¶ËÊÇÕâôдµÄ´úÂë
selname ="select top 20 num,name,kind,address,price,phone,title,picture,time from shangpin where name='" + comboBox2.Text + "' order by time desc"
È»ºó°Ñselname·¢Ë͸ø·þÎñÆ÷,·þÎñÆ÷ÔÙ¸ù¾ÝÕâ¸ö×Ö·û´®È¥²éѯ,°Ñ²éѯ½á¹ûÒÔdatatable·¢»ØÀ´.

ÄÇÕâ¸öÖ±½ÓдÔÚ¿Í»§¶ËÈ¥²Ù×÷Êý¾Ý¿â²»¾ÍÐÐÁË
ºÎ±ØÔÙÈ÷þÎñÆ÷¶ËÅÜÒ»±éÈ¥Ö´ÐÐÄØ£¿
Õâ²»ÀË·Ñ×ÊÔ´Âï

Ìá¸ß°²È«ÐÔ£¿£¿



µ±È»ÁË£¬Ò²Òª¿¼ÂÇ£¬²»¹ýÑéÖ¤¿ÉÒÔÔÚclinet¶Ë×ö¡£

ÓòÎÊý,¿ÉÒÔ·ÀÖ¹sql×¢Èë

ÒýÓÃ
µ±È»ÁË£¬Ò²Òª¿¼ÂÇ£¬²»¹ýÑéÖ¤¿ÉÒÔÔÚclinet¶Ë×ö¡£

Ôõô×öÑéÖ¤?



good good study,day day up

Ìõ¼þ´«Öµ½øÐвÎÊý»¯


ÈçÉÏÃæËù˵£º°²È«¸ßЧ¡£

ÓÐÈË˵LINQ¾Í¿ÉÒÔ·ÀÖ¹SQL×¢Èë
²»ÖªµÀÊDz»ÊÇÕæµÄ
¸öÈËÈÏΪLINQºÜºÃ¡¢ºÜÇ¿´ó

¼ÈÈ»ÊÇC/SÄã²»ÓÃDB ClientÈ´·¢ËÍʲôSQLÓï¾ä²»ÊdzԱ¥Á˳ŵÄÂð...

ÒýÓÃ
¼ÈÈ»ÊÇC/SÄã²»ÓÃDB ClientÈ´·¢ËÍʲôSQLÓï¾ä²»ÊdzԱ¥Á˳ŵÄÂð...

ÎÒ²ËÄñ,ÎÊÏÂDB ClientÊÇʲô?

»Ø¸´ÄÚÈݲ»ÄÜΪ¿Õ,ÇëÊäÈë»Ø¸´£¡

ÒýÓÃ
¿Í»§¶ËÊÇÕâôдµÄ´úÂë
selname ="select top 20 num,name,kind,address,price,phone,title,picture,time from shangpin where name='" + comboBox2.Text + "' order by time desc"
È»ºó°Ñselname·¢Ë͸ø·þÎñÆ÷,·þÎñÆ÷ÔÙ¸ù¾ÝÕâ¸ö×Ö·û´®È¥²éѯ,°Ñ²éѯ½á¹ûÒÔda¡­¡­
ÊDz»ÊÇ·¢Ë͸ö¡°delete from shangpin where name like 'A%'¡


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

sqlССµÄÒÉÎÊ - .NET¼¼Êõ / C#

¿ÉÄÜÒòΪ¹¤×÷µÄÔ­Òò ½Ó´¥Êý¾Ý¿âÕâ¿é±È½ÏÉÙ£¬Ö®Ç°¶¼ÊÇ×ö³ÌÐòÕâ¿é£¬Êý¾Ý¿âÕâ¿é¶¼ÓÐרÃŵÄÈËÀ´×ö ·Ö¹¤¶¼ºÜÃ÷ϸ ËùÒÔ¶ÔÊý¾Ý¿âÕâÒ»¿éÍêÈ«²»Á˽⡣ǰ¶Îʱ¼ä È¥ÃæÊÔÁ˼¸¼Ò¹«Ë¾ ¼¸ºõ¶¼ÊÇÔÚÊý¾Ý¿âÕâ¿é¹ÒµôµÄ Á¬¸ö¼òµ¥µÄSQ ......

ÇóÒ»sqlÓï¾ä - MS-SQL Server / ÒÉÄÑÎÊÌâ

ÏÖÔÚÓÐÁ½ÕÅ±í£ºÎÄÕÂÖ÷±íA(articleId,articleTitle)£¬ÎÄÕÂÆÀÂÛ±íB(commentId,articleId,commentTitle)
ÏÖÔÚÎÒÏëʵÏÖÕâÑùµÄ¹¦ÄÜ£ºÁгöÎÄÕÂÁÐ±í£¬ÆäÖÐÿƪÎÄÕ±êÌâÏÂÃæÁгö´ËÎÄÕµÄÇ°2¸öÎÄÕÂÆÀÂÛ£¬ÇëÎÊsqlÓï¾äÔõôд°¡ ......

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

c# Winform ´¥ÃþÆÁ³ÌÐò - .NET¼¼Êõ / C#

¹«Ë¾¿ª·¢Ò»¸ö´¥ÃþÆÁ³ÌÐò£¬ÎÒ¸ºÔðµÄÒ»¿é£¬ÊµÏÖÕâÑùÒ»¸ö¹¦ÄÜ£¬µ±Êó±êµã»÷´°¿ÚÖÐͼƬ£¨Ò»ÕÅͼ·Ö³É¼¸²¿·Ö£©µÄÆäÖÐÒ»²¿·Öʱ£¬½«Õⲿ·ÖͼƬ½ØÈ¡³öÀ´£¬µ¯³öеĴ°¿Ú£¬½«½ØÈ¡³öµÄͼƬÏÔʾ³öÀ´¡£ÎÒʹÓÃRectangeÀà¿ØÖÆÁË·µ»Ø£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ