Updated navdata to take table headings as opposed to index values from database
This commit is contained in:
parent
8ac4a3d693
commit
0252f115c6
@ -54,11 +54,11 @@ namespace EFB.Models
|
||||
|
||||
while (reader.Read())
|
||||
{
|
||||
int id = reader.GetInt32(0);
|
||||
string name = reader.GetString(1);
|
||||
string type = reader.GetString(2);
|
||||
string latitude = reader.GetString(4);
|
||||
string longitude = reader.GetString(5);
|
||||
int id = reader.GetInt32("id");
|
||||
string name = reader.GetString("name");
|
||||
string type = reader.GetString("type");
|
||||
string latitude = reader.GetString("latitude");
|
||||
string longitude = reader.GetString("longitude");
|
||||
|
||||
if (type == "VOR" || type == "NDB")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user