Retrieve datatable.column value in rpt_RowDataBound sub in asp.net
问题 Based on the selected answer in this post Displaying records grouped by month and year in asp.net, I have a modification to work with. In the rpt_RowDataBound sub, instead of using a FileInfo object, I need to use a database value ("statusupdate"). If month <> TryCast(e.Item.DataItem, FileInfo).CreationTime.Month OrElse year <> TryCast(e.Item.DataItem, FileInfo).CreationTime.Year Then How can I replace the " FileInfo " in the above code line with datarow("statusupdate") Code: HTML: <asp