I'm a new to ASPX, hope you dont mind if my problem is so simple with somebody.
I use a List<object> selectedValues;
selectedValues=...list of object(item1, item2,..)
Each object has 3 fields: id
, title
, and content
.
foreach (object[] item in selectedValues)
{
foreach (object value in item)
{
string result += string.Format("{0} ", value);
Textbox1.Text= result;--> all field is displayed in one Textbox.
}
}
My problem is: how can I get the single field, I mean:
foreach (object value in item)
{
TextBox1.Text = id...???
TextBox2.Text= title...???
TextBox3.Text= content...???
}