Greetings,
I have the following vb.net code
This errors with
This I believe is because roomID is an int whereas the other fields are nvarchar.
If I remove roomID for the alias field the it runs without error.
Can I create an alias field containing differing datatypes, if so how?
Thanks
Rob
I have the following vb.net code
Code:
Using populateRoomsAdaptor = New SqlDataAdapter("Select r.RoomID, r.RoomID & ' - ' & r.Location & ' - ' & r.Facilities as roomLookup from Rooms r", conn)
This errors with
SQL Exception - Conversion failed converting the nvarchar value 'Meeting Room1' to data type int.
This I believe is because roomID is an int whereas the other fields are nvarchar.
If I remove roomID for the alias field the it runs without error.
Can I create an alias field containing differing datatypes, if so how?
Thanks
Rob