Date control in Dropdownlist
-
Hi, I want to populate Month like Nov-2010,Dec-2010 etc.. in DropDownList. It will show current financial year and so on.... Can any one help me regarding this. Thanks...
-
Hi, I want to populate Month like Nov-2010,Dec-2010 etc.. in DropDownList. It will show current financial year and so on.... Can any one help me regarding this. Thanks...
I dont know, Might be some third party control can provide you month in this format. You your self can create the month like this and bind it to the dwopdown, Or you can hardcode it in a file and bind it from there when require.
Cheers!! Brij My Blog
Check my latest Article :ViewState - Various ways to reduce performance overhead -
I dont know, Might be some third party control can provide you month in this format. You your self can create the month like this and bind it to the dwopdown, Or you can hardcode it in a file and bind it from there when require.
Cheers!! Brij My Blog
Check my latest Article :ViewState - Various ways to reduce performance overheadThanks for reply. But, I don't want to hardcodeit. I simply want to read system date.
-
Hi, I want to populate Month like Nov-2010,Dec-2010 etc.. in DropDownList. It will show current financial year and so on.... Can any one help me regarding this. Thanks...
TRy like this in Database select convert(varchar(3),datename(mm,getdate()),24) + '--' + convert(varchar(4),datename(yy,getdate()),24)
-
TRy like this in Database select convert(varchar(3),datename(mm,getdate()),24) + '--' + convert(varchar(4),datename(yy,getdate()),24)