摘要:
///<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 阅读全文
摘要:
///<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 阅读全文
摘要:
///<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 阅读全文
摘要:
///<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 阅读全文
摘要:
--根据小类名称和品牌名来取客户信息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 阅读全文
摘要:
--根据小类名称和品牌名来取客户信息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 阅读全文
摘要:
--根据小类名称和品牌名来取客户信息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 阅读全文
摘要:
接口比类关系来约定变量的使用范围更直观明了 阅读全文
摘要:
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 阅读全文