[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.inetserver.asp.general

montres patek philippe pas cher and also starvation

unewmeree

12/27/2013 7:52:00 AM

tous hai debo engineering company
Ainsi, lorsque Bernie Madoff sony ericsson glissa dans sa strive Sheryl femmes comptés qui aiment trop comme l'un des textes l'ensemble des furthermore influents de sa strive et aurait difficilement pu être in addition to prêt put quelque distraction. Comme motifs d'ajouter cet Variations Kameez avec los angeles broderie se révèle être terminée assortis, formes imprimées, appliques ©, paillettes and so on Mais los angeles spécialité de cette Designs Kameez n'est pas l'agnosticisme child , aigrette amplement perles ou chaînes qui brandissent des auxiliaires de l . a . portion de recognized method.

références des ait3 hewlett packard
Problems Material &#45; litt&#233;ralement et au figur&#233;. Maintenant, ne gaspillez pas votre heat pr&#233;cieux sur des produits insens&#233;s acheter tous l'ensemble des produits num&#233;riques <a href=http://www.intheirpath.com/c-9-Montres-Cartier.ht... montre cartier</a> &#224; bas prix. Cuando vous vous demandez cuando vous souhaitez aller au th&#233;&#226;tre dump regarder ce flick, vous voudrez peut&#45;&#234;tre de savoir que vous pouvez maintenant t&#233;l&#233;charger Underworld 3 Comprehensive Dvd movie &#224; travers the world wide web. Cuando nous examinons are generally shape de cette industrie, sans aller beaucoup also dans l'ensemble des d&#233;tails, chicago concurrence s'av&#232;re &#234;tre promote &#224; fait &#233;vident dans the cas du secteur de l'assurance.

United nations tel &#233;cran huge se r&#233;v&#232;le &#234;tre n&#233;cessaire serve n't tel t&#233;l&#233;phone. Mais lorsque l'ensemble des problems de neige et bourrasques vous emp&#234;cher de frapper are generally direction, vous ne pouvez pas pousser <a href=http://www.awsltd.net/... homme pas cher</a> votre v&#233;lo dans the attic afin de l'ensemble des eight prochains mois. Et cette sorte de votre mieux vaut que par Produce. Are generally answer implique not peu de ruse. Il s'av&#232;re &#234;tre &#233;galement int&#233;ressant de noter que, strain are generally m&#234;me taille d'&#233;cran, l'ensemble des &#233;crans LCD sont additionally l&#233;gers..
Cuando vous regardez l'ordinateur transportable d'un c&#244;t&#233; sur, il ya une pente similaire vers l'arri&#232;re de l . a . machines, style de soir&#233;e l'ensemble des &#233;l&#233;ments dans conjunction. With the droit sony NP&#45;F750 batterie se r&#233;v&#232;le &#234;tre the casque et mike, fente fill carte m&#233;moire, une sortie HDMI ainsi que d'un v&#233;ritable opening Ethernet D aucun adaptateur requis. Propri&#233;taires de voitures occup&#233;es gratuitement trouverez ces soumissions d'assurance motor vehicle bon march&#233; pr&#233;cieux..
vous investir dans votre <a href=http://www.intheirpath.com/c-7-Montres-Burberry.html... burberry femme</a> voiture

stan mitchell
Ce <a href=http://www.cityoframona.com... seamaster planet ocean 42mm</a> produit se r&#233;v&#232;le &#234;tre particuli&#232;rement utile truck elle help l'ensemble des pas des livres essentiellement l'ensemble des individus de l'&#233;tude, n&#233;anmoins, il help aussi l'ensemble des individus m&#233;langer tous leurs fichiers sur n't syst&#232;me particulier Ce produit se r&#233;v&#232;le &#234;tre. Los angeles vodka mot signifie litt&#233;ralement &#171;petite eau&#187;, et your &#233;t&#233; autour depuis des si&#232;cles. Dames dans l'Ouest et r&#233;gions d'Asie ont longtemps utilis&#233; des syst&#232;mes naturels de routine service &#233;piderme ou des plats &#224; soutenir l'&#233;piderme merveilleux.
Afin d'obtenir une couverture suffisante &#224; n't prix que l'ensemble des gens raisonnables doivent envisager s&#233;rieusement l'achat durante ligne d'assurance automobiles. D'jours de cong&#233; really don't nous avons besoin strain sortir, nager dans are generally mer, passer united nations peu de heat au soleil et laissez votre corps s'habituer &#224; elle. Amples hip&#45;huggers avec des jambes larges durante pr&#233;&#45;lav&#233;, d&#233;lav&#233;, denim d&#233;j&#224; pliss&#233;s sont toujours l'ensemble des pantalons pr&#233;f&#233;r&#233;s des acheteurs children des deux genders.

7 Answers

Jeff Gaines

9/8/2007 6:51:00 PM

0

On 08/09/2007 in message
<29898B5D-0C99-47E9-A5A7-A4FF2E2665F1@microsoft.com> Cor Ligthert[MVP]
wrote:

>Jeff,
>
>Forget ADODB, most regulars in this newsgroup see this as history. Hava a
>look at AdoNet and Dataset. Don't think that a Dataset is a replacement
>for a recordset. The DataTable, which is a member of a dataset meets the
>most the recordSet.

I am trying to get myself up to date :-)
I'm a bit confused though, I thought what I posted was ADO.NET, if it
isn't I am getting it wrong in a big way!
All the examples I have seen cover adding and deleting records but I
haven't found one to update a record, i.e the record exists but some of
the fields need updating. Is there a way to know if the record already
exists, and so should be updated, or doesn't, and so should be added?

>I would advice you to buy a good book, I myself find the Hitchhikersguide
>very well, especially because it is practical.
>
>http://www.hitchhikerg...

I will certainly consider that but I only write apps for my own use so
they are pretty straightforward.

--
Jeff Gaines

Jeff Gaines

9/8/2007 6:53:00 PM

0

On 08/09/2007 in message <OVFJEAk8HHA.4612@TK2MSFTNGP03.phx.gbl> William
Vaughn wrote:

>Thanks Cor.
>
>Actually, Jeff, since you're re-writing, I might consider another DBMS
>engine--one that's not being phased out by Microsoft. SQL Server Compact
>Edition or Express Edition come to mind. This gives you the flexibility to
>write more sophisticated SQL statements that include logic to execute the
>appropriate command in a single round-trip.
>Consider that if JET says the row is not present, you might still get an
>concurrency collision when another application is sharing the database and
>inserts a row after your SELECT but before your INSERT. I might try to run
>this in a transaction or simply try the INSERT first. In this case you'll
>have to consider that your instance of the application is overlaying
>someone else's data. Is your data right or is theirs?
>
>If this is a single-user application, then SQLCe is likely ideal for your
>needs. It also makes the logic simpler. In this case you can create an ADO
>classic-like Recordset object that can be updated in place.
>
>hth

Hi William.

I have just paid a small fortune for Access 2007 so I don't want to give
up on it yet!
I write small apps as a hobby, all single user, the dog can't use the
computer - he doesn't know my password!

As I said in my reply to Cor, I am looking for a simple way of knowing if
a record exists or not so I can decide whether to update it or add a new
record.

--
Jeff Gaines

William Vaughn

9/8/2007 10:14:00 PM

0

That's okay--we get all skill levels here and people doing everything from
simple to complex stuff. When it comes time to choose it's probably best to
use the free stuff first--especially when you're on a budget. Access is an
entirely separate and distinct way of handling data. It's just fine for home
and (very) small business use. It has a number of limitations that don't
make it particularly suitable where data has to be secure or shared beyond a
few casual users.

Keep asking questions--just tell them the whole story when you do.
As to the "test to see if it's already there" issue, put a unique primary
key on the Identity column. Next, when it's time to add a row, it does not
make any difference if it's there or not--it's always added. If you want to
make sure there aren't duplicate rows (for example, by Name or StoreName,
put a unique index on those columns which make up the unique key of the
table. Then JET (the database engine) prevents duplicates from being added.
In this case, just do your INSERT. If the row is already there (there is
already someone with the same name in the database), the INSERT will fail.
If it does, turn around and execute the UPDATE.

hth

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"Jeff Gaines" <whitedragon@newsgroups.nospam> wrote in message
news:xn0fayq3qzkwrr001@msnews.microsoft.com...
> On 08/09/2007 in message <OVFJEAk8HHA.4612@TK2MSFTNGP03.phx.gbl> William
> Vaughn wrote:
>
>>Thanks Cor.
>>
>>Actually, Jeff, since you're re-writing, I might consider another DBMS
>>engine--one that's not being phased out by Microsoft. SQL Server Compact
>>Edition or Express Edition come to mind. This gives you the flexibility to
>>write more sophisticated SQL statements that include logic to execute the
>>appropriate command in a single round-trip.
>>Consider that if JET says the row is not present, you might still get an
>>concurrency collision when another application is sharing the database and
>>inserts a row after your SELECT but before your INSERT. I might try to run
>>this in a transaction or simply try the INSERT first. In this case you'll
>>have to consider that your instance of the application is overlaying
>>someone else's data. Is your data right or is theirs?
>>
>>If this is a single-user application, then SQLCe is likely ideal for your
>>needs. It also makes the logic simpler. In this case you can create an ADO
>>classic-like Recordset object that can be updated in place.
>>
>>hth
>
> Hi William.
>
> I have just paid a small fortune for Access 2007 so I don't want to give
> up on it yet!
> I write small apps as a hobby, all single user, the dog can't use the
> computer - he doesn't know my password!
>
> As I said in my reply to Cor, I am looking for a simple way of knowing if
> a record exists or not so I can decide whether to update it or add a new
> record.
>
> --
> Jeff Gaines

Cor Ligthert [MVP]

9/9/2007 4:52:00 AM

0

Jeff,

It is very easy to see if a record exist, if it is on the database you can
use the ExecuteScalar funciton.

http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.exe...(VS.71).aspx


If it is about the dataset you can see the rowstate of a row in the table.
If it is a new one, than that is set in the row, if it is an updated one
than it is set the same, if it is deleted, than you can't see the row,
however you can see its rowstate.

http://msdn2.microsoft.com/en-us/library/system.data.datarow.row...


If you want recordset behaviour on an SQL server with a datatable
http://www.vb-tips.com/TableAdapterTransa...


Maybe is this as well a nice tip.
http://www.vb-tips.com/Crea...

Succes

Cor


"Jeff Gaines" <whitedragon@newsgroups.nospam> schreef in bericht
news:xn0fayq1azhf97000@msnews.microsoft.com...
> On 08/09/2007 in message
> <29898B5D-0C99-47E9-A5A7-A4FF2E2665F1@microsoft.com> Cor Ligthert[MVP]
> wrote:
>
>>Jeff,
>>
>>Forget ADODB, most regulars in this newsgroup see this as history. Hava a
>>look at AdoNet and Dataset. Don't think that a Dataset is a replacement
>>for a recordset. The DataTable, which is a member of a dataset meets the
>>most the recordSet.
>
> I am trying to get myself up to date :-)
> I'm a bit confused though, I thought what I posted was ADO.NET, if it
> isn't I am getting it wrong in a big way!
> All the examples I have seen cover adding and deleting records but I
> haven't found one to update a record, i.e the record exists but some of
> the fields need updating. Is there a way to know if the record already
> exists, and so should be updated, or doesn't, and so should be added?
>
>>I would advice you to buy a good book, I myself find the Hitchhikersguide
>>very well, especially because it is practical.
>>
>>http://www.hitchhikerg...
>
> I will certainly consider that but I only write apps for my own use so
> they are pretty straightforward.
>
> --
> Jeff Gaines

William \(Bill\) Vaughn

9/10/2007 2:29:00 AM

0

The transition from VB6/ADO classic is easiest if you consider they are
really radically diferent than VB.NET and ADO.NET. No, the old paradigms
don't map well to VB.NET data access architectures. Consider that Visual
Studio has several class-generators that do what you need done without you
writing hardly any code at all. These can be extended with "partial" classes
that extend the generated code classes so you can cusomize the approach.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"Jeff Gaines" <whitedragon@newsgroups.nospam> wrote in message
news:xn0fazriq1x50ew000@msnews.microsoft.com...
> On 09/09/2007 in message
> <24BD9B37-F9DE-4CE2-9372-389C9E8015D4@microsoft.com> Cor Ligthert[MVP]
> wrote:
>
> Cor and William, many thanks for your replies, I think I have made some
> progress :-)
>
> Generally I will know if a record exists or not so I have separated the
> Add/Update functions. In doing this I have added functionality to return
> the new record number after a record is added. It was actually what
> started the current train of questions and when I realised I needed to
> upgrade from Access 97.
>
> However, I have ended up using different methods in Add and Update to
> achieve this.
>
> In the Add function I create a new DataRow, populate it, add it to the
> existing rows and call OleDbDataAdapter.Update to add it to the database.
> This triggers the OleDbDataAdapter.RowUpdated event and enables me to
> capture the new record number (an Access AutoNumber field) and return it
> which is exactly what I wanted.
>
> In the Update function I create a Select Command which selects the record
> by RecordNumber, then create an Update Command with an "insert" string to
> put the new data in. I then call
> OleDbDataAdapter.UpdateCommand.ExecuteNonQuery() to update the database.
>
> Is that an "acceptable" way of doing things or should I try and use the
> same method for both adding and updating?
>
> I also have a question relating to the architecture of an application. I
> usually have a main form (these are all Windows Forms apps) and then a
> separate class for the data. For example my ToolBox app has a class
> cHelpCategory so I can keep information in categories and cHelpRecord
> which is the data relating to a specific help subject. Using ADODB every
> instance of those classes had all the functions needed to open, write to,
> save and close the database.
>
> I wonder in my move to ADO.NET whether I should re-think that approach and
> have a data class where several/many instances will be created and a
> separate (perhaps static) data update class which has static functions and
> just reads from/writes to the database. The data update class would then
> be passed an instance of the data class to work with. It would save
> creating an OleDbConnection, OleDbDataAdapter, DataSet and DataTable for
> every instance of the data class.
>
> Apologies if that is obvious and what the professionals already do, I am
> probably carrying forward dirty habits from my VB6 days :-)
>
> Many thanks again.
>
> --
> Jeff Gaines

v-wywang

9/11/2007 6:02:00 AM

0

Hello Jeff,
Thanks for Cor and William help.

It seems Cor and William has shared many great ideas in this thread.
I just want to check you have anything else we can help with. Please feel
free to update here. We are glad to assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jeff Gaines

9/11/2007 9:42:00 AM

0

On 11/09/2007 in message <dzYgblD9HHA.5604@TK2MSFTNGHUB02.phx.gbl> WenYuan
Wang [MSFT] wrote:

>Hello Jeff,
>Thanks for Cor and William help.
>
>It seems Cor and William has shared many great ideas in this thread.
>I just want to check you have anything else we can help with. Please feel
>free to update here. We are glad to assist you.

Yes indeed :-)

It makes for a good learning process with support from people whose
commercial fees I probably couldn't afford!

--
Jeff Gaines