473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Basic ASP.Net database interaction question

We have an MS Access database that we are using at my work. Currently, everything is done through forms in Access, but this makes making any updates to the forms difficult, as there is always somebody in the file so we can never save any changes. The plan is to make the forms web based. We're currently looking at a few different options - the first is to use Infopath, which a coworker is learning right now, while the other is to use ASP.Net.

I'm really not a fan of Infopath at all, as it has always felt a little too restrictive to me, so I'd prefer to use ASP.Net. My main concerns with that have to do with maintaining data integrity. Basically, we will have a page that, when the user selects a service name, will display all the hiring actions for that service. We would face the basic problem of two people having the same service open and making changes to it, thus having one of them over-writing the other person's changes. Nobody on the team is all that intimately familiar with ASP, so I'm worried that the workaround for this is going to take a lot more knowledge of the language than we currently have or could learn in a short amount of time.

I guess the real question I have is how does record locking work in ASP.Net? If I run a query for, say, all the hiring actions where service = fiscal, does it only lock down the Fiscal records, or does it lock the whole table?
Feb 22 '08 #1
3 1240
Plater
7,872 Expert 4TB
I am not sure ANYTHING gets locked down. I've not come accross anything getting locked in usage, unfortunatly.
Feb 22 '08 #2
I am not sure ANYTHING gets locked down. I've not come accross anything getting locked in usage, unfortunatly.
So, basically, ensuring integrity of data if more than one person is in there is either impossible or would require a bunch of complex code of some sort?
Feb 22 '08 #3
Plater
7,872 Expert 4TB
So, basically, ensuring integrity of data if more than one person is in there is either impossible or would require a bunch of complex code of some sort?
Well, I cann't make that statement for sure, I hope someone who can will chime in on this.

I believe databases themselves have some sort of self-locking behavior (I believe sql server does internally).

I would think adding a "Last Modified" column to every table would be a quick and dirty way to handle this.
Consider:
Two users each load the same record from a table. Each one gets a last modified value of say "2/25/2008 9:00:32 AM".
One user saves the record back, which updates the record to be "2/25/2008 9:04:48 AM".
When the 2nd user goes to save the record back, they get notified that last modified date in the record does not much the one it was when they loaded the record.

Where you go from there, I'm not sure, but I think this is roughly how wiki software does it (minus all the changelog history stuff)
Feb 25 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: nib | last post by:
What kind of problems is visual basic best at solving?
3
by: nick | last post by:
Hi, I'm pretty much a database beginner and have what I think is a basic question: If I have a table which has a 'status' column and I can have say three statuses: "active", "pending",...
8
by: Jasper | last post by:
I have a noob problem that is fairly expansive. Let me preface it by saying that I'm a beginning programmer and am using the game I'm writing as a learn-as-I-go tool. I'm trying to make a...
1
by: bj | last post by:
I have several pages that I want to allow the same kind of activity, so my basic question is how best to structure the interaction (and I have one related subquestion as well). Scenario: The...
6
by: DH | last post by:
I have a VERY basic question about figuring database size. I've inherited a database which is generally similar to this basic one: Item, Red, Blue, Green, Yellow (text), (int),(int),(int),(int)...
8
by: windandwaves | last post by:
Hi Folk I want to send out a basic newsletter from my MySql database of contacts. Does anyone know a nice and simple bit of PHP that allows me to do this? TIA - Nicolas
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
1
by: Ronm | last post by:
Hey Guys, I have a problem which has been driving me crazy for the last days. I'm working on a small project involving: Visual Basic Acces Database ASP and adobe/macromedia Flash,
3
by: Scott Stark | last post by:
Hello, I'm trying to get a better handle on OOP programming principles in VB.NET. Forgive me if this question is sort of basic, but here's what I want to do. I have a collection of Employee...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.