Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi Friends...

In My applicatin ,have Dailyworkdetail.aspx page.

I want update hour wise detail .like task allocation.

how to design ....

ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Dailyworkdetail.aspx.cs"
    Inherits="Dailworkdetail" %>
<%@ Register Src="~/Include/UserMenu.ascx" TagName="Usermenu" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
    <form id="form1" runat="server">
    
    
 <AjaxToolkit:ToolkitScriptManager ID="scriptmanager"  runat="server" ></AjaxToolkit:ToolkitScriptManager>
    <div>
        <table align="center">
            <tr>
                <td>
                    <uc2:Usermenu ID="üserMenu"  runat="server" />
                </td>
            </tr>
        </table>
        <table align="center" width="100%">
            <tr>
                <td align="right">
                    <asp:Label ID="lblworkinfo" Text="Work Info Date" CssClass="lbl" runat="server"></asp:Label>
                     
                </td>
                <td>
                    <asp:TextBox ID="txtworkinfo" CssClass="txtbox" runat="server"></asp:TextBox>
                    <AjaxToolkit:CalendarExtender ID="calExtender3"  runat="server" PopupButtonID="btnDate3"
                        TargetControlID="txtworkinfo">
                    </AjaxToolkit:CalendarExtender>
                    <asp:ImageButton ID="btnDate3" ImageUrl="~/images/CalendarIcon.jpg" Width="20px"
                        runat="server" />
                     
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblwrkmode" Text="Work Mode" CssClass="lbl" runat="server"></asp:Label>
                     
                </td>
                <td>
                    <asp:DropDownList ID="drop" runat="server" OnSelectedIndexChanged="drop_SelectedIndexChanged"
                        AutoPostBack="True">
                        <asp:ListItem Text="Select"> </asp:ListItem>
                        <asp:ListItem Text="Full Day"> </asp:ListItem>
                        <asp:ListItem Text="Half Day"> </asp:ListItem>
                        <asp:ListItem Text="Leave"> </asp:ListItem>
                    </asp:DropDownList>
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                        <asp:ListItem>FN</asp:ListItem>
                        <asp:ListItem>AN</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblreason" Text="Reason For Leave" CssClass="lbl" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtreason" runat="server" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblinfo" Text="Additional Information" CssClass="lbl" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtinfo" CssClass="txtbox" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table>
        </table>
    </div>
    <asp:Panel ID="PanelFN" runat="server">
        <table>
            <tr>
                <td>
                    <asp:Label ID="lbltime1" runat="server" Text="10.00 AM-11.00 AM"></asp:Label>
                </td>
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbltime2" runat="server" Text="11.00 AM -12.00 PM"></asp:Label>
                </td>
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbltime3" runat="server" Text="12.00 PM -1.00 PM"></asp:Label>
                </td>
            </tr>
             
        </table>
    </asp:Panel>
    <asp:Panel ID="PanelAN" runat="server">
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Duration"></asp:Label>
                </td>
            </tr>
        </table>
    </asp:Panel>
    </form>
</body>
</html>



This is my code ..
Can u please help for my project
Posted
Comments
Zoltán Zörgő 5-Jun-12 3:21am    
"I want update hour wise detail .like task allocation." What does this mean?
Arul R Ece 5-Jun-12 4:14am    
I develop a task allocation application.
so degn like that way
Zoltán Zörgő 5-Jun-12 4:51am    
Good for you. But this is not an application, this is a page, without code behind, and without everything else. What is your technical problem exactly? We can not help you with your wishes, only with your concrete problems.
ZurdoDev 5-Jun-12 7:57am    
Not clear. please explain more.

1 solution

Your design has nothing to do with the functionality you are expecting. You just need the page to be refreshed automatically after 60 minutes.

Make sure that your database is also refreshed accordingly.

Use this tag in your aspx page to refresh the page automatically after 1 hour

HTML
<meta http-equiv="refresh" content="3600" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900