void IWebPartParameters.GetParametersData(ParametersCallback callback)
            {
                DataTable dt = Part.Provide(ProviderPreference.Table) as DataTable;
                Hashtable ht = new Hashtable();

                if ((dt != null) && (dt.Rows.Count > 0) && (dt.Columns.Count > 0))
                {
                    ht = new Hashtable();
                    foreach (DataColumn col in dt.Columns)
                    {
                        ht [col.ColumnName] = dt.Rows [0] [col];
                    }
                    callback(ht);
                }
            }
            void IWebPartParameters.GetParametersData(ParametersCallback callback)
            {
                DataTable table          = this.Part.Provide(roxority_AdapterWebPart.ProviderPreference.Table) as DataTable;
                Hashtable parametersData = new Hashtable();

                if (((table != null) && (table.Rows.Count > 0)) && (table.Columns.Count > 0))
                {
                    parametersData = new Hashtable();
                    foreach (DataColumn column in table.Columns)
                    {
                        parametersData[column.ColumnName] = table.Rows[0][column];
                    }
                    callback(parametersData);
                }
            }
 void IWebPartParameters.GetParametersData(ParametersCallback callback)
 {
     if (callback == null)
     {
         throw new ArgumentNullException("callback");
     }
     this.CheckFieldNamesLength();
     if (this._provider != null)
     {
         this._callback = callback;
         this._provider.GetRowData(new RowCallback(this.GetRowData));
     }
     else
     {
         callback(null);
     }
 }
        ///<summary>
        /// Gets the value of the data from the connection provider.
        /// The GetParametersData method is used to retrieve the values from the provider
        /// based on a parameter. The method represented by the callback parameter processes
        /// the data for use by the consumer.
        ///</summary>
        ///<param name="callback">The method to call to process the data from the provider.</param>
        public void GetParametersData(ParametersCallback callback)
        {
            Dictionary <string, object> parametersData = new Dictionary <string, object>();

            if (_schema != null)
            {
                // build the data dictionary
                foreach (PropertyDescriptor property in _schema)
                {
                    foreach (DataColumn column in BuilderTable.Columns)
                    {
                        if (column.Caption.Equals(property.Name) && column.DataType.Equals(property.PropertyType))
                        {
                            parametersData.Add(column.Caption, Row[column]);
                        }
                    }
                }
            }

            callback(parametersData);
        }
 void System.Web.UI.WebControls.WebParts.IWebPartParameters.GetParametersData(ParametersCallback callback)
 {
 }
 void System.Web.UI.WebControls.WebParts.IWebPartParameters.GetParametersData(ParametersCallback callback)
 {
 }
 void IWebPartParameters.GetParametersData(ParametersCallback callback)
 {
     if (callback == null)
     {
         throw new ArgumentNullException("callback");
     }
     this.CheckFieldNamesLength();
     if (this._provider != null)
     {
         this._callback = callback;
         this._provider.GetRowData(new RowCallback(this.GetRowData));
     }
     else
     {
         callback(null);
     }
 }
        /// <summary>
        /// Gets the value of the data from the connection provider.
        /// </summary>
        /// <param name="callback">
        /// The method to call to process the data from the provider.
        /// </param>
        public void GetParametersData(ParametersCallback callback)
        {
            var objParameters = new StateBag();

            callback.Invoke(objParameters);
        }