摘要:
///<summary>///Parses the specified block of a text///</summary>///<return>///Returns the end position of a parsed block.///</return>protected int ParseBlock(XmlNode parentNode,TagBase parentTag,string text,int position){ #region check the arguments if(parentNode==null) { thr 阅读全文
posted @ 2012-05-07 20:08
szjdw
阅读(183)
评论(0)
推荐(0)
摘要:
///<summary>///the name of the Value xml node.///</summary>protected const string cValueXmlAttributeName="Value";///<summary>///Retrieves the value of the specified tag xml node.///</summary>protected string GetXmlNodeValue(XmlNode node){ if(node==null) { throw new 阅读全文
posted @ 2012-05-07 15:27
szjdw
阅读(154)
评论(0)
推荐(0)
摘要:
///<summary>///the name of the Tag xml node.///</summary>protected const string cTagXmlNodeName="Tag";///<summary>///Determines whether the specified node is a tag node///</summary>protected bool IsTagXmlNode(XmlNode node){ if(node==node) { throw new ArgumentNullExc 阅读全文
posted @ 2012-05-07 15:16
szjdw
阅读(138)
评论(0)
推荐(0)
摘要:
///<summary>///Check whether there is the tag at the specified position in the specified sql///<sumary>///<name>The value of the Name property</name>///<returns>///The position after the tag or -1 there is no tag at the position.///</returns>internal static int Ma 阅读全文
posted @ 2012-05-07 11:39
szjdw
阅读(221)
评论(0)
推荐(0)
摘要:
--根据小类名称和品牌名来取客户信息declare @brandname nvarchar(50)declare @categoryname nvarchar(50) ---分类的中文名set @categoryname='空调'set @brandname='海尔'--取得ClassIDdeclare @categoryid nvarchar(15)if OBJECT_ID('Tempdb.dbo.#categoryids') is not nullbeginprint 'Exists Table Tempdb.dbo.#categor 阅读全文
posted @ 2012-05-04 11:47
szjdw
阅读(231)
评论(0)
推荐(0)
摘要:
--根据小类名称和品牌名来取客户信息declare @brandname nvarchar(50)declare @categoryname nvarchar(50) ---分类的中文名set @categoryname='空调'set @brandname='海尔'--取得ClassIDdeclare @categoryid nvarchar(15)if OBJECT_ID('Tempdb.dbo.#categoryids') is not nullbeginprint 'Exists Table Tempdb.dbo.#categor 阅读全文
posted @ 2012-05-04 09:35
szjdw
阅读(232)
评论(0)
推荐(0)
摘要:
--根据小类名称和品牌名来取客户信息declare @brandname nvarchar(50)declare @categoryname nvarchar(50) ---分类的中文名set @categoryname='空调'set @brandname='海尔'--取得ClassIDdeclare @categoryid nvarchar(15)if OBJECT_ID('Tempdb.dbo.#categoryids') is not nullbegin print 'Exists Table Tempdb.dbo.#catego 阅读全文
posted @ 2012-05-03 18:02
szjdw
阅读(168)
评论(0)
推荐(0)
摘要:
接口比类关系来约定变量的使用范围更直观明了 阅读全文
posted @ 2012-05-02 19:43
szjdw
阅读(95)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;using System.Collections;namespace Tool{ public class DataTable2Object { /// <summary> /// Convert an DataRow to an object /// </summary> /// <typeparam name=&qu 阅读全文
posted @ 2012-05-02 17:20
szjdw
阅读(895)
评论(0)
推荐(0)