I'm very new to asp.net but so far I love it! I have a few tables as follows:
InventoryItemID | Name | Description
CarFeatureID | Name
InventoryItemID | CarFeatureID
What I'm trying to do is create a web form called UpdateInventoryItem.aspx, and on that page have a CheckBoxList control that populates from CarFeature (no problems here). The problem I'm having is getting to check selected items based on InventoryItem_CarFeature.
So, if you were to access UpdateInventoryItem.aspx?InventoryItemID=1
It should render the full checkboxlist based on CarFeature but set the appropriate items as selected based on the values in InventoryItem_CarFeature where InventoryItemID = Request.QueryString["InventoryItemID"]
I hope that makes sense!
Thanks for the help!