¡@

Home 

c# Programming Glossary: newroleid

Datatype returned varies based on data in table

http://stackoverflow.com/questions/13306275/datatype-returned-varies-based-on-data-in-table

private int GetNextRoleID SqlConnection connection int newRoleID null string commandText SELECT MAX security_role_cd AS NewRoleID.. reader.HasRows while reader.Read if reader.IsDBNull 0 newRoleID Convert.ToInt32 reader.GetInt16 0 1 try newRoleID Convert.ToInt32.. 0 newRoleID Convert.ToInt32 reader.GetInt16 0 1 try newRoleID Convert.ToInt32 reader.GetInt16 0 1 catch int result reader.GetInt32..