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
Kamala Veni
NA
65
21.7k
Want to select only month date's default as april28-may27th
Apr 26 2016 1:31 AM
HI
I am having a Grid view in that i wanna select the date and saved into SQL database Table.
its fr monthly record,ex: date start from April 28th- May 27th. as like fr next month May 28th- June 27th... so in between days cannot be selected and its go on next month also..its should save in the database
how to get dat? plz help me...
send a full design view code plz..how to get date's continously.
Thank you.
here is a code for 1 day using calendar using table:
SELECT THE CALENDAR TO ENTER THE DATE
<asp:Label ID="lb" runat="server" Text="DATE" Width="109px" Height="25px" style=" color: #000000; " ></asp:Label>
<asp:ImageButton ID="imh" runat="server" Height="20px"
ImageUrl="D:\Dev\App\Vaayuprj090116\images\Calendar_ICON.png" onclick="img_Click" AlternateText =" Click me" Width="30px" style="background-color: #66CCFF; color: #66FF99;" />
<asp:Label ID="lbb" runat="server" Text="TIME" style="color: #000000; "></asp:Label>
<asp:Label ID="lbd" runat="server" Text="DAY" style="color: #000000; "></asp:Label>
<br />
<asp:Calendar ID="cal" runat="server" Height="200px" Width="220px" Format="dd/MM/yyyy" Visible="False" OnSelectionChanged="cal_SelectionChanged" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" ShowGridLines="True">
<DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<SelectorStyle BackColor="#FFCC66" />
<TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
</asp:Calendar>
<br />
<asp:Label ID="lbusr" runat="server" Width="68px" Height="24px" style="color: #000000; background-color: #FFFFFF;"></asp:Label>
<asp:CheckBox ID="ckval" runat="server" OnCheckedChanged="ckval_CheckedChanged" Width="73px" Height="24px" style=" color: #000000; "/>
<asp:Button ID="btnf" runat="server" Text="Enter" Width="68px" Height="24px" OnClick="btnf_Click" style="color: #000000" />
<table ID="myt1" runat="server" border="2" style="border-style:inset; " >
<tr>
<th >Block01(00.00:00.15)</th>
<td ><asp:TextBox ID="txtb1" runat="server" onkeypress="return validate(event)" onkeyup="movetoNext(this, 'second')" size="5" maxlength="4" Width="154px" style="text-align: center"></asp:TextBox></td>
</tr>
<tr>
<th >Block02(00.15:00.30)</th>
<td ><asp:TextBox ID="txtb2" runat="server" Width="154px" size="5" maxlength="4" style="text-align: center"></asp:TextBox></td>
</tr>
<tr>
<th>Block03(00.30:00.45)</th>
<td ><asp:TextBox ID="txtb3" runat="server" Width="154px" size="5" maxlength="4" style="text-align: center"></asp:TextBox></td>
</tr>
<tr>
<th >Block04(00.45:01.00)</th>
<td><asp:TextBox ID="txtb4" runat="server" Width="154px" size="5" maxlength="4" style="text-align: center"></asp:TextBox></td>
</tr>
</table>
like dis with or without using calendar i need dates in grid view ....
Reply
Answers (
2
)
On click event i want to play local video ..popup
How to get KeyPressed ,KeyDown,KeyUp in WebForm Using C#