I am working on a task which requires binding data to a gridview which has 7 columns. Six columns of the gridview are binded to dataset from a database with sql command... I need to bind the last column dynamically at run time to a data which comes from file at run time. Is there a mechanism to add 7th column to datasource at run time and then bind it's value? . .
e.Row.Cells(7).Text = f.Name.ToLower.Replace(CStr(DataBinder.Eval(e.Row.DataItem, "LicenseName")).ToLower, "").Replace(".7z", "").Trim
. . this is how i got the value