Expand|Select|Wrap|Line Numbers
- Reader = command.ExecuteReader();
- Reader.Read();
- while (Reader.NextResult)
- {
- session.gameList = Reader.GetValue(0).ToString();
- }
Expand|Select|Wrap|Line Numbers
- class session
- {
- private static string[] gamelist;
- public static string[] gameList
- {
- get { return gamelist; }
- set { gamelist = value; }
- }
- }