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

.netÖÐXMLÎļþ×÷ΪÊý¾ÝÔ´µÄ²Ù×÷Àà

²»½âÊÍÁË£¬×Ô¼º¿´´úÂë°É.......................
using System;
using System.Text;
using System.Data;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using System.Xml;
namespace Gogofly.CommonOperation
{
 /// <summary>
 /// Êý¾ÝÀàÐÍת»»
 /// </summary>
 public class DataTypeConvert
 {
  #region Êý¾ÝÀàÐÍת»»
  public DataTypeConvert(){}
  /// <summary>
  /// ×Ö·û´®×ª»»ÎªÕûÊý
  /// </summary>
  /// <param name="value"></param>
  /// <returns></returns>
  public static int ConvertToInt(string value)
  {   ///Êý¾ÝΪ¿Õ£¬·µ»Ø-1
   if(string.IsNullOrEmpty(value))return -1;
   int result = -1;
   ///Ö´ÐÐת»»²Ù×÷
   Int32.TryParse(value,out result);
   return result;
  }
  /// <summary>
  /// ×Ö·û´®×ª»»ÎªÊ±¼ä
  /// </summary>
  /// <param name="value"></param>
  /// <returns></returns>
  public static DateTime ConvertToDateTime(string value)
  {   ///¶¨Òå³õʼ»¯Öµ
   DateTime result = DateTime.Parse("1900-01-01");
   if(string.IsNullOrEmpty(value)) return result;
   ///Ö´ÐÐת»»²Ù×÷
   DateTime.TryParse(value,out result);
   return result;
  }
  /// <summary>
  /// ×Ö·û´®×ª»»ÎªÊµÊý
  /// </summary>
  /// <param name="value"></param>
  /// <returns></returns>
  public static decimal ConvertToDecimal(string value)
  {   ///¶¨Òå³õʼ»¯Öµ
   decimal result = 0.0M;
   if(string.IsNullOrEmpt


Ïà¹ØÎĵµ£º

Example Code of Using XML Parser in Symbian OS

antonypr | 14 April, 2007 00:05
A couple of weeks ago, I had a plan to write an article and example code of using XML parser in Symbian OS. It seems that another Forum Nokia Champion, Paul Todd had the same idea. He posted a nice article about XML parser in Symbian OS 9.x to Forum Nokia Blogs. It's ......

AndroidÅÄÕÕÉÏ´«³ÌÐòµÄxmlÅäÖÃÎļþ

1. login_window.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg_logo"
>
......

Jdom½¨Á¢XMLÎļþ


   JDOM ÊÇÒ»¸ö¿ªÔ´µÄ´¿java API,ÓÃÓÚ¿ìËÙ¿ª·¢ XML Ó¦ÓóÌÐò,JDOM½«XMLÎĵµ±íʾΪÊ÷£¬°üÀ¨ÔªËØ¡¢ÊôÐÔ¡¢ËµÃ÷¡¢´¦ÀíÖ¸Áî¡¢Îı¾½Úµã¡¢CDATA¶Î£¬µÈµÈ¡£JDOM¿ÉÒÔËæÊ±·ÃÎÊÊ÷ÖеÄÈÎÒⲿ·Ö¡£Ê÷ÖÐËùÓв»Í¬½Úµã¾ùΪ¾ßÌåµÄÀà¡£ÔÚhttp://jdom.org¿ÉÒÔÏÂÔØJDOMµÄ×îа汾(ÎÒÕâÀïÊÇ1.0)¡£ÏÂÔØºó½âѹ£¬JDOMµÄjarÎļþ¾ÍÊÇbuildÄ ......

FOR XMLÓï·¨µ¼³öXMLµÄÒ×´íÖ®´¦

Ô­ÎĵØÖ·£ºhttp://www.cnblogs.com/zhengyun_ustc/archive/2006/06/29/sqlxml_forxmlexplicit.html
[SQLXML]FOR XMLÓï·¨µ¼³öXMLµÄÒ×´íÖ®´¦
Version
Date
Creator
Description
1.0.0.1
2006-6-29
Ö£êÀ@Ultrapower
²Ý¸å
 
¼ÌÐøÔĶÁ֮ǰ£¬ÎÒÃǼÙÉèÄúÊìϤÒÔÏÂ֪ʶ£º
n      &nb ......

¹ØÓÚSQLServer2005µÄѧϰ±Ê¼Ç——XMLµÄ´¦Àí

ÔÚ
SQLServer2005
ÖжÔ
XML
µÄ´¦Àí¹¦ÄÜÏÔÈ»ÔöÇ¿Á˺ܶ࣬ÌṩÁË
query(),value(),exist(),modify(),nodes()
µÈº¯Êý¡£
¹ØÓÚ
xml
£¬ÄÑÒÔÀí½âµÄ²»ÊÇ
SQLServer
ÌṩµÄº¯Êý£¬¶øÊǶÔ
xml
±¾ÉíµÄÀí½â£¬¿´Ëƺܼòµ¥µÄÎļþ¸ñʽ£¬´¦ÀíÆðÀ´È´ÊǷdz£À§Äѵġ£±¾ÎÄÖ»Êdzõ̽һ϶øÒÑ¡£
Ïê¼û
SQLServer
Áª»ú°ïÖú£º
Ö÷Ìâ
˵ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