aspx thread: One last Q: Accessing the ItemArray in a dataset by column name?
I have this:
if (this.objDS.Tables["WC_WebPartNumber"].Rows[0].ItemArray[15].ToString()
== optionItem)
((DropDownList)e.Item.FindControl("LionChangeFlag")).Items.FindByText(option
Item).Selected = true;
However, I want, rather than ItemArray[15], to do something like
ItemArray["LION_FLAG"], where LION_FLAG is the actual name of the column.
Any tips?
Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
|





