SQLKing
New member
- Joined
- Apr 19, 2013
- Messages
- 4
- Programming Experience
- 10+
I am trying to convert a VB web application to a C# web application mostly because the VB version that I inherited is a mess. Unfortunately, my C# skills have fallen behind since I haven't built anything myself in about 8 years.
The issue I'm having is that there is a repeater control that populates from a recordset. Then later on the page they set the value of the an object using the selected item in repeater control:
thisTeam.ModelCode = rcModel.SelectedValue
ModelCode is defined by an enumeration. Now in VB I'm guessing this worked somehow as VB is not very concerned with types when it compiles but in C# I get errors that the object is undefined or I can't set the object = to the repeater control etc.
The issue I'm having is that there is a repeater control that populates from a recordset. Then later on the page they set the value of the an object using the selected item in repeater control:
thisTeam.ModelCode = rcModel.SelectedValue
ModelCode is defined by an enumeration. Now in VB I'm guessing this worked somehow as VB is not very concerned with types when it compiles but in C# I get errors that the object is undefined or I can't set the object = to the repeater control etc.