@model DataSet
@{
Layout = null;
}
@{
ViewBag.Title = "Index";
}
Index
@dc.ColumnName |
|---|
@dr[Model.Tables[0].Columns[i]] |
The above code is supposed to show value from a dataset in a table where I use the column name as table header.
But this is far from showing me the result in a table, I dunno why.
Thank in advance
Alex
Salman BegPosted May 26, 2020, 11:05 PM
Schleid AlexPosted May 26, 2020, 10:27 PM
Salman BegPosted May 26, 2020, 8:57 PM