Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

A little help with optimistic concurrency please?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
B. Chernick - 16 Dec 2007 01:12 GMT
I was suddenly told to whip up a web project in ASP.Net 2.0.  The last few
weeks have been a crash course in new technology.  I've done some 1.1 web
work but it's been a while. The basics are really quite simple and I want to
keep it that way.  I'm using virtually nothing but grid views and
detailsviews.  The grids are used solely for display.  Each row has an edit
hyperlink that goes to a detailsview for actual edits and inserts. The
datasource is an xsd.  Create a connection to a SQL Server2000 db and drag
tables onto it.  Then, when creating grids and detailviews, use
ObjectDateSources.  Minimal code and most of that for navigation.  So far, so
good.  

I believe it would be negligent of me not to implement optimistic
concurrency.  Unfortunately I don't know what I'm doing and time is short.  
Also I'm getting the impression that Visual Studio default code is not enough.

What, in your opinion, is the simplest and safest way to do this?  Anything
to avoid deadends.  

I do know there are some problems with the sql generation wizards in the xsd
and so far I've been able to work around them.  Optimistic concurrency seems
to present another set of problems.  I'm still running through demos and
tutorials but I'd appreciate it if anyone has a favorite method they'd like
to share.

(Also would using timestamp fields simplify matters?)

Thanks.
B. Chernick - 18 Dec 2007 15:19 GMT
Ignore this.  Found a solution (I hope).  Will create new post.

> I was suddenly told to whip up a web project in ASP.Net 2.0.  The last few
> weeks have been a crash course in new technology.  I've done some 1.1 web
[quoted text clipped - 23 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.