Re: [ADVANCED-DOTNET] [E500] [ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Chris Day
Also you might want to put it all into one transaction. The option is to write it out to a file and then bulk insert it. Chris > -Original Message- > From: Ivan Towlson [mailto:[EMAIL PROTECTED] > Sent: Thursday, 8 July 2004 9:30 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTN

Re: [ADVANCED-DOTNET] Retrieving method parameters with Unmanaged Metadata API

2004-07-08 Thread Fabian Schmied
Just realized that I've posted not quite correct code: of course, in the second import.EnumParams call the method token is 'mdToken' (just as in the first one), not 'info.myMDToken'. Sorry, it was just a typo in the post that does not relate to the original problem. Relating to the original problem

Re: [ADVANCED-DOTNET] Retrieving method parameters with Unmanaged Metadata API

2004-07-08 Thread Dmitry Shaporenkov
Just realized that I've posted not quite correct code: of course, in the second import.EnumParams call the method token is 'mdToken' (just as in the first one), not 'info.myMDToken'. Sorry, it was just a typo in the post that does not relate to the original problem. - Original Message - Fro

[ADVANCED-DOTNET] Retrieving method parameters with Unmanaged Metadata API

2004-07-08 Thread Dmitry Shaporenkov
Hi all, yet another question about metadata: I would like to extract methods and their parameters from an assembly using Unmanaged Metadata API. The question is how can I correctly retrieve the number of parameters, their types and names? I've tried to use IMetaDataImport.EnumParams method but rece

Re: [ADVANCED-DOTNET] SMART CLIENT

2004-07-08 Thread Michael Iles
(Warning: commercial message) Hi Rocky, The Updater Application Block and No Touch Deployment are available now to do what you're asking, and ClickOnce is coming in Whidbey. In general these are client-pull approaches that reference an executable on a webserver. My company provides a smart-clien

Re: [ADVANCED-DOTNET] Garbage collection problem

2004-07-08 Thread J. Merrill
I'm wondering if you ever figured out what was going on here; and if (and how) you resolved it. Did you have many objects reaching gen2 that were not "for the duration of the application" objects, which eventually went away, causing lots of (expensive) gen2 collections? At 04:12 AM 1/27/2004,

Re: [ADVANCED-DOTNET] siteMap roles definition

2004-07-08 Thread Luis Abreu
Hello Scott. I'll take a look at that folder when I get home (I hope that you're talking about the express edition - which is the one I have). regards, Luis Abreu Luis: There is a SiteMapSchema.xsd file in Microsoft Visual Studio 8\Xml\Schemas. I have not gotten into roles myself. -- Scott http://w

Re: [ADVANCED-DOTNET] siteMap roles definition

2004-07-08 Thread Scott Allen
Luis: There is a SiteMapSchema.xsd file in Microsoft Visual Studio 8\Xml\Schemas. I have not gotten into roles myself. -- Scott http://www.OdeToCode.com/blogs/scott/ -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Luis Abreu

Re: [ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Davy J
Why bother updating the dataset at all, till you've completly finished processing the data. That way you're doing 2 calls, Get data, Update NewData Now I think about it, doesn't a dataset call an update for every line anyway? So even if you stock all the changes in the dataset it's still going t

Re: [ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Alex Ben-Ari
Thanks Stoyan and Ivan - I will reimplemnt using less frequent updates (will use a dataset and call Update on it periodically, that seem OK ?) Will know if it helped real soon :) -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [ADVANCED-DOTNET] [E500] [ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Ivan Towlson
Well... it looks from your code like you're making 25 round trips to the database. That's got to be expensive. -- Ivan Towlson White Carbon -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Alex Ben-Ari Sent: 08 July 2004 12

Re: [ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Stoyan Damov
1 KB is not worth the network round-trip. Enlarge the segment size to at least 50-100 KB. Open a db connection before the loop and close it after the loop, and don't tell me about connection pooling, I know about it. HTH, Stoyan > -Original Message- > From: Unmoderated discussion of advan

[ADVANCED-DOTNET] Quick String question

2004-07-08 Thread Alex Ben-Ari
Hello all. I wonder if anyone has dealt with the following and can enlighten me: My code is reading a long text field from database to memory (using DataReader.GetChars). It is about 250MB long. What I need to do is cut it up into smaller chunks (say 1K each) and write them back to DB. The followin

[ADVANCED-DOTNET] siteMap roles definition

2004-07-08 Thread Luis Abreu
Hello. I'm doing some research on the new SiteMap class that comes with the new asp.net 2.0. After looking at the documentation, I've noticed that , by default, the navigation is defined though the web.sitemap file. Ihave 2 questions: 1. where is the schema related with this type of file 2. how sh