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 558957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:11:12+00:00 2026-05-13T12:11:12+00:00

I have data entry form like… Data Entry Form http://img192.imageshack.us/img192/2478/inputform.jpg There are some empty

  • 0

I have data entry form like…

Data Entry Form http://img192.imageshack.us/img192/2478/inputform.jpg

There are some empty rows and some of them have values. User can Update existing values and can also fill value in empty rows.

I need to map these values in my DB table and some of them will be inserted as new rows into the database and existing record will be updated.

I need your suggestions, How can I accomplish this scenario with best approach.

Thanks

  • 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-13T12:11:12+00:00Added an answer on May 13, 2026 at 12:11 pm

    For each row, I would have a primary key (hidden), a dirty flag, and a new flag. In the grid, you would set the “dirty” flag to true when changes are made. When adding new rows in the UI, you would set the new flag as well as generate a primary key (this would be easiest if you used GUIDs for the key). Then, when you post this all back to the server, you would do inserts when the new flag is set and updates for those with the dirty flag.

    Once the commit of the data has completed, you would simply clear the dirty and new flags.

    Of course, if the data is shared by multiple contributors and can be edited concurrently, there’s a bit more involved if you don’t want someone overwriting another’s edits.

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

Sidebar

Related Questions

The problem: I have a data entry form. I would like to save the
I'm developing an ASP.NET form for data-entry. Users have to select a client from
Suppose that you have a big Data Entry Web Application Like Microsoft CRM ,
I have a custom data entry form which is bound to a ViewModel (VM).
I have on a form a UserControl that I use as a Data-Entry form.
I have a WinForms data entry form that will have upwards of 1500 questions.
I have a pretty big data entry form which has many text fields ,
I have a data entry/editing form with two combo boxes (Name and Group). Each
Let's say you're building something simple, like a data entry/CRUD form for working on
I have a WPF MVVM app that contains a data entry form with several

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.