Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: RE: .Net Cobol SqlDataReader

$
0
0
Thanks. I ended up with this which worked perfectly. perform using conn as type MySqlConnection = new MySqlConnection(gm::GetConnection) invoke conn:: Open() perform using cmd as type MySqlCommand = new MySqlCommand("UserRights", conn) set cmd::CommandType to type CommandType::StoredProcedure perform using dr as type MySqlDataReader = cmd::ExecuteReader perform until not dr::Read set trObj::_userrights = dr['Rights'] invoke userList::Add(trObj) end-perform end-perform end-perform end-perform

Viewing all articles
Browse latest Browse all 5819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>