本文介绍了如何设计页面以进行每日更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们...

在我的应用程序中,具有Dailyworkdetail.aspx页.

我想更新每小时的详细信息,例如任务分配.

如何设计....

Hi Friends...

In My applicatin ,have Dailyworkdetail.aspx page.

I want update hour wise detail .like task allocation.

how to design ....

<%@ 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

推荐答案

<meta http-equiv="refresh" content="3600" />


这篇关于如何设计页面以进行每日更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 00:28