[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

microsoft.public.inetserver.asp.general

All lady gaga madonna comparison

Rhipiregree

12/28/2013 3:37:00 AM

Im sorry to be so stupid.
<a href=http://ih33buyamoxil.soup.io... 60 mg</a> <a href=http://2qx7orderwellbutrin.soup.i... wellbutrin in italy</a> The girl put her knuckles up to her open mouth and bit on them, staring at the telephone. <a href=http://qh2zbuypremarin.soup... premarin tablets</a> <a href=http://aiyzonlinetenormin.soup.io&g... in canada</a> What I was going to say, said the Dodo in an offended tone, was, that the best thing to get us dry would be a Caucus-race. <a href=http://zel3onlinestromectol.soup.i... stromectol pills</a> <a href=http://0dcycheapcipro.soup... cipro visa</a> They could not believe that anything would be attempted in the Casino itself.
<a href=http://va5covernightlipitor.soup.i... lipitor online no prescription</a> <a href=http://6i59ordercipro.soup.i... cipro in gb</a> Presently our little boat gave herself a shake, just as a dog does in coming out of the water, and thus rid herself, in some measure, of the seas. <a href=http://1palcheaptopamax.soup... topamax in denmark</a> I knew that the crisis of my disorder had long passed. About twelve, said Winnie-the-Pooh, looking at the sun. <a href=http://lfhbovernightvibramycin.soup... vibramycin in europe</a> <a href=http://f9c0buyglucophage.soup.io... purchase glucophage</a> <a href=http://bqikonlinearcoxia.soup... arcoxia online cheap</a>
<a href=http://xr65overnightestrace.soup.i... estrace tablets</a> <a href=http://xl3rovernightglucophage.soup.i... glucophage visa</a> Should he tell the Security Section? <a href=http://oi2obuyarcoxia.soup.i... arcoxia in italy</a> <a href=http://mqgxcheapelavil.soup.io... online no prescription</a> The gun was still on the floor within reach of the first free hand. <a href=http://xm2echeappremarin.soup.io&g... premarin cheap</a> <a href=http://30c0orderzyprexa.soup.i... zyprexa in france</a> He whispered, Burrow into the sand.
<a href=http://sblbcheapzithromax.soup... zithromax in denmark</a> <a href=http://5vduorderpremarin.soup.i... premarin in denmark</a> Future-what shall I call them-patients, will have the same advantages. <a href=http://rhlccheapnolvadex.soup.io&g... without prescription</a> So he turned it into a hum instead. The barrier surrounding the caisse comes as high as your chin and the caissier, who is generally nothing more than a minor bank clerk, sits on a stool and dips into his piles of notes and plaques. <a href=http://vhi1orderpriligy.soup.i... priligy online</a> <a href=http://i0p8ordervaltrex.soup... valtrex in denmark</a> <a href=http://plqvbuyglucophage.soup.i... glucophage online no prescription</a>
<a href=http://ztx2ordervibramycin.soup... vibramycin in usa</a> <a href=http://6m64overnightpropecia.soup.i... propecia in germany</a> And again great frowning rocks guarded us boldly on either side. <a href=http://3h3ubuysporanox.soup.io&g... 30 mg</a> <a href=http://r8e9cheapbuspar.soup.io... 20 mg</a> I shuddered as I bent over to touch him, and every sense in me revolted at the contact, but I had to search, or I was lost. <a href=http://zqqeorderclomid.soup.io... no prescription</a> <a href=http://gcltorderdesogen.soup.i... desogen</a> The fancy work with the arm and the cards was just to warn the others.
<a href=http://cie9cheapcymbalta.soup.io&g... in france</a> <a href=http://c88gonlinesporanox.soup.i... sporanox no prescription</a> They had come to a stream which twisted and tumbled between high rocky banks, and Christopher Robin saw at once how dangerous it was. <a href=http://2znlorderminocin.soup.io&g... minocin online</a> I shall make an excuse to try. I am the one man in a million who has his heart on the right side of his body. <a href=http://i0reordermobic.soup.i... mastercard</a> <a href=http://1978overnightlexapro.soup.io&... in france</a> <a href=http://uy5hbuyarimidex.soup.io&g... cheap overnight delivery</a>
<a href=http://a0kobuybiaxin.soup.io... in au</a> <a href=http://8073overnightbiaxin.soup... biaxin without rx</a> Couldnt be a cactus or anything, so he stops and has himself a look. <a href=http://ykztcheappriligy.soup.io&... in europe</a> <a href=http://sedhovernightwellbutrin.soup.io>... cheap overnight delivery</a> I could no longer doubt the doom prepared for me by monkish ingenuity in torture. <a href=http://perpbuyseroquel.soup... seroquel online overnight</a> <a href=http://6eteovernightzyprexa.soup.i... zyprexa no prescription</a> Amazement now struggled in my bosom with the profound awe which had hitherto reigned there alone.
<a href=http://ofdyonlineclomid.soup.io&g... clomid</a> <a href=http://41wfordertenormin.soup.i... tenormin in usa</a> Ah me, it hurts so, my child. <a href=http://6aonorderamoxil.soup... amoxil in canada</a> The atmosphere, for example, impels the electric principle, while the electric principle permeates the atmosphere. The glint of light on an upturned bottle. <a href=http://xo3rcheapclaritin.soup.io&g... 40 mg</a> <a href=http://spawonlinepremarin.soup... premarin without prescription</a> <a href=http://izfgordernexium.soup... nexium in uk</a>
<a href=http://rkaoovernightsporanox.soup... sporanox in uk</a> <a href=http://96ppordercelebrex.soup.io&g... in canada</a> He had found a bee-hive to sleep in, but there wasnt room for his legs, so he had left them outside. <a href=http://v7z5buylexapro.soup.i... lexapro in italy</a> <a href=http://8cfnordercelebrex.soup.io&g... 20 mg</a> Outside the Harkers door we paused. <a href=http://d1p6ordermobic.soup... mobic in europe</a> <a href=http://9lydbuybuspar.soup.i... buspar online without prescription</a> It was a voluptuous scene, that masquerade.
<a href=http://bjf2cheapstrattera.soup... strattera in se</a> <a href=http://a1h8buyvibramycin.soup... vibramycin in germany</a> A few minutes later I saw Morris step suddenly back from a corner, which he was examining. <a href=http://tee7onlinelasix.soup... lasix no prescription</a> Yes, Pooh, I will be really. And through them you and others shall yet be mine, my creatures, to do my bidding and to be my jackals when I want to feed. <a href=http://n5rqorderperiactin.soup.i... periactin in france</a> <a href=http://zjzpbuyplavix.soup.i... plavix cheap</a> <a href=http://9my4buyarimidex.soup.io&g... pills</a>
<a href=http://ibbworderglucophage.soup.i... glucophage online without prescription</a> <a href=http://pfvkonlineflomax.soup.i... flomax online</a> But they cant tie it on to Le Chiffre. <a href=http://fdwocheappriligy.soup... priligy in uk</a> <a href=http://6asacheapflagyl.soup.i... flagyl online overnight</a> There was a long spell of silence, big, aching, void, and then from the Professor a keen S-s-s-s! <a href=http://gqwpcheapdeltasone.soup.i... deltasone in usa</a> <a href=http://5lxaovernighttenormin.soup.i... tenormin next day delivery</a> It cost him an effort and he was glad when it was done.
<a href=http://p31xordersingulair.soup... singulair tablets</a> <a href=http://nx91cheapwellbutrin.soup.io>... in au</a> I know where my thoughts are. <a href=http://5tk9onlinecymbalta.soup... cymbalta in germany</a> But, Lord love ye, miss, I aint afraid of dyin, not a bit, only I dont want to die if I can help it. I couldnt have made such a noise just falling down. <a href=http://s3jwbuysuprax.soup.i... suprax visa</a> <a href=http://tk3monlinefamvir.soup... famvir in italy</a> <a href=http://c785onlineduphaston.soup.i... duphaston in denmark</a>
<a href=http://w5a5onlinedeltasone.soup.i... deltasone without prescription</a> <a href=http://f5auovernightestrace.soup.i... estrace next day delivery</a> I am so worried in my mind that I am apt to be irritable. <a href=http://6goaovernighttopamax.soup.io&... in europe</a> <a href=http://ju36onlinesingulair.soup... singulair in canada</a> She picked up her bag from the bed and walked to the door. <a href=http://21nxbuynexium.soup.i... nexium in italy</a> <a href=http://nfs5orderlipitor.soup... lipitor in se</a> I quote a passage or two from its columns: We are persuaded that pursuit has hitherto been on a false scent, so far as it has been directed to the Barriere du Roule.
<a href=http://3h4tovernightlevaquin.soup.io&g... visa</a> <a href=http://doc7ordersingulair.soup.i... singulair in se</a> After a long spell she seemed sinking off to sleep, but with an effort seemed to pull herself together and shook it off. <a href=http://1cq3cheaptopamax.soup.i... topamax in se</a> I will give my mind to it, said Eeyore. The officer beside Bond had two racks of five yellow-painted shells in his hands. <a href=http://p9fwordercelebrex.soup.io... purchase celebrex</a> <a href=http://j1qrorderdesogen.soup... desogen</a> <a href=http://pypicheapmotrin.soup.i... motrin online</a>
<a href=http://ao35onlineinderal.soup.io&... online</a> <a href=http://adhybuyvibramycin.soup.i... vibramycin in usa</a> I must find out later on. <a href=http://zw5ebuyadvair.soup... advair pills</a> <a href=http://b33aovernightpropecia.soup.i... propecia online overnight</a> Was it the head or the tail? <a href=http://vw33ordercytotec.soup.i... cytotec in canada</a> <a href=http://gb00onlinekamagra.soup.io&... online without prescription</a> It was open, and led through a stone passage to a circular stairway, which went steeply down.
<a href=http://795yovernightwellbutrin.soup.io&g... wellbutrin online</a> <a href=http://5mx1onlinediflucan.soup.io&g... mastercard</a> Harker had sent a message by her husband to say that she would not join us at present, as she thought it better that we should be free to discuss our movements without her presence to embarrass us. <a href=http://fb3jovernightstrattera.soup.io>... 80 mg</a> To their Excellencies Von Underduk and Rub-a-dub, President and Vice-President of the States College of Astronomers, in the city of Rotterdam. There was something soft and colourless about their skins as if they rarely went out of doors. <a href=http://r3loorderilosone.soup.i... ilosone cheap</a> <a href=http://j7x7onlinebiaxin.soup.io... in se</a> <a href=http://lj0wbuynolvadex.soup.io&g... 70 mg</a>
<a href=http://hy08ordersuprax.soup.i... suprax tablets</a> <a href=http://sq7vcheapperiactin.soup.i... periactin in canada</a> So is a gorse-bush sometimes, said Pooh. <a href=http://t3xzcheapseroquel.soup.i... seroquel pills</a> <a href=http://izeccheapdesogen.soup.i... desogen next day delivery</a> In due course, I completed my studies and I left America and went by easy stages round the world. <a href=http://puo3cheapilosone.soup.io&... 60 mg</a> <a href=http://sr3xovernightdiflucan.soup.i... diflucan</a> We were strolling one night down a long dirty street in the vicinity of the Palais Royal.
<a href=http://6myqovernightbuspar.soup.i... buspar in sweden</a> <a href=http://5h2hbuynolvadex.soup.i... nolvadex in uk</a> Clausewitzs first principle was to have a secure base. <a href=http://lf00onlineflagyl.soup.i... flagyl in it</a> He picked up a pair of binoculars and began inching them along the beach. That big child-brain of his is working. <a href=http://93wjcheaplexapro.soup... lexapro in europe</a> <a href=http://iuq8orderestrace.soup.io&... in it</a> <a href=http://pmeicheapzyprexa.soup.i... zyprexa in canada</a>
<a href=http://qo7ncheapseroquel.soup.i... seroquel no prescription</a> <a href=http://vnb3buybiaxin.soup.io... biaxin</a> When you left the Bishops Hotel, what then? <a href=http://xa6konlinenexium.soup.i... nexium in usa</a> <a href=http://1cctcheapdeltasone.soup.i... deltasone mastercard</a> It was a fearful page in the record my existence, written all over with dim, and hideous, and unintelligible recollections. <a href=http://0wf1overnightsuprax.soup.io... in germany</a> <a href=http://bdf2orderclaritin.soup... claritin in se</a> When the silence continued at the other end, he said, Any comments, Sir James?
<a href=http://32hobuystrattera.soup.io&g... strattera online</a> <a href=http://1xapbuyzithromax.soup... zithromax tablets</a> It is to her an agony to tell us so much as she has done. <a href=http://rx91overnightcelebrex.soup.i... celebrex online no prescription</a> And just as Id taken the highest tree in the wood, continued the Pigeon, raising its voice to a shriek, and just as I was thinking I should be free of them at last, they must needs come wriggling down from the sky! Thus I found that my senses would shortly give way altogether, and I had already clutched one of the valve ropes with the view of attempting a descent, when the recollection of the trick I had played the three creditors, and the possible consequences to myself, should I return, operated to deter me for the moment. <a href=http://pxmsbuypriligy.soup.i... priligy mastercard</a> <a href=http://vrq2orderelavil.soup.io... without rx</a> <a href=http://ohx9orderlipitor.soup.i... lipitor in germany</a>
<a href=http://tcc2onlinevibramycin.soup.io>... 30 mg</a> <a href=http://bhgocheapcymbalta.soup.i... cymbalta online overnight</a> He at once checked the horses, and, jumping to the ground, disappeared into the darkness. <a href=http://2m7vordercytotec.soup.io&... next day delivery</a> <a href=http://i6plonlineadvair.soup... advair mastercard</a> The only way to get to the bottom of the business is to follow the pipeline to America and see where it goes to there. <a href=http://rsufcheapvaltrex.soup.i... valtrex no prescription</a> <a href=http://b719cheapalesse.soup.io... 10 mg</a> Otherwise he seemed a friendly middle?
<a href=http://jkxgorderminocin.soup.i... minocin online without prescription</a> <a href=http://75r6onlinepremarin.soup.i... premarin in se</a> After a time she heard a little pattering of feet in the distance, and she hastily dried her eyes to see what was coming. <a href=http://dmlponlineadvair.soup.i... advair tablets</a> Bond looked across the table at the girl. Jupiter, grinning from ear to ear, bustled about to prepare some marsh-hens for supper. <a href=http://ojqoorderclomid.soup.io... purchase clomid</a> <a href=http://jnx1cheapcipro.soup.i... in canada</a> <a href=http://w8qlordernexium.soup.i... nexium in uk</a>
<a href=http://sgngovernightnizoral.soup... nizoral online cheap</a> <a href=http://o4w6cheapnexium.soup... nexium without rx</a> Do they mean anything to you? <a href=http://3zpkorderpremarin.soup.io&g... tablets</a> <a href=http://100bovernighttopamax.soup.i... topamax no prescription</a> This time, coughing horribly, the head jerked above the surface and stayed there. <a href=http://ywzqcheapalesse.soup.i... alesse in italy</a> <a href=http://7ndfonlinealesse.soup.io... cheap overnight delivery</a> They agreed to contact each other only at night or casually in.
<a href=http://2d99cheapfamvir.soup.io&g... famvir</a> <a href=http://s0svcheapzyprexa.soup.io&g... zyprexa cheap</a> He was to have gone for his betrothed at dusk, and to have escorted her home. <a href=http://cx66orderzyprexa.soup... zyprexa in au</a> They are, however, I am told, very harmless and rather wanting in natural self-assertion. Department V: Prosecutions: the section which passes final judgement on all victims. <a href=http://xtdqcheappropecia.soup.io&g... in denmark</a> <a href=http://01j7overnightlexapro.soup... cheap lexapro</a> <a href=http://0mkkbuyzovirax.soup... zovirax online</a>
<a href=http://9hg4onlinearcoxia.soup... arcoxia in canada</a> <a href=http://aiyzonlinetenormin.soup.io&g... in canada</a> Yes, so will you tell Pooh as quickly as you can, and all the others, because it will be to-morrow? <a href=http://6s2fonlineminocin.soup.i... minocin in europe</a> <a href=http://00uxcheapperiactin.soup.i... periactin in sweden</a> It was an egregious insult to the good sense of the burghers of Rotterdam. <a href=http://6339cheapnexium.soup.i... nexium without rx</a> <a href=http://v7hronlineelavil.soup.i... elavil in usa</a> The prospect of at least getting to grips with Le Chiffre stimulated him and quickened his pulse.
<a href=http://3ts3cheapminocin.soup.io&... in europe</a> <a href=http://w982onlinestromectol.soup.i... stromectol in usa</a> Farther back within the domain, the vision is impeded by an impenetrable screen of foliage. <a href=http://tsbionlinewellbutrin.soup.io>... 30 mg</a> He turned to me and said, You know this place, Jonathan. Men and women are so different in manifestations of nervous strength or weakness! <a href=http://8i7iordernolvadex.soup.i... nolvadex in italy</a> <a href=http://yy72onlinelipitor.soup.io&... 60 mg</a> <a href=http://skd1cheapflomax.soup.io... cheap overnight delivery</a><a href=http://uu1yonlinelipitor.soup.i... lipitor in denmark</a><a href=http://ef87orderamoxil.soup.io... in se</a><a href=http://sf58ordertopamax.soup.i... topamax</a><a href=http://bx0lordersingulair.soup... singulair in france</a><a href=http://gxisovernightcelebrex.soup.i... celebrex pills</a><a href=http://fzmsonlineestrace.soup.i... estrace in germany</a><a href=http://ml08orderpremarin.soup.io&g... 10 mg</a><a href=http://xgpzovernightflomax.soup.io... in gb</a><a href=http://xmtjovernightflomax.soup.io... visa</a><a href=http://ydfccheapbuspar.soup.i... buspar in italy</a>



3 Answers

William Vaughn

10/29/2007 5:16:00 PM

0

Not to pile on, but I'm with Mr. Beamer. It is a fundamental mistake to
alter a PK. While it's possible to do, the referential and data integrity
issues are manifest. Politics aside, once you incorporate this approach into
your design you pass on a problem that will stick with the application for
the rest of its lifetime.

--
____________________________________
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)
-----------------------------------------------------------------------------------------------------------------------

