OK, first thing you need to do is forget about logicals. On any other
DBMS you wouldn't have them. You'd have the table (physical) and a
number of indexes built over it. There would be no way to directly
reference any of the indexes, you'd simply reference the table
(physical). Granted, I'm ignoring views here, but that's ok.

Now, for the updates to work the way you're trying to use them (I
believe, I don't use data adapters) there needs to be a primary key
constraint, or unique index built over the table. That means there needs
to be an index (logical) built over the physical that is specified
unique. You don't need to reference that index, the system will do so on
its own, but it has to exist. Is there some logical that's marked
unique? Can you create one?

As for the coding techniques, I know there's some upfront work, but once
you get a decent DAL (data access layer) running your productivity will
go through the roof! If you don't have a copy of SQLServer Express get
one. It's often easier to play with SQLServer than it is to play w/the
i. Then you can take what you've learned and apply it to i. I'd also
look (listen actually) to a number of the great podcasts on .net. A good
place to start is a recent Scott Hanselman blogpost listing the great
.net podcasts, there a link to my list in the bulleted list on his post.
(http://www.hanselman.com/blog/HanselmanListOfPodcastsForNETProgrammers.
aspx)

-Walden



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.