TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Soumya Ps
NA
148
17.5k
dropdown in asp.net
Apr 14 2018 1:48 AM
I have three dropdown for Day,Month,Year
in each dropdown i added these lines of code
ddlDay.Items.FindByValue(System.DateTime.Now.AddDays(-1).Day.ToString()).Selected = true;
but i want to show it as
DD selected as in dropdown Day
MM selected as in dropdown Month
YYYY selected as in dropdown Year
I also use
<asp:DropDownList ID="ddlMonth" runat="server" class="form-control"> <asp:ListItem Value="-1">MM</asp:ListItem> </asp:DropDownList>
these lines to each drop down but it not working
Pls help me..Thanks in Advance
Reply
Answers (
3
)
what version of mvc does the rotativa 1.6.4 depends on?
Radiobutton using inside the the grid