Hello All ,
While assigning the DataField ( Date Time Object from Data Source ) how just i can format the date , it takes up the default style ( as store in database )
here is my code excerpt
oBoundColumn = new GridBoundColumn();
oBoundColumn.DataType = Type.GetType("System.DateTime");
oBoundColumn.UniqueName = "EndDate";
oBoundColumn.HeaderText = "End Date";
oBoundColumn.DataField = "EndDate";
Thanks
-Prince
While assigning the DataField ( Date Time Object from Data Source ) how just i can format the date , it takes up the default style ( as store in database )
here is my code excerpt
oBoundColumn = new GridBoundColumn();
oBoundColumn.DataType = Type.GetType("System.DateTime");
oBoundColumn.UniqueName = "EndDate";
oBoundColumn.HeaderText = "End Date";
oBoundColumn.DataField = "EndDate";
Thanks
-Prince