Click here to Skip to main content
15,921,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: ViewState property of asp.net Textbox Pin
quiteSmart28-Nov-06 20:00
quiteSmart28-Nov-06 20:00 
GeneralRe: ViewState property of asp.net Textbox Pin
saud_a_k28-Nov-06 20:41
saud_a_k28-Nov-06 20:41 
GeneralRe: ViewState property of asp.net Textbox Pin
karam chandrabose28-Nov-06 21:17
karam chandrabose28-Nov-06 21:17 
QuestionCompiling .Net Remoting Client Pin
wasife28-Nov-06 17:15
wasife28-Nov-06 17:15 
AnswerRe: Compiling .Net Remoting Client Pin
karam chandrabose28-Nov-06 18:37
karam chandrabose28-Nov-06 18:37 
QuestionAsynchronous reading and writing text files Pin
Mohsen28-Nov-06 16:11
Mohsen28-Nov-06 16:11 
AnswerRe: Asynchronous reading and writing text files Pin
lost in transition 29-Nov-06 16:08
lost in transition 29-Nov-06 16:08 
GeneralRe: Asynchronous reading and writing text files Pin
Mohsen30-Nov-06 9:40
Mohsen30-Nov-06 9:40 
Yes Jason,

I think you get it right these are the steps for the first type of files, and I have to repeat the step 3 (as in your writing) for all the 6 paras

I would like to rewrite the steps which you wrote as the following to clear a bit more what is needed to be optimized:

1: Data is kept in 3 types of files. (I have to deal with 100s of each type in one conversion task. So lots of them should be read and lots of write operations should be performed)

2: I open first file of first type (i.e. 1-6_00000.txt) and read one line from it

3: From the read in step 2 I get 6 para and a common data/time value (which is the same for all paras in one line) and store these values in 6 different files each for one para.

4: Continue to read till end of the open file and repeat step 3 for it.

5: Take the next file of the same type and repeat 2,3 and 4 for it.

6: Repeat step 2,3,4 and 5 for the other two types of files.

Note that for type 2 (i.e. 7-14_.txt) in 3rd step I would get 8 paras and for type 3 (i.e. 15-16_.txt) in 3rd step I would get only 2 paras

So one can open one file from each type at the same time (when its possible using BackgroundWorker but I dont know exactly how? -Smile | :) ) and I mean the write opreations are not dependent.

Thanks

Regards

GeneralRe: Asynchronous reading and writing text files Pin
lost in transition 30-Nov-06 11:37
lost in transition 30-Nov-06 11:37 
GeneralRe: Asynchronous reading and writing text files Pin
Mohsen30-Nov-06 12:26
Mohsen30-Nov-06 12:26 
GeneralRe: Asynchronous reading and writing text files Pin
Mohsen2-Dec-06 8:32
Mohsen2-Dec-06 8:32 
GeneralRe: Asynchronous reading and writing text files Pin
lost in transition 4-Dec-06 3:08
lost in transition 4-Dec-06 3:08 
GeneralRe: Asynchronous reading and writing text files Pin
Mohsen4-Dec-06 5:09
Mohsen4-Dec-06 5:09 
GeneralRe: Asynchronous reading and writing text files Pin
Mohsen6-Dec-06 22:11
Mohsen6-Dec-06 22:11 
QuestionDatagrid view keyboard capture Pin
~~~Johnny~~~28-Nov-06 15:47
~~~Johnny~~~28-Nov-06 15:47 
AnswerRe: Datagrid view keyboard capture Pin
Nader Elshehabi28-Nov-06 23:15
Nader Elshehabi28-Nov-06 23:15 
QuestionDatagrid rows Pin
Naji.A28-Nov-06 15:36
Naji.A28-Nov-06 15:36 
AnswerRe: Datagrid rows Pin
hanjian28-Nov-06 17:13
hanjian28-Nov-06 17:13 
GeneralRe: Datagrid rows Pin
Naji.A28-Nov-06 17:26
Naji.A28-Nov-06 17:26 
QuestionData Binding to a IBindableComponent (ComboBox/ListBox) Pin
Dowfen28-Nov-06 12:54
Dowfen28-Nov-06 12:54 
AnswerRe: Merge two files Pin
Paul Conrad28-Nov-06 12:32
professionalPaul Conrad28-Nov-06 12:32 
QuestionSplash screen time out? Pin
amatbrewer28-Nov-06 11:53
amatbrewer28-Nov-06 11:53 
AnswerRe: Splash screen time out? Pin
Amar Chaudhary28-Nov-06 12:41
Amar Chaudhary28-Nov-06 12:41 
AnswerRe: Splash screen time out? Pin
Nader Elshehabi28-Nov-06 22:56
Nader Elshehabi28-Nov-06 22:56 
GeneralRe: Splash screen time out? Pin
amatbrewer29-Nov-06 4:46
amatbrewer29-Nov-06 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.