<codeColoring>
	<scheme name="C#" id="Csharp" doctypes="Csharp" priority="20">
		<ignoreCase>No</ignoreCase>
		<ignoreTags>Yes</ignoreTags>
		<defaultText name="默认文本" id="CodeColor_CSharpDefaultText" />
		<blockStart doctypes="ASP.NET_CSharp" scheme="customText" name="块分隔符" id="CodeColor_CSharpBlock"><![CDATA[<%]]></blockStart>
		<blockEnd><![CDATA[%>]]></blockEnd>
		<blockStart doctypes="ASP.NET_CSharp" scheme="outerTag"><![CDATA[<script\s+runat\s*=\s*"server">]]></blockStart>
		<blockEnd><![CDATA[</script>]]></blockEnd>
		<blockStart doctypes="ASP-JS,ASP-VB,ASP.NET_CSharp,ASP.NET_VB" scheme="outerTag"><![CDATA[<script\s+language\s*=\s*"C#"\s+runat\s*=\s*"server">]]></blockStart>
		<blockEnd><![CDATA[</script>]]></blockEnd>
		<blockStart doctypes="ASP-JS,ASP-VB,ASP.NET_CSharp,ASP.NET_VB" scheme="outerTag"><![CDATA[<script\s+runat\s*=\s*"server"\s+language\s*=\s*"C#">]]></blockStart>
		<blockEnd><![CDATA[</script>]]></blockEnd>
		<commentStart name="Comment" id="CodeColor_CSharpComment"><![CDATA[/*]]></commentStart>
		<commentEnd><![CDATA[*/]]></commentEnd>
		<endOfLineComment><![CDATA[//]]></endOfLineComment>
		<stringStart name="字符串" id="CodeColor_CSharpString"><![CDATA["]]></stringStart>
		<stringEnd><![CDATA["]]></stringEnd>
		<stringEsc><![CDATA[\]]></stringEsc>
		<charStart name="字符" id="CodeColor_CSharpChar"><![CDATA[']]></charStart>
		<charEnd><![CDATA[']]></charEnd>
		<charEsc><![CDATA[\]]></charEsc>
		<brackets name="括号" id="CodeColor_CSharpBracket"><![CDATA[{[()]}]]></brackets>
		<operators name="运算符" id="CodeColor_CSharpOperator"><![CDATA[+-*/%<>!?:=]]></operators>
		<numbers name="数字" id="CodeColor_Number" />
		<idChar1>_$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</idChar1>
		<idCharRest name="标识符" id="CodeColor_CSharpIdentifier">_$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789</idCharRest>
		<keywords name="保留关键字" id="CodeColor_CSharpReserved">
      <keyword>abstract</keyword>
			<keyword>as</keyword>
			<keyword>base</keyword>
			<keyword>bool</keyword>
			<keyword>break</keyword>
			<keyword>byte</keyword>
			<keyword>case</keyword>
			<keyword>catch</keyword>
			<keyword>char</keyword>
			<keyword>checked</keyword>
			<keyword>class</keyword>
			<keyword>const</keyword>
			<keyword>continue</keyword>
			<keyword>decimal</keyword>
			<keyword>default</keyword>
			<keyword>delegate</keyword>
			<keyword>do</keyword>
			<keyword>double</keyword>
			<keyword>else</keyword>
			<keyword>enum</keyword>
			<keyword>event</keyword>
			<keyword>explicit</keyword>
			<keyword>extern</keyword>
			<keyword>false</keyword>
			<keyword>finally</keyword>
			<keyword>fixed</keyword>
			<keyword>float</keyword>
			<keyword>for</keyword>
			<keyword>foreach</keyword>
			<keyword>goto</keyword>
			<keyword>if</keyword>
			<keyword>implicit</keyword>
			<keyword>in</keyword>
			<keyword>int</keyword>
			<keyword>interface</keyword>
			<keyword>internal</keyword>
			<keyword>is</keyword>
			<keyword>lock</keyword>
			<keyword>long</keyword>
			<keyword>namespace</keyword>
			<keyword>new</keyword>
			<keyword>null</keyword>
			<keyword>object</keyword>
			<keyword>operator</keyword>
			<keyword>out</keyword>
			<keyword>override</keyword>
			<keyword>params</keyword>
			<keyword>private</keyword>
			<keyword>protected</keyword>
			<keyword>public</keyword>
			<keyword>readonly</keyword>
			<keyword>ref</keyword>
			<keyword>return</keyword>
			<keyword>sbyte</keyword>
			<keyword>sealed</keyword>
			<keyword>short</keyword>
			<keyword>sizeof</keyword>
			<keyword>stackalloc</keyword>
			<keyword>static</keyword>
			<keyword>string</keyword>
			<keyword>struct</keyword>
			<keyword>switch</keyword>
			<keyword>this</keyword>
			<keyword>throw</keyword>
			<keyword>true</keyword>
			<keyword>try</keyword>
			<keyword>typeof</keyword>
			<keyword>uint</keyword>
			<keyword>ulong</keyword>
			<keyword>unchecked</keyword>
			<keyword>unsafe</keyword>
			<keyword>ushort</keyword>
			<keyword>using</keyword>
			<keyword>virtual</keyword>
			<keyword>void</keyword>
			<keyword>volatile</keyword>
			<keyword>while</keyword>	
		</keywords>
		<keywords name="ASP 关键字" id="CodeColor_ASPNetCSharpKeywords">
			<keyword>Abandon</keyword>
			<keyword>AbsolutePage</keyword>
			<keyword>AbsolutePosition</keyword>
			<keyword>ActiveConnection</keyword>
			<keyword>ActualSize</keyword>
			<keyword>AddHeader</keyword>
			<keyword>AddNew</keyword>
			<keyword>AppendChunk</keyword>
			<keyword>AppendToLog</keyword>
			<keyword>Application</keyword>
			<keyword>Application_OnEnd</keyword>
			<keyword>Application_OnStart</keyword>
			<keyword>Attributes</keyword>
			<keyword>BeginTrans</keyword>
			<keyword>BinaryRead</keyword>
			<keyword>BinaryWrite</keyword>
			<keyword>BOF</keyword>
			<keyword>Bookmark</keyword>
			<keyword>Buffer</keyword>
			<keyword>CacheControl</keyword>
			<keyword>CacheSize</keyword>
			<keyword>Cancel</keyword>
			<keyword>CancelBatch</keyword>
			<keyword>CancelUpdate</keyword>
			<keyword>Charset</keyword>
			<keyword>Clear</keyword>
			<keyword>ClientCertificate</keyword>
			<keyword>Clone</keyword>
			<keyword>Close</keyword>
			<keyword>CodePage</keyword>
			<keyword>Command</keyword>
			<keyword>CommandText</keyword>
			<keyword>CommandTimeout</keyword>
			<keyword>CommandType</keyword>
			<keyword>Connection</keyword>
			<keyword>ConnectionString</keyword>
			<keyword>ConnectionTimeout</keyword>
			<keyword>Contents</keyword>
			<keyword>ContentType</keyword>
			<keyword>Cookies</keyword>
			<keyword>Count</keyword>
			<keyword>CreateParameter</keyword>
			<keyword>CreateObject</keyword>
			<keyword>CursorLocation</keyword>
			<keyword>CursorType</keyword>
			<keyword>DefaultDatabase</keyword>
			<keyword>DefinedSize</keyword>
			<keyword>Delete</keyword>
			<keyword>Description</keyword>
			<keyword>Direction</keyword>
			<keyword>EditMode</keyword>
			<keyword>End</keyword>
			<keyword>EOF</keyword>
			<keyword>Error</keyword>
			<keyword>Errors</keyword>
			<keyword>Execute</keyword>
			<keyword>Expires</keyword>
			<keyword>ExpiresAbsolute</keyword>
			<keyword>Field</keyword>
			<keyword>Fields</keyword>
			<keyword>Filter</keyword>
			<keyword>Flush</keyword>
			<keyword>Form</keyword>
			<keyword>GetChunk</keyword>
			<keyword>HelpContext</keyword>
			<keyword>HelpFile</keyword>
			<keyword>HTMLEncode</keyword>
			<keyword>Index</keyword>
			<keyword>IsClientConnected</keyword>
			<keyword>IsolationLevel</keyword>
			<keyword>Item</keyword>
			<keyword>LCID</keyword>
			<keyword>Lock</keyword>
			<keyword>LockType</keyword>
			<keyword>MapPath</keyword>
			<keyword>MarshalOptions</keyword>
			<keyword>Mode</keyword>
			<keyword>Move</keyword>
			<keyword>MoveFirst</keyword>
			<keyword>MoveLast</keyword>
			<keyword>MoveNext</keyword>
			<keyword>MovePrevious</keyword>
			<keyword>Name</keyword>
			<keyword>NativeError</keyword>
			<keyword>Number</keyword>
			<keyword>NumericScale</keyword>
			<keyword>NumericScale</keyword>
			<keyword>ObjectContext</keyword>
			<keyword>OnTransactionAbort</keyword>
			<keyword>OnTransactionCommit</keyword>
			<keyword>Open</keyword>
			<keyword>OpenSchema</keyword>
			<keyword>OriginalValue</keyword>
			<keyword>PageCount</keyword>
			<keyword>PageSize</keyword>
			<keyword>Parameter</keyword>
			<keyword>Parameters</keyword>
			<keyword>Pics</keyword>
			<keyword>Precision</keyword>
			<keyword>Prepared</keyword>
			<keyword>Properties</keyword>
			<keyword>Property</keyword>
			<keyword>Provider</keyword>
			<keyword>QueryString</keyword>
			<keyword>RecordCount</keyword>
			<keyword>Recordset</keyword>
			<keyword>Redirect</keyword>
			<keyword>Requery</keyword>
			<keyword>Request</keyword>
			<keyword>Response</keyword>
			<keyword>Resync</keyword>
			<keyword>RollbackTrans</keyword>
			<keyword>Save</keyword>
			<keyword>ScriptTimeout</keyword>
			<keyword>Seek</keyword>
			<keyword>Server</keyword>
			<keyword>ServerVariables</keyword>
			<keyword>Session</keyword>
			<keyword>Session_OnEnd</keyword>
			<keyword>Session_OnStart</keyword>
			<keyword>SessionID</keyword>
			<keyword>SetAbort</keyword>
			<keyword>SetComplete</keyword>
			<keyword>Size</keyword>
			<keyword>Sort</keyword>
			<keyword>Source</keyword>
			<keyword>SqlCommand</keyword>
			<keyword>SqlConnection</keyword>
			<keyword>SQLState</keyword>
			<keyword>State</keyword>
			<keyword>StaticObjects</keyword>
			<keyword>Status</keyword>
			<keyword>Supports</keyword>
			<keyword>Timeout</keyword>
			<keyword>TotalBytes</keyword>
			<keyword>Type</keyword>
			<keyword>UnderlyingValue</keyword>
			<keyword>Unlock</keyword>
			<keyword>Update</keyword>
			<keyword>UpdateBatch</keyword>
			<keyword>URLEncode</keyword>
			<keyword>URLPathEncode</keyword>
			<keyword>Value</keyword>
			<keyword>Version</keyword>
			<keyword>Write</keyword>
		</keywords>
		<sampleText><![CDATA[/* sample C# code */
using System;
using System.Data;
using System.Data.SQL;
using System.Data.ADO;
using MM;

// MM_PAge class
public class MM_Page : Page
{
  public String MM_Contacts_STRING = "dsn=contacts;";
  public DataGrid ContactsDataGrid;
  public char code = 'X';
  public int count = 0;
  
  protected void OnPageIndexChanged_ContactsDataGrid(Object sender, DataGridPageChangedEventArgs e)
  {
    InitDataGrid("Contacts", MM_Contacts_STRING,
         "SELECT * FROM CONTACTS",
         ContactsDataGrid);
  }

  protected void InitDataGrid(String recordset, String connection,
                  String sql, DataGrid dg)
  {
    ADOConnection myConnection = new ADOConnection(connection);
    ADODataSetCommand myCommand = new ADODataSetCommand(sql, myConnection);
    DataSet ds = new DataSet();
    myCommand.FillDataSet(ds, recordset);
    dg.DataSource=ds.Tables[recordset].DefaultView;
    dg.DataBind();
  }
}
]]></sampleText>
	</scheme>
</codeColoring>
