CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2011
    Posts
    1

    DataGridView in ASP.NET

    Hi

    I am quite new to the ASP.NET framework and I am trying to design a datagridview table that does the following:

    1. Retrive data from an existing database using a connection string
    2. Displays that data
    3. Allows user to edit and make changes to every row in the datagridview.
    4. Allows to user to insert data (at the footer) into the dataset through the datagridview table using textboxes and dropdownlists
    5. The dropdownlist contains elements from another database retrieved through another connection string.

    lets say for example that my dataset contained the following columns:
    1. ID Number
    2. First Name
    3. Last Name

    Thank You in advance

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: DataGridView in ASP.NET

    The Control itself does not include all the functionality you describe.. however most of it is easy to do with a combination of pages and controls..

    Draw up something and I'll be glad to help you debug it...
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  3. #3
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: DataGridView in ASP.NET

    BTW .. I personally prefer to use the DataRepeater to the DataGridView in a Web App, It gives me more control and flexability with big long lists..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  4. #4
    Join Date
    Jun 2011
    Posts
    1

    Re: DataGridView in ASP.NET

    Hey...I am new to ASP.NET and i am trying to make datagridview table but i am facing many problems. Please help me.

  5. #5
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: DataGridView in ASP.NET

    Quote Originally Posted by robinkipson View Post
    Hey...I am new to ASP.NET and i am trying to make datagridview table but i am facing many problems. Please help me.
    #1 .. Start Your own thread for your question...

    #2 .. Give FULL DETAILS of your problem...
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  6. #6
    Join Date
    May 2011
    Posts
    41

    Re: DataGridView in ASP.NET

    You could do what your describing using a code first method using an entity framework object. Watch this video and see if it helps.

    http://www.pluralsight-training.net/...ebforms4-intro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured