Kristina

Kristina

  • NA
  • 1
  • 0

GridView - populate columns

Oct 20 2009 2:24 AM
Hi, I have a GridView that is populated in Page_Load: gvOmbudUtanAnmodan.DataSource = gvOmbudUtanAnmodan.DataBind(); AnvandareComponent.GetOmbudUtanAnmodan(); ("GetOmbudUtanAnmodan()" is a function in which i filter a with a datatable and returns a .) The following columns are populated by BoundField controls: GroupID - Name - City That was easy... Now, I have one column that is called Date that i cannot get from this funtion. So i guess this column needs to be populated in gvOmbudUtanAnmodan_RowDataBind.. This Date i need to get from another in which GroupID is an item! The GroupID need to match for each row. How do I populate this last column so that the correct Date is displayed for correct GroupID??? Thanks!

Answers (2)