Thursday, August 25, 2011

Nepali-English Date Converter with PICKER for C# .NET

If you are in search of Nepali Date Converter WITH DATE PICKER For C# .NET, then this might be the right place for you.
I have made a DLL file that can PICK and convert Nepali to English dates and vice versa. Hope that the Attached Source file will make you clear about the use of the DLL file.

If you have any queries/suggestions please make use of Comment Box... :)

Now You Can Download Complete Source Code here.

Update:
 For the conversion till 2090 BS, simply replace the "nepdays.txt" file in your Documents\NepaliDateData folder with this file.

20 comments:

  1. you have done great but i want to know the code that how did you convert english date to nepali date in datepicker..

    ReplyDelete
    Replies
    1. Sorry for late reply...
      I have uploaded the Source Code.
      Thank You
      -Dipesh

      Delete
  2. Thanks for this! Please visit Nepali Calendar here: http://www.ashesh.com.np/nepali-calendar/

    ReplyDelete
  3. Hi Dipesh bro,

    Maile DipeshNepaliDateConversion dll mero web based .net application ma implement gare.. local ma run vairako xaa properly, but when i upload in server , and try to convert date on button click ,i am getting exception as :
    The type initializer for 'DipeshNepaliDateConversion.DipeshNepaliDateConverter' threw an exception.

    bro yo exception kasari solve garne ho.. can u provide me code or file for date conversion.
    Mero email id :anil.swik@gmail.com

    Hope to hear from you and expecting your kind help

    Thanks
    Anil

    ReplyDelete
    Replies
    1. It only works in desktop, not in web... sorry.
      To make it work in web, you need to do some modifications.. Date Data required for conversion is saved in "Documents"... you will need to save it in the web server...
      I have uploaded entire source code...
      Thank You
      -Dipesh

      Delete
  4. Hello Dipesh Sir Can you assit me to make a date picker in .net

    ReplyDelete
    Replies
    1. You can take reference from the project I uploaded.
      Thank you
      -Dipesh

      Delete
  5. Is this code only for nepali date conversion or vice versa code

    ReplyDelete
  6. Thanks for the datepicker, great job. Could you pls tell what is the min date and Max date of your datepicker.

    ReplyDelete
    Replies
    1. The Nepali date range by default is 2001 to 2081 BS.
      Further years can be added manually ...
      Thank You
      -Dipesh

      Delete
  7. Hello everyone... Here is the complete Source Code in C#.
    https://drive.google.com/open?id=0B2mwagFjQS7MeDZQdU5qTjBXVHM
    The Nepali date range by default is 2001 to 2081 BS.
    Further years can be added manually ...

    Thank You.

    ReplyDelete
  8. Hi Dipesh,

    Thanks for you nepali calendar. You can send me yngautam@gmail.com your complete source code. I will convert into Web version.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. dear sir,
    the sourcecode you uploaded has only implementation part.

    could you please send me the complete dll sourcecode to shreeapplications@gmail.com ?

    ReplyDelete
  11. Hello sir how can we get only the year, month or date or dayofweek from the system date using your .dll reference

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. The Nepali date range by default is 2001 to 2081 BS.
    How can we add further years manually ???
    Thank You

    ReplyDelete