}//public static void Main()

        /// <summary>Query.</summary>
        public static void Query
        (
            ref String connectionStringDatabase,
            ref String connectionStringFormatIndexingService,
            ref UtilityIndexingServiceArgument utilityIndexingServiceArgument,
            ref String exceptionMessage
        )
        {
            StringBuilder catalogQuery = null;
            StringBuilder connectionStringIndexingService = null;

            DataSet     dataSet     = null;
            IDataReader iDataReader = null;

            Query
            (
                ref connectionStringDatabase,
                ref connectionStringFormatIndexingService,
                ref connectionStringIndexingService,
                ref exceptionMessage,
                ref utilityIndexingServiceArgument,
                ref catalogQuery,
                ref iDataReader,
                ref dataSet
            );
        }//public static void Query()
        /// <summary>The entry point for the application.</summary>
        /// <param name="argv">A list of command line arguments</param>
        public static void Main
        (
            String[] argv
        )
        {
            Boolean booleanParseCommandLineArguments = false;
            String  exceptionMessage = null;

            UtilityIndexingServiceArgument utilityIndexingServiceArgument = null;

            utilityIndexingServiceArgument = new UtilityIndexingServiceArgument();

            booleanParseCommandLineArguments = UtilityParseCommandLineArgument.ParseCommandLineArguments
                                               (
                argv,
                utilityIndexingServiceArgument
                                               );

            if (booleanParseCommandLineArguments == false)
            {
                // error encountered in arguments. Display usage message
                System.Console.Write
                (
                    UtilityParseCommandLineArgument.CommandLineArgumentsUsage(typeof(UtilityIndexingServiceArgument))
                );
                return;
            }//if ( booleanParseCommandLineArguments  == false )

            Query
            (
                ref ConnectionStringDatabase,
                ref ConnectionStringFormatIndexingService,
                ref utilityIndexingServiceArgument,
                ref exceptionMessage
            );
        }//public static void Main()
  }//public String FreeTextSearch

  /// <summary>ButtonSubmit_Click().</summary>
  public void ButtonSubmit_Click
  (
   Object sender, 
   EventArgs e
  )
  {

   String                              catalogName                            =  CatalogName;

   String                              connectionStringDatabase               =  UtilityIndexingService.ConnectionStringDatabase;
   String                              connectionStringFormatIndexingService  =  UtilityIndexingService.ConnectionStringFormatIndexingService;
   StringBuilder                       connectionStringIndexingService        =  null;

   String                              exceptionMessage                       =  null;
   String                              freeTextSearch                         =  FreeTextSearch;
   StringBuilder                       catalogQuery                           =  new StringBuilder();

   DataSet                             dataSet                                =  null;
   IDataReader                         iDataReader                            =  null;
   UtilityIndexingServiceArgument      utilityIndexingServiceArgument         =  null;
   
   utilityIndexingServiceArgument = new UtilityIndexingServiceArgument
   (
    catalogName,
    freeTextSearch
   );

   UtilityIndexingService.ConfigurationXml
   (
    ref FilenameConfigurationXml,
    ref exceptionMessage,
    ref connectionStringDatabase,
    ref connectionStringFormatIndexingService
   );

   if ( exceptionMessage != null )
   {
    Feedback = exceptionMessage;
   	return;
   }//if ( exceptionMessage != null )   	

   UtilityIndexingService.Query
   (
    ref connectionStringDatabase,
    ref connectionStringFormatIndexingService,
    ref connectionStringIndexingService,
    ref exceptionMessage,
    ref utilityIndexingServiceArgument,
    ref catalogQuery,
    ref iDataReader,
    ref dataSet
   );

   if ( exceptionMessage != null || iDataReader == null )
   {
    Feedback = exceptionMessage;
   	return;
   }//if ( exceptionMessage != null || iDataReader == null )
   
   /*
   RepeaterIndexingServiceDocument.DataSource = dataSet;
   RepeaterIndexingServiceDocument.DataBind();
   */

   GridViewIndexingServiceDocument.DataSource = dataSet;
   GridViewIndexingServiceDocument.DataBind();

  }//public void ButtonSubmit_Click()
        }//public static void Query()

        /// <summary>Query.</summary>
        public static void Query
        (
            ref String connectionStringDatabase,
            ref String connectionStringFormatIndexingService,
            ref StringBuilder connectionStringIndexingService,
            ref String exceptionMessage,
            ref UtilityIndexingServiceArgument utilityIndexingServiceArgument,
            ref StringBuilder catalogQuery,
            ref IDataReader iDataReader,
            ref DataSet dataSet
        )
        {
            String      indexingServiceResult = null;
            HttpContext httpContext           = HttpContext.Current;

            utilityIndexingServiceArgument.catalogName    = utilityIndexingServiceArgument.CatalogName;
            utilityIndexingServiceArgument.freeTextSearch = utilityIndexingServiceArgument.FreeTextSearch;

            connectionStringIndexingService = new StringBuilder();
            connectionStringIndexingService.AppendFormat
            (
                connectionStringFormatIndexingService,
                utilityIndexingServiceArgument.catalogName
            );

   #if (DEBUG)
            System.Console.WriteLine
            (
                "Connection String Indexing Service: {0}",
                connectionStringIndexingService
            );
   #endif

            catalogQuery = new StringBuilder();
            catalogQuery.AppendFormat
            (
                CatalogQueryFormat,
                utilityIndexingServiceArgument.freeTextSearch
            );

            try
            {
                UtilityDatabase.DatabaseQuery
                (
                    connectionStringIndexingService.ToString(),
                    ref exceptionMessage,
                    ref iDataReader,
                    catalogQuery.ToString(),
                    CommandType.Text
                );

                UtilityDatabase.DatabaseQuery
                (
                    connectionStringIndexingService.ToString(),
                    ref exceptionMessage,
                    ref dataSet,
                    catalogQuery.ToString(),
                    CommandType.Text
                );

    #if (DEBUG)
                while (iDataReader.Read())
                {
                    indexingServiceResult = String.Format
                                            (
                        IndexingServiceResultFormat,
                        iDataReader.GetString(0),
                        iDataReader.GetString(1),
                        iDataReader.GetString(2)
                                            );
                    if (httpContext == null)
                    {
                        System.Console.WriteLine(indexingServiceResult);
                    }//if ( httpContext == null )
                    else
                    {
                        //httpContext.Response.Write(indexingServiceResult);
                    } //else if ( httpContext == null )
                }     //while( iDataReader.Read() )
    #endif
            }         //try
            catch (Exception exception)
            {
                System.Console.WriteLine("Exception: {0}", exception.Message);
            } //catch (Exception exception)
        }     //public static void Query()