private void btnQry_Click(object sender, EventArgs e) { string ftClsStr = cmbSampleFeatureClass.Text; if (ftClsStr == null || ftClsStr == "") { MessageBox.Show("You must select a table or feature class before specifying an attribute query", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } else { ITable sTbl = ftrDic[ftClsStr]; qf = geoUtil.createQuery(sTbl); //MessageBox.Show(qf.WhereClause); } }