Saturday, 16 March 2013

DataList: Properties and Method


Add item to the DataList:
ArrayList al = new ArrayList();
for (int i = 0; i < 2; i++) {
      al.Add(i.toString());
}
DataList.DataSource = al;
DataList.DataBind();

No comments:

Post a Comment