Introduction
In this article, we solve the date problem in Dataset
. A user sends the dataset
to his report, and she or he cannot convert the existing dates in dataset
. We solved this problem for developers. You can use our component to change over all the Georgian dates to the Shamsi date.
How to Use
After downloading our component, add this to your project references.
Define an instance of Component:
C#
DataSet ds = new DataSet();
DateBulkConvertor.Convertor MyConvert = new DateBulkConvertor.Convertor();
MyConvert.MyDataset = ds;
DataSet mydataset = new DataSet();
mydataset = myconvert.changeDates();
Retrieve Types
myconvert.ModifyDate = DateBulkConvertor.dtTypes.ShortDate;
myconvert.ModifyDate = DateBulkConvertor.dtTypes.LongDate;
Good luck!
History
- 13th January, 2008: Initial post