private static string GetString(MySqlDataReader reader, int index) { if (reader.IsDBNull(index)) return null; return reader.GetString(index); }