I'm making a call to my sql database and attempting to display the results in a repeater control in labels. I want to manipulate the data before I populate the labels. I realize I need to do this in the _ItemDataBound method, but can't figure out how to tie my labels to the data. so far, I have this:
protected void rpt_ItemDataBound(object sender, RepeaterItemEventArgs e)
Label lblCode = (Label)e.Item.FindControl("lblCode");
how do I bind the code from sql select statement to my label?
Thanks in advance