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];
c# Adapter 获取sql语句
最新推荐文章于 2023-07-26 09:04:01 发布