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

¸Õ²Åc#תjava£¬ÏëÎÊÒ»ÏÂjavaÓÐÏñdatatableµÄ¶«Î÷Âð?

javaÌáÈ¡Êý¾ÝÓÐÄü¸ÖÖ·½·¨£¿
˵µÄ²»Ì«Ã÷°×  datatable ûÌý˵¹ý¡£

C#ÖÐÄãÓõÄÊǿؼþ¡£ÔÚjavaÖÐÓ¦¸ÃÓÐÕâÑùµÄ¿ªÔ´³ÌÐò¡£²»¹ý´ÓÎÒ¿ª·¢À´½²£¬ÎÒ¶¼ÊÇ×Ô¼ºÐ´µÄtable¡£

javaÊÇָʲô£¿
javaSE --ÓÐÀàËÆdatatable ¿Ø¼þ
»¹ÊÇ
JAVAEE --ûÓж¼ÊÇjsp html£¬ÏëÒªÕҿؼþ

ÏÖÔÚÓÃflex×öǰ̨ºÍ.netÀàËÆ--¶¼ÊÇÍÏק¿Ø¼þ²Ù×÷

JSF

ResultSet

ÓУ¬½ÐResult
ÔÚÄĸö°üÍüÁË

Â¥Ö÷ ºÍÎÒÓöµ½µÄÎÊÌâ²î²»¶à¡£¡£
ÎÒÏÖÔÚ¾ßÌå½â¾ö˼·ÊÇ
´ÓC# ÖÐÀïµÄ dataset Êý¾Ý¼¯ ͨ¹ýwebservice·µ»Ø
ÊÇxmlÎļþµÄ¸ñʽ¡£
Ò²³É¹¦½âÎö³Édataset
Ôڴ˹ý³ÌÖС£°ÑdatasetÀïÃæµÄÊý¾Ý´æ·Åµ½Ò»¸öString[][]ÀïÃæ¡£
ÒòΪÕâÑù¾ÍÏñÒ»ÕűíÒ»Ñù¡£
Æð³õÎÒÒ²ÈÏΪÓиöÏñtableÒ»ÑùµÄ¶«Î÷¡£ÕÒÁË°ëÌìûÓС£
ÏÖÔÚÖ»ÄÜ·ÅÔÚString[][]ÕâÀïÁË¡£ÎÒÓõÄÊÇJ2ME ÔÚÊÖ»úÉÏÏÔʾµÄ¡£
Ï£ÍûÄãÄÜÕÒµ½¸üºÃµÄÈçtableµÄ¶«¶«¡£
ÒÔºóÔÙÑо¿Ò»Ï VectorÀà arrylistµÈÏà¹ØµÄ¶«¶«

»¹ÓÐÂ¥Éϼ¸Î»Ëù˵ResultSet ÒªºÃºÃÑо¿Ò»Ï¡£

¹À¼Æ˵µÄÊÇresultsset dµ«ÊǺÍdatetable²î±ð»¹ÊǺܴóµÄ

resultsset ¸úc#µÄdatareader»ù±¾Ò»Ñù

ÎÒÒ²ÊÇת¹ýÀ´µÄ
ûÓÐ
Äã¾Í·ÅÔÚlistÀïÃæ°Ñ

¿ÉÒÔ·ÅÔÚarraylist»òlistÀï¡£ÓÃjstl´òÓ¡³öÀ´¾Í¿ÉÒÔÁË¡£

JSF ÖÐÓÐ datatable ×é¼þ£¬JSP ÖÐûÓУ¡

×Ô¼ºÊµÏÖ°É¡£¡£¡£
ÎÒÒ²²»¾õµÃdatatableÓÐʲôºÃÓᣡ£¡£¿ÉÄÜɸѡµÄʱºò·½±ãµã¡£¡£

ÒýÓÃ
×Ô¼ºÊµÏÖ°É¡£¡£¡£
ÎÒÒ²²»¾õµÃdatatableÓÐʲôºÃÓᣡ£¡£¿ÉÄÜɸѡµÄʱºò·½±ãµã¡£¡£


»


Ïà¹ØÎÊ´ð£º

jsp ÖÐÂÒÂëµÄ - Java / Web ¿ª·¢

ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8 
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
 <form class="form" action=&quo ......

ÔõôÓÃJavaʵÏÖ¶¨Ê±Ö´ÐÐij³ÌÐò - Java / Java SE

ÎÒÏëÓÃJavaдһ¸ö³ÌÐò£¬¾ÍÊÇÎÒÏëÔÚÔËÐдúÂëºó£¬ÔÚÖ¸¶¨µÄʱ¼ä´ò¿ªÄ³³ÌÐò£¬ÀýÈçÎÒÔËÐдúÂëºó£¬½²ÔÚ12£º00´ò¿ª"D:\Program Files\Tencent\QQ2009\Bin\QQ.exe"Õâ¸ö³ÌÐò£¬Çó¸ßÈËÖ¸µã¡£»¹ÓпÉÄܵĻ°ÔÚÖ¸¶¨µÄʱ¼ä ......

java³ÌÐòÁ¬½ÓSQlServerµÄÎÊÌâ - Java / Java SE

import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class QueryTest&n ......

Mysql ʹÓÃÎÊÌâ - Java / Web ¿ª·¢

ÎÒµÄMysql ʹÓõÄʱºò ÓÃdos½¨Á¢µÄÊý¾Ý±í ÔÚdosÖÐÄÜÏÔʾ³öÖÐÎÄ 
µ«ÊÇÔÚ ÆäËûµÄ¿ÉÊÓÒ³Ãæ ºÍÍøÒ³Öж¼ÏÔʾÂÒÂë ÈçºÎ½â¾ö£¿
ÔÚmysql¿ØÖÆ̨:show variables like 'char%';Ìù½á¹û³öÀ´¿´¿´¡£

mysqlÃüÁîÐÐģʽÏÂ: ......

javaÔ¶³Ìµ÷ÓÃexe£¿ - Java / Java EE

ÈçÌ⣬ÏÖÔÚÔÚ×öÒ»¸öͳһÃÅ»§ÏµÍ³£¬Ä¿Ç°Ö»Ö§³Öweb¶ËµÄ¹ÜÀí£¬ÆäÖÐÓÐÒ»¼Ò¹«Ë¾ÏµÍ³ÊÇexe¿ÉÖ´ÐÐÎļþµÄ£¬·ÅÔÚwindows2003·þÎñÆ÷ÉÏ£¬ÎÒÔõôԶ³ÌÄܵ÷ÓõĹýÀ´ËûµÄexeÖ´ÐÐÎļþ£¿ÇëÖªµÀµÄ¸æÖª½â¾ö·½°¸µÈ£¬ÏÈлÁË¡£
ÄãµÄÒâ˼¾Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