Hey.
I have a question about this code :
And i have set in my database the id off room_models to INT so string gives an error in my emu.Quote:
string text = (string)dataRow["Id"];
this.Models.Add(text, new RoomModel(text, (int)dataRow["door_x"], (int)dataRow["door_y"], (double)dataRow["door_z"], (int)dataRow["door_dir"], (string)dataRow["heightmap"], (string)dataRow["public_items"], GoldTree.smethod_3(dataRow["club_only"].ToString())));
How can i set the (string)dataRow["Id"]; code to an (int)dataRow["Id"];
Because i get an error when i do this in C#
Greatz
