SqlCommand[] _commandCollection;
PropertyInfo info = qty_PriceTableAdapter.GetType().GetProperty("CommandCollection", BindingFlags.Instance | BindingFlags.NonPublic);
_commandCollection = info.GetValue(qty_PriceTableAdapter, null) as SqlCommand[];
string sql = _commandCollection [0];