"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> wrote in
message news:uqNO8AkGIHA.484@TK2MSFTNGP06.phx.gbl...
> The concept you are talking about here can be done in ADO.NET, but you are
> going to have to copy information to a new record, alter the foreign key
> and then delete the first. This is also what happens in SQL Server,
> although you do not see it. SQL Server works the cascade without your
> knowledge. :-)
>
> Now, to a more important question: Why?
>
> Primary keys are immutable in most properly designed systtems. Once a
> primary key is assigned, it should not be altered. If the primary key also
> has human value that has to be altered, then you should add another key
> and allow the human alterable bits to be altered at their whim. In every
> case I can think of, alteration of primary keys was an indication a
> fundamental application/business flaw. Please note that I am accepting
> that your application may require primary key changes, but I cannot
> currently think of a reason to do this.
>
> --
> Gregory A. Beamer
> MVP, MCP: +I, SE, SD, DBA
>
> *************************************************
> | Think outside the box! |
> *************************************************
> "B. Chernick" <BChernick@discussions.microsoft.com> wrote in message
> news:FA5ED528-EC3F-426B-81AA-D0F34F880D32@microsoft.com...
>> Ok, bear with me. This is a bit lengthy. This roughly explains a
>> real-life
>> legacy data structure problem I'm having.
>>
>> Assume a SQL Server 2000 database with 2 tables, Table1 and Table2.
>>
>> Table1 has fields id1 (Integer, primary key, but NOT an identity field)
>> and
>> content (varchar 10).
>>
>> Table2 has fields id1 (integer), id2 (integer, identity field) and
>> content
>> (varchar 10). The primary key of Table2 is id1/id2.
>>
>> The 2 tables are joined by a relationship in which table1/id1 is the
>> foreign
>> key of table2/id1. Also the options are set to cascade updates and
>> deletes.
>>
>> Now I go into SQL Server Enterprise Manager and:
>> 1. Create a Table1 record with an id1 = 1
>> 2. Create a Table2 record with an id1 = 1
>> 3. I then go back into Table1 and change id1 to a value of 2. The change
>> is
>> immediately reflected in the Table2 record. That's exactly what I
>> expected
>> and wanted.
>>
>> Now the big question - can I get ADO to do the same thing in memory?
>>
>> Now I create a Winforms app in VB/Dot Net 2.0. I add a dataset (xsd) to
>> the
>> project and drag tables 1 and 2 onto the designer simultaneously so that
>> the
>> relationship comes too. I then create a minimal class inheriting from
>> the
>> dataset so I can fill Tables 1 and 2 from the server. I add a pair of
>> DataGridViews to the form to display Tables 1 and 2.
>>
>> If I update Table1, id1, update to the database and reload the data, the
>> changes are reflected in Table2 as expected.
>>
>> What I cannot figure out is how to immediately show the changes in the
>> Table2 grid without an update. In other words is there a way to make the
>> system do this?
>>
>> Am I looking for something that does not exist?
>
>

