how do i do this? i've created a itemtemplate with the repeater control. now i want every button to have the text property binded to the array..how do i do this? i made the following code:
Code:
string[] array = { "um", "dois", "tres" };
Repeater1.DataSource = array;
Repeater1.DataBind();
but as natural it isnt binding the button..what is the code i should put in the button so it is binded in the text perperty? when using databases i could put this:
Code:
Text='<%# DataBinder.Eval(Container.DataItem, "Message") %>'
but seems not to be working(because the database column was Message and now it isnt..what should i put instead of "Message"? or should i use another totally opost code? help plz!