Current Path : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/cdpp3/ |
Windows NT SG2NWVPWEB022 10.0 build 17763 (Windows Server 2016) i586 |
Current File : G:/PleskVhosts/mpcdp.in/cmamp.mpcdp.in/cdpp3/UrbanPoor_new.aspx |
<%@ Page Language="VB" MasterPageFile="~/MasterPage4.master" AutoEventWireup="false" CodeFile="UrbanPoor_new.aspx.vb" Inherits="UrbanPoor_new" title="UrbanPoor" %> <asp:Content ID="Content1" ContentPlaceHolderID="CPHCDPHead" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="CPHCDPP2" Runat="Server"> <div><h2 style="text-align:left;"> Urban and Poor </h2> <table> <tr> <td style="height: 32px"> Select City: <asp:DropDownList ID="DDLULBID" runat="server" CssClass="StyleDDL" TabIndex="1" AutoPostBack="True" Font-Size="10.5pt"> </asp:DropDownList> </td> </tr> </table> </div> <div> <div id="sDiv" runat ="server" style="height: 440px;width: 994px;overflow: auto;border: 1px solid #666 ;"> <table> <tr> <td> <asp:GridView ID="grdCDP" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="UP_ID" DataMember="DefaultView" DataSourceID="sdcIPAddress" HeaderStyle-CssClass="GridHeader" ShowFooter="false" HeaderStyle-Width="100px" Width="100px"> <PagerSettings Mode="NumericFirstLast" /> <RowStyle BorderStyle="Solid" /> <Columns> <asp:CommandField ButtonType="Image" CancelImageUrl="~/Images/Icons/Cancel.jpg" EditImageUrl="~/Images/Icons/edit.jpg" HeaderText="Edit" ShowEditButton="True" UpdateImageUrl="~/Images/Icons/Saveupdate.jpg" ValidationGroup="IP1"> <HeaderStyle CssClass="GridHeading" /> </asp:CommandField> <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Images/Icons/delete.jpg" HeaderText="Del" ShowDeleteButton="True"> <HeaderStyle CssClass="GridHeading" /> </asp:CommandField> <asp:TemplateField > <HeaderTemplate > ID </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "UP_ID")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField > <HeaderTemplate > ULBID </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "ULBID")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <HeaderTemplate > Company                                       </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "Company")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" Width="160px" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <HeaderTemplate> City   </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "City")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <HeaderTemplate> Ward     </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "Ward")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF8" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F8")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Name of Slum pocket/ reference name </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F8")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF9" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F9")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Notified/ Un-notified </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F9")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF10" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F10")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Ward population </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F10")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF11" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F11")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Slum population </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F11")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF12" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F12")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Individual water connections </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F12")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF13" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F13")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Community taps </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F13")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF14" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F14")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Handpumps </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F14")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF15" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F15")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Individual toilets </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F15")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF16" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F16")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Community toilets </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F16")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF17" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F17")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Pucca houses </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F17")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF18" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F18")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Semi pucca houses </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F18")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF19" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F19")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Kuccha houses </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F19")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF20" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F20")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Permanent pattas distributed </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F20")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF21" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F21")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Temporary pattas distributed </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F21")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF22" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F22")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Primary school in the slum pocket </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F22")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF23" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F23")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> No. of Primary Health centres in the slum pocket </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F23")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF24" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F24")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Beneficiaries under social security schemes </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F24")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> <asp:TemplateField> <EditItemTemplate> <asp:TextBox ID="txtF25" runat="server" CssClass="TextBox" MaxLength="250" Text='<%#DataBinder.Eval(Container.DataItem, "F25")%>' Width="100 %"></asp:TextBox> </EditItemTemplate> <HeaderTemplate> Any interventions under IHSDP (Y/N) </HeaderTemplate> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "F25")%> </ItemTemplate> <HeaderStyle CssClass="GridHeading" /> <ItemStyle CssClass="normal" /> </asp:TemplateField> </Columns> <PagerStyle CssClass="Pager" /> <HeaderStyle BackColor="#D5E3F6" CssClass="GridHeader" Font-Bold="True" ForeColor="Black" Font-Italic="False" Width="100px" /> <FooterStyle HorizontalAlign="Left" /> <AlternatingRowStyle BackColor="Gainsboro" /> </asp:GridView> <asp:SqlDataSource ID="sdcIPAddress" runat="server" ConnectionString="<%$ ConnectionStrings:dsn %>" DeleteCommand="Delete from [UrbanPoor] where [UP_ID]=@UP_ID" SelectCommand="SELECT ULBID,Company,City,Ward,F8,F9,F10,F11,F12,F13,F14,F15,F16,F17,F18,F19,F20,F21,F22,F23,F24,F25,UP_ID FROM UrbanPoor WHERE [ULBID] = @ULBID order by Company" UpdateCommand="UPDATE [UrbanPoor] SET [F8]=@Ia ,[F9]=@Ia1 ,[F10]=@Ia2 ,[F11]=@Ia3,[F12]=@Ia4 ,[F13]=@Ia5,[F14]=@Ia6,[F15]=@Ia7,[F16]=@Ia8,[F17]=@Ia9,[F18]=@Ia10,[F19]=@Ia11,[F20] =@Ia12,[F21] =@Ia13,[F22] =@Ia14,[F23] =@Ia15,[F24] =@Ia16,[F25] =@Ia17 WHERE [UP_ID] = @UP_ID"> <SelectParameters> <asp:Parameter Name="ULBID" Type="string" /> </SelectParameters> <UpdateParameters> <asp:Parameter Name="UP_ID" Type="string" /> <asp:Parameter Name="Ia" Type="string" /> <asp:Parameter Name="Ia1" Type="string" /> <asp:Parameter Name="Ia2" Type="string" /> <asp:Parameter Name="Ia3" Type="string" /> <asp:Parameter Name="Ia4" Type="string" /> <asp:Parameter Name="Ia5" Type="string" /> <asp:Parameter Name="Ia6" Type="string" /> <asp:Parameter Name="Ia7" Type="string" /> <asp:Parameter Name="Ia8" Type="string" /> <asp:Parameter Name="Ia9" Type="string" /> <asp:Parameter Name="Ia10" Type="string" /> <asp:Parameter Name="Ia11" Type="string" /> <asp:Parameter Name="Ia12" Type="string" /> <asp:Parameter Name="Ia13" Type="string" /> <asp:Parameter Name="Ia14" Type="string" /> <asp:Parameter Name="Ia15" Type="string" /> <asp:Parameter Name="Ia16" Type="string" /> <asp:Parameter Name="Ia17" Type="string" /> </UpdateParameters> <DeleteParameters> <asp:Parameter Name="UP_ID" Type="string" /> </DeleteParameters> </asp:SqlDataSource> </td> </tr> </table> </div> </div> </asp:Content>