Hi all,
I want to modify raw data retrieved from the database before binding it to datagrid/datalist. For example, I have a date column with date and time format, something like "06/04/2003 10:01:00 PM" and I want to customize the date format, as well as get rid of the time, to display just the customized date nicely on the datagrid. Could someone show me how to do it? I mean, I know how manipulate the date format, I just don't how to do it in terms of asp.net, datagrid binding, where to do it in my code-behind. Thanks
I want to modify raw data retrieved from the database before binding it to datagrid/datalist. For example, I have a date column with date and time format, something like "06/04/2003 10:01:00 PM" and I want to customize the date format, as well as get rid of the time, to display just the customized date nicely on the datagrid. Could someone show me how to do it? I mean, I know how manipulate the date format, I just don't how to do it in terms of asp.net, datagrid binding, where to do it in my code-behind. Thanks