Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27379

problem by baindable prpperty in my component

$
0
0
hi
i made the component inherit from maskedtextbox for validating persian date and convert from and to Gregorian date
i set a property named GregorianDate to bind to database
i have a table contain two column (Pdate for save Persian date , Mdate For save Gregorian Date) ,i want when control bind to Mdate Column ,shmaskedtextbox.text show date in persian date, and when user change persiandate , changes save to column in Gregorian date, But I did not succeed to do it. i comment GregorianDate property in attached project , please see it and correct it

convert sample :


6/22/2013 is 1392/04/01 in persian date format is "YYYY/MM/DD"
6/21/2013 is 1392/03/31 in persian date format is "YYYY/MM/DD"
6/20/2013 is 1392/03/30 in persian date format is "YYYY/MM/DD"

please help me
Attached Files

Viewing all articles
Browse latest Browse all 27379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>