Cor Ligthert [MVP]

10/29/2007 6:13:00 PM

0

> Not to pile on, but I'm with Mr. Vaughn. (Thanks for [pointing me on an
> English phrase Bill, I would have used stack or heap).

:-)

However, for me it is even more, today I had a problem where the use of a
GUID instead of an autoidentifier would have made the problem solvable, now
I have to make a workaround.

Cor


Cowboy

10/29/2007 9:24:00 PM

0

Politics often force decisions that are, otherwise, not a good idea. I have
been there.

You will still have to sync with the database as quickly as possible to make
sure things are up to snuff, but add, link, delete may solve the main
problem.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"B. Chernick" <BChernick@discussions.microsoft.com> wrote in message
news:BD86A105-31AB-4DEF-BCD2-F2985563986B@microsoft.com...
> First of all, as to 'Why?'. Unfortunately the answer is politics and
> legacy
> data structure. Indeed I may have coded myself into a corner but this is
> what the design seems to call for. (Also I'm a new employee here and I
> really don't want to tick off management by telling them it's impossible
> or
> insane.)
>
> In the actual application I have 2 DataGridViews on one screen. In the
> first there is a combobox that is part of the primary key of the first
> table.
> The second grid displays records from a table whose primary key is mostly
> made up of key fields from the first table. Using a bindingsource, the
> second grid only displays records related to the currently selected row in
> the first grid. So once I change the value of the combobox in the first
> grid, any existing child records in the second grid are inaccessable until
> a
> database update is performed.
>
> (To make matters worse the combobox in the first grid is populated from
> another table in which it is the primary key. This record has a boolean
> field, which if true, means that the record in the first grid cannot have
> child records in the second grid, hence I have to code some sort of delete
> routine.)
>
>> The concept you are talking about here can be done in ADO.NET, but you
>> are
>> going to have to copy information to a new record, alter the foreign key
>> and
>> then delete the first. This is also what happens in SQL Server, although
>> you
>> do not see it. SQL Server works the cascade without your knowledge. :-)
>
> On the other hand I did not thing about deleting and replacing records in
> the second grid on combobox change. I will give that a try. Thanks.
>
>
> "Cowboy (Gregory A. Beamer)" wrote:
>
>> The concept you are talking about here can be done in ADO.NET, but you
>> are
>> going to have to copy information to a new record, alter the foreign key
>> and
>> then delete the first. This is also what happens in SQL Server, although
>> you
>> do not see it. SQL Server works the cascade without your knowledge. :-)
>>
>> Now, to a more important question: Why?
>>
>> Primary keys are immutable in most properly designed systtems. Once a
>> primary key is assigned, it should not be altered. If the primary key
>> also
>> has human value that has to be altered, then you should add another key
>> and
>> allow the human alterable bits to be altered at their whim. In every case
>> I
>> can think of, alteration of primary keys was an indication a fundamental
>> application/business flaw. Please note that I am accepting that your
>> application may require primary key changes, but I cannot currently think
>> of
>> a reason to do this.
>>
>> --
>> Gregory A. Beamer
>> MVP, MCP: +I, SE, SD, DBA
>>
>> *************************************************
>> | Think outside the box!
>> |
>> *************************************************
>> "B. Chernick" <BChernick@discussions.microsoft.com> wrote in message
>> news:FA5ED528-EC3F-426B-81AA-D0F34F880D32@microsoft.com...
>> > Ok, bear with me. This is a bit lengthy. This roughly explains a
>> > real-life
>> > legacy data structure problem I'm having.
>> >
>> > Assume a SQL Server 2000 database with 2 tables, Table1 and Table2.
>> >
>> > Table1 has fields id1 (Integer, primary key, but NOT an identity field)
>> > and
>> > content (varchar 10).
>> >
>> > Table2 has fields id1 (integer), id2 (integer, identity field) and
>> > content
>> > (varchar 10). The primary key of Table2 is id1/id2.
>> >
>> > The 2 tables are joined by a relationship in which table1/id1 is the
>> > foreign
>> > key of table2/id1. Also the options are set to cascade updates and
>> > deletes.
>> >
>> > Now I go into SQL Server Enterprise Manager and:
>> > 1. Create a Table1 record with an id1 = 1
>> > 2. Create a Table2 record with an id1 = 1
>> > 3. I then go back into Table1 and change id1 to a value of 2. The
>> > change
>> > is
>> > immediately reflected in the Table2 record. That's exactly what I
>> > expected
>> > and wanted.
>> >
>> > Now the big question - can I get ADO to do the same thing in memory?
>> >
>> > Now I create a Winforms app in VB/Dot Net 2.0. I add a dataset (xsd)
>> > to
>> > the
>> > project and drag tables 1 and 2 onto the designer simultaneously so
>> > that
>> > the
>> > relationship comes too. I then create a minimal class inheriting from
>> > the
>> > dataset so I can fill Tables 1 and 2 from the server. I add a pair of
>> > DataGridViews to the form to display Tables 1 and 2.
>> >
>> > If I update Table1, id1, update to the database and reload the data,
>> > the
>> > changes are reflected in Table2 as expected.
>> >
>> > What I cannot figure out is how to immediately show the changes in the
>> > Table2 grid without an update. In other words is there a way to make
>> > the
>> > system do this?
>> >
>> > Am I looking for something that does not exist?
>>
>>
>>