Last post Jan 05, 2006 01:35 AM by tamttt
Dec 21, 2005 04:44 AM|lilon|LINK
I've sent this question to the moderator a long time ago and still no joy. So in case it got lost:
I've created a few list in the Host > Lists module and I dont know how to call them and manipulate them from my custom module (I need to present the list in a dropdown and send/store the value selected by the user in a table I created.
Would very much appreciate a code example of how to call the list from my module (perferably in C# but can handle vb.net too)
Jan 04, 2006 04:29 AM|tamttt|LINK
This is a routine I have created to fill combobox or listbox with values from Lists table,
To get all countries, ListName is "Country", the Parentkey is ""
To get all Region in United State, ListName is "Region", and ParentKey is "Country.US"
Jan 05, 2006 12:38 AM|jepper|LINK
Could you explain how to get the two letter state code from the list. I have been trying to figure that out but just seem to bang my head up against the wall.
Jan 05, 2006 01:35 AM|tamttt|LINK
(ListControl is an instance of combobox or listbox)
You could find example to implement Lists feature in the core code \controls\address.ascx.vb