D
David C
I have a DropDownList control that is currently tied to a SqlDataSource
control. However, I need that same type of control in many other pages. I
was thinking of some class function in App_Code folder that retrieved the
Text and Value properties of my DropDownList by simply making the DataSource
a function call. My DropDownList is a simple State Abbreviation and State
Name, e.g. 'AL' and 'Alabama', etc.
Can someone point me to a sample of this that I can use?
p.s. This is an intranet application currently but may go to partly
internet.
Thanks.
David
control. However, I need that same type of control in many other pages. I
was thinking of some class function in App_Code folder that retrieved the
Text and Value properties of my DropDownList by simply making the DataSource
a function call. My DropDownList is a simple State Abbreviation and State
Name, e.g. 'AL' and 'Alabama', etc.
Can someone point me to a sample of this that I can use?
p.s. This is an intranet application currently but may go to partly
internet.
Thanks.
David