Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 835405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:49:25+00:00 2026-05-15T04:49:25+00:00

I have need to provide a way for users to edit tables in ASP.Net.

  • 0

I have need to provide a way for users to edit tables in ASP.Net. The tables are simple (no master/detail relationships), but there are likely to be a lot of them. What’s the quickest/simplest way to provide a view/edit interface to a table, even considering commercial options (but not Iron Speed Designer. That thing is ridiculously expensive for what I need)?

In its most simple/ideal configuration, I’d want to point a control at a table and be done. I’ve looked at a few ORM solutions, but they all try to be a swiss army knife which just piles on the complexity and tend to be beasts unto themselves.

Is there something that is crazy simple that can help me here? Or should I just dive into SubSonic or something similar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:49:25+00:00Added an answer on May 15, 2026 at 4:49 am

    After some research, the quickest thing I found turns out to be just using linq to sql with a GridView. I was looking for a solution that can easily integrate into existing pages. Without the benefit of auto-scaffolding and generated pages, Dynamic Data kinda misses the mark. 99% of what I wanted was to avoid getting into writing SQL statements and handling the UpdateCommands manually.

    Here are the steps I wrote up for my own personal reference. It relies heavily on the designers, but for what I need, this is perfect:

    1. New project (or existing project)
    2. Add LinqToSqlClass file to project
    3. Add Relevant tables from datasource to design surface (use server explorer)
    4. Build project (so that datacontext class will get generated)
    5. Go to aspx page
    6. Drag a linqdatasource object from toolbox.
    7. Configure datasource (make sure to enable update if necessary)
    8. Drag a gridview from toolbox
    9. Set datasource to linqdatasource object you just created
    10. Customize columns if necessary (ie, set readonly property on non-editable columns, hide non-relevant columns.)

    As far as dynamic data is concerned, the documentation is currently lacking. There’s a LOT of stuff that references earlier versions that doesn’t work quite the same now. I watched the videos here and followed the steps here, but ultimately ran into problems when I tried hiding non-editable columns. The update statement generated by linq didn’t reference the primary key and I got the Row not found or changed error. I gave up and used the solution above.

    Hope this helps someone else in the future!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a way to identify users. I have a Google site that is
I have a few large forms that I need to provide visual cues about
I have a wcf web service and I need to provide the client with
I have Text( http://www.mywebsite.com ) in a view, in which i need to provide
I have a project using Lucene3.5 already. Now i need to provide web search
I have some classes which are parameterized via their constructor. I need to provide
I have an application built upon ASP.NET 3.5 and PostgreSQL 8.3. My database has
i want to implement asp.net role provider to assign users over my LAN to
I have online form builder appplication in ASP.NET MVC3 with Razor views. It is
I have a current system using IIS 6 and 7, written in ASP.NET with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.