Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

CRUD (Create, Read, Update, Delete) Operation With Generic List

, 27 May 2010
CRUD (Create, Read, Update, Delete) Operation With Generic List
EntityCollection.zip
EntityCollection
App_Data
bin
EntityCollection.dll
EntityCollection.pdb
BO
EntityCollection.csproj.user
Properties
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="EntityCollection._Default" %>

<!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">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    
    <div style="position: absolute; width:100%; top: 15px; left: 10px;">
        <div style="position: absolute; left: 10px; top: 10px ;width:70%;">
        <asp:GridView ID="grdUser" runat="server" BackColor="White" 
            BorderColor="#3366CC" BorderStyle="Solid" BorderWidth="1px" CellPadding="4" 
                Width="41%" Height="169px">
            <RowStyle BackColor="White" ForeColor="#003399" />
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
        </asp:GridView>
        <br />
        
        <div style="border: thin solid #000080; width:41%">
        <br />
        &nbsp;<asp:DropDownList ID="ddlFindProperty" runat="server"></asp:DropDownList>&nbsp;=
           <asp:TextBox ID="txtFindVal" runat="server" Width="114px"></asp:TextBox>&nbsp;
           <asp:Button ID="btnFind" runat="server" onclick="btnFind_Click"  Text="Find" 
               Font-Bold="True" /> &nbsp;
           <asp:Button ID="btnDelete" runat="server" Text="Delete" onclick="btnDelete_Click" Font-Bold="True" />&nbsp;
           <p></p>
           &nbsp;<asp:DropDownList ID="ddlSortProperty" runat="server"></asp:DropDownList>&nbsp;&nbsp;&nbsp;
           <asp:DropDownList ID="ddlSortOption" runat="server">
           <asp:ListItem>Asc</asp:ListItem>
            <asp:ListItem>Dsc</asp:ListItem>
           </asp:DropDownList>&nbsp;
           <asp:Button ID="cmdSort" runat="server" onclick="cmdSort_Click" Text="Sort" Font-Bold="True" />
           <br />&nbsp;
           </div>
        </div>
       <div style="position: absolute; left: 380px; top: 10px; width:41%">
       
      <asp:GridView ID="grdFilterUser" runat="server" BackColor="White" EmptyDataText="No record found"
            BorderColor="#3366CC" BorderStyle="Solid" BorderWidth="1px" CellPadding="4">
            <RowStyle BackColor="White" ForeColor="#003399" />
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
        </asp:GridView>
           
       </div>
    </div>
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

About the Author

Bibhas Paul
Software Developer (Senior) Reputed MNC in Kolkata
India India
Bibhas has 8 years of extensive experience in application development with exposure to business requirement study, system analysis and designing, coding ,testing,
implementation, end user training and client Interaction.
 
He was the part of application development team and worked for industry leading organizations like "ConocoPhillips", "Abbey National Bank" and “DHL".
 
Posses sound experience as a technical architect and all part of software development lifecycle.
 
His interest includes in Microsoft Technologies (ASP.NET 3.5 & SQL Server), Design Pattern and wide variety of internet technologies like AJAX, JQUERY etc.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 27 May 2010
Article Copyright 2010 by Bibhas Paul
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid