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

  • Home
  • SEARCH
  • 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 709409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:30:04+00:00 2026-05-14T04:30:04+00:00

I have a page with a form on it and needs a range of

  • 0

I have a page with a form on it and needs a range of dates. Thus I’ve placed a number of textboxes on the page into which users can type dates. When the user clicks the save button I want to trigger a LINQ update to the SQL Server…all the rows already exist, so I’m just updating existing data. How can I do this?
For example, lets say my table looks like this:

Column Names: Description dateValue
Column Values:
               Birthdate   1/1/1990
               Anniversary 1/10/1992
               Death       1/1/1993

I want to do something like this:

hupdate.Description("Birthdate").dateValue = TextBox1.Text
hupdate.Description("Anniversary").dateValue = TextBox2.Text
hupdate.Description("Death").dateValue = TextBox3.Text
hconfig.SubmitChanges()

Is there a way to do this with LINQ?

  • 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-14T04:30:04+00:00Added an answer on May 14, 2026 at 4:30 am

    I don’t think there is a way to do that with only LINQ. However, there are other ways to achieve that like:

    • if you use Entity Framework you can use LINQ to query the data, then change the entities (within your c# code) and update the DB via them.
    • Create a stored procedure that updates the data, according to your description this stored procedure doesn’t seem like a complicated one.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a login form, which needs to be re-directed to the main page
I have a page with a form on it that needs to post to
I have a search form with filters. 1 filter is range which is to
I have a page which needs to use $.post() but for some reason the
I have a signup form that needs to be loaded for every page of
I have a page which needs to redirect a user to another separate system
i have few div's in my form which needs to be hidden at first
I have a form which is submitted to a PHP page. The data from
I have a page upon which a user can choose up to many different
I have a timed page that I need to use to submit a form

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.