´ÓÒ»¸ö·¶Àý¿´XMLµÄÓ¦ÓÃ
ÒýÑÔ
Èç¹ûÄãÒѾ¿´ÁËAsp.Net AjaxµÄÁ½ÖÖ»ù±¾¿ª·¢Ä£Ê½ ÕâƪÎÄÕ£¬Äã¿ÉÄܺܿì»á·¢ÏÖÕâÑùÒ»¸öÎÊÌ⣺ÔÚÄÇƪÎÄÕµķ½Ê½2ÖУ¬¿Í»§¶Ë½ö½öÊÇ·¢ËÍÁËÒ³ÃæÉÏÒ»¸öÎı¾¿òµÄÄÚÈݵ½·þÎñ¶Ë£¬¶ø·þÎñ¶ËµÄWeb·þÎñ·½·¨Ò²Ö»½ÓÊÕÒ»¸öÀ´×Ô¿Í»§¶ËµÄ×Ö·û´®ÀàÐ͵ÄÊýÖµ¡£¶øºÜ¶àʱºò£¬·þÎñ¶ËµÄ·½·¨ÆÚÍû½ÓÊÕµÄÊÇÒ»¸ö×Ô¶¨ÒåÀàÐÍ£¬»òÕßÊǶà¸ö²»Í¬ÀàÐ͵IJÎÊý¡£ÎªÁËÄܹ»´¦ÀíÕâÖÖÓÉÒ»¸ö×Ö·û´®°üº¬¶àÖÖ²»Í¬ÀàÐÍÖµÇé¿ö£¬ÎÒÃÇ¿ÉÒÔ²ÉÓÃXML¡£
ÕâƪÎÄÕ½«¹¹½¨Ò»¸ö¼òµ¥µÄͼÊé²éѯҳÃ棬ͨ¹ýÕâ¸ö³ÌÐò£¬ÎÒÃǽ«»á¿´µ½XML¡¢XSDģʽÑéÖ¤¡¢XSLTÑùʽת»»£¬ÒÔ¼°Asp.Net½Å±¾»Øµ÷¹¦ÄܵÄÒ»¸ö×ÛºÏÓ¦Óá£
Êý¾Ý¿â½¨Á¢ºÍÊý¾Ý·ÃÎÊ
ÎÒÃÇÏÈ¿´Ò»ÏÂÕâ¸öWebÒ³ÃæʵÏֵŦÄÜ£ºÒ³ÃæÌṩһЩÎı¾¿ò¹©Óû§ÊäÈ룬°üÀ¨ÊéÃû¡¢³ö°æÉç¡¢×÷ÕßµÈÐÅÏ¢£¬È»ºó½«ÕâЩÐÅÏ¢·¢Íù·þÎñÆ÷£¬·þÎñÆ÷¶ÔÊý¾Ý¿â½øÐвéѯ£¬È»ºó·µ»Ø²éѯ½á¹û¡£Èç¹ûÊÇͨ³£µÄAsp.Net¿ª·¢£¬Íê³ÉÕâÑùµÄ¹¦ÄÜÊǺܻù±¾µÄÒªÇ󣬸ù±¾Óò»×ÅÎÒ»¨Ê±¼äдÕâЩÎÄ×Ö£¬µ«ÕâÀïÎÒÃÇÏ£ÍûʵÏÖAjax·½Ê½µÄЧ¹û£¬ËùÒÔ¾ÍÐèÒª½â¾öÒýÑÔÖÐÌá³öµÄÎÊÌâ¡£
Èç¹ûÄã¿´¹ýÎÒµÄÎÄÕ£¬ÄÇôӦ¸ÃÖªµÀÎÒϲ»¶ÑÐò½¥½øµÄд×÷·½Ê½£¬ÕâƪҲÊÇÒ»Ñù£¬ÎÒÃÇÏÈ´ÓÊý¾Ý¿â½¨Á¢¿ªÊ¼¡£ÓÉÓÚÊý¾Ý¿âºÍÊý¾Ý·ÃÎʲ¢²»ÊDZ¾ÎĵÄÖص㣬ËùÒÔÎÒÖ»¼òµ¥µØÃèÊöһϲ½Öè¡£ÔÚ±¾µØSQL Server»òÕßÖ±½ÓÔÚApp_DataÏÂн¨Ò»¸öÊý¾Ý¿â£¬ÆðÃû½ÐSiteDB£¬È»ºó½¨Ò»¸ö±íBook£¬×ֶεÄÉ趨ÈçÏ£º
ËæºóÌî³äһЩ·¶ÀýÊý¾Ý£¬Èç¹ûÄãÏë½ÚÔ¼µãʱ¼ä£¬ÄÇô¿ÉÒÔÖ±½ÓÏÂÔر¾ÎÄËù¸½´øµÄ´úÂ룬ÔÚApp_DataÎļþ¼ÐÏ°üº¬ÓÐSiteDBÊý¾Ý¿â¡£
½ÓÏÂÀ´ÎÒÃÇÔÚApp_CodeÎļþ¼ÐÏÂÌí¼ÓÒ»¸öSiteBLL.csÎļþ£¬±¾ÎÄÓõ½µÄËùÓдúÂëÂß¼¶¼°üº¬ÔÚÁËSiteBLLÀàÖУ¬Õâô×öÏÔÈ»ÊDz»Í׵ģ¬µ«ÕâÀïÎÒÃÇÖ÷Òª¹Ø×¢µÄÊÇXMLµÄÓ¦Ó㬶ø·Ç¹¹¼ÜÓëÉè¼Æ£¬ËùÒÔÔÝÇÒ¾ÍÕâ¸öÑù×ÓºÃÁË¡£ºÜÈÝÒ×¾ÍÄÜÏëµ½£¬ÎÒÃÇÒªÌí¼ÓµÄµÚÒ»¸ö·½·¨£¬»áÓµÓÐÏÂÃæÕâÑùµÄÇ©Ãû£¬Ëü¸ù¾Ý·½·¨µÄ²ÎÊý²éѯÊý¾Ý¿â£¬È»ºóÒÔDataSetµÄÐÎʽ·µ»Ø½á¹û£º
private static DataSet SearchBook
(string name, string author, string publisher, DateTime pubDate, decimal price)
Èç¹ûÒª¹¹½¨Ò»¸öʵ¼ÊµÄ²éѯ£¬ÄÇôÐèÒªºÜ´óÁ¿µÄÊý¾Ý²ÅÄܱ£Ö¤¼¸ºõÿ´ÎËÑË÷¶¼Äܹ»»ñµÃµ½Êý¾ÝÀ´ÌṩÑÝʾ£¬¶øʵ¼ÊÉÏÎÒÃÇÖ»Ìí¼ÓÁË5Ìõ·¶ÀýÊý¾Ý£¬ËùÒÔÈÃÎÒÃǸɴཫËüÃÇÈ«²¿·µ»Ø£¬¶øºöÂÔÕâÀïµÄ²ÎÊý£¬µ«ÔÚʵ¼Êµ±ÖУ¬µ±È»ÊǸù¾ÝÕâЩ²ÎÊýÀ´»ñµÃʵ¼ÊµÄ·µ»ØÊý¾Ý£º
private static DataSet SearchBook(string name, string author,
string publi
Ïà¹ØÎĵµ£º
XML Schema attributeGroup ÔªËØ
¶¨ÒåºÍÓ÷¨
attributeGroup ÔªËØÓÃÓÚ¶ÔÊôÐÔÉùÃ÷½øÐÐ×éºÏ£¬ÕâÑùÕâЩÉùÃ÷¾ÍÄܹ»ÒÔ×éºÏµÄÐÎʽºÏ²¢µ½¸´ÔÓÀàÐÍÖС£
ÔªËØÐÅÏ¢
³öÏÖ´ÎÊý
ÎÞÏÞÖÆ
¸¸ÔªËØ
attributeGroup¡¢complexType¡¢schema¡¢restriction (simpleContent)¡¢extension (simpleContent)¡¢rest ......
ÔÏÈÒ»Ö±ÓÃBinaryFormatterÀ´ÐòÁл¯Í¦ºÃ£¬¿ÉÊÇ×î½ü·¢ÏÖÔÚWinCEÏÂÊÇûÓа취½øÐÐBinaryFormatter²Ù×÷£¬ºÜ²»Ë¬£¬Ö»ÄܸijÉÁËBinaryWriterºÍBinaryReaderÀ´¶Áд£¬Í»È»Ïëµ½Äܲ»ÄÜÓÃXMLÀ´ÐòÁл¯£¿ÓÚÊÇÔÚÍøÉϲéÁËЩ×ÊÁϱãдÁËЩʵ¼ùÐÔ´úÂ룬×öЩ¼Ç¼£¬±ÜÃâÒÔºóÍü¼Ç¡£
ÐòÁл¯¶ÔÏó
public class People
......
/// <summary>
/// Ö§³ÖXMLÐòÁл¯µÄ·ºÐÍ Dictionary
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <typeparam name="TValue"></typeparam>
[XmlRoot("SerializableDictionary")]
public class SerializableDictionary<TKey, TValue& ......
Caused by: java.sql.SQLException: ORA-00918: column ambiguously defined
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml.
--- The error occurred while applying a parameter map.&nbs ......
¡¡¡¡inkfishÔ´´£¬ÇëÎðÉÌÒµÐÔÖÊתÔØ£¬×ªÔØÇë×¢Ã÷À´Ô´£¨http://blog.csdn.net/inkfish
£©¡£
¡¡¡¡PropertySet£¨À´Ô´£ºhttp://blog.csdn.net/inkfish£©
ÊÇÓÉopensymphony×éÖ¯¿ª·¢µÄµÄÒ»¸ö¿ªÔ´ÏîÄ¿£¬µ«ÊÇÄǸöÏîÄ¿ÎĵµÉÙ£¬³¤Ê±¼äûÓиüУ¬¹Ù·½Îĵµ´íÎóÆæ¶à£¬ËùÒÔÏÖÔÚÔÚÏîÄ¿ÖÐʹÓò¢²»¹ã·º¡£µ«Õâ²¢²»·Á°PropertySet³ÉΪһ¸öÓ ......