Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionMulticolor Datagridview Cell???? Pin
Pankaj - Joshi5-Sep-08 0:19
Pankaj - Joshi5-Sep-08 0:19 
AnswerRe: Multicolor Datagridview Cell???? Pin
rah_sin5-Sep-08 0:35
professionalrah_sin5-Sep-08 0:35 
GeneralRe: Multicolor Datagridview Cell???? Pin
Pankaj - Joshi5-Sep-08 0:48
Pankaj - Joshi5-Sep-08 0:48 
QuestionCasting from Object to Dataset. Pin
M. J. Jaya Chitra5-Sep-08 0:16
M. J. Jaya Chitra5-Sep-08 0:16 
Questionprogress bar during ftp transfer Pin
laziale4-Sep-08 23:47
laziale4-Sep-08 23:47 
AnswerRe: progress bar during ftp transfer Pin
blackjack21505-Sep-08 0:01
blackjack21505-Sep-08 0:01 
GeneralRe: progress bar during ftp transfer Pin
laziale5-Sep-08 0:05
laziale5-Sep-08 0:05 
AnswerRe: progress bar during ftp transfer Pin
#realJSOP5-Sep-08 0:13
mve#realJSOP5-Sep-08 0:13 
Well, you're going to need two progress bars - one to show the percentage of files you've transferred, and one to show the progress of the currently transferring file.

I would use a BackgroundWorker thread to manage the first progress bar, and that fires off an asynchronous ftp transfer (which would update the 2nd progress bar).

It's completely pointless (not to mention, redundant) to have a progress bar that shows the percentage of files remaining, and it's pretty much impossible to determine how long the whole transfer is going to take unless you time the transfer of each file and calculate an average while everything is transferring.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: progress bar during ftp transfer Pin
[ftw]melvin5-Sep-08 6:31
[ftw]melvin5-Sep-08 6:31 
GeneralRe: progress bar during ftp transfer Pin
#realJSOP5-Sep-08 8:50
mve#realJSOP5-Sep-08 8:50 
QuestionHow to run windows application on image button click from web page Pin
AtulRane4-Sep-08 23:10
AtulRane4-Sep-08 23:10 
AnswerRe: How to run windows application on image button click from web page Pin
Abhijit Jana4-Sep-08 23:39
professionalAbhijit Jana4-Sep-08 23:39 
GeneralRe: How to run windows application on image button click from web page Pin
AtulRane4-Sep-08 23:48
AtulRane4-Sep-08 23:48 
GeneralRe: How to run windows application on image button click from web page Pin
Ashfield5-Sep-08 1:20
Ashfield5-Sep-08 1:20 
GeneralRe: How to run windows application on image button click from web page Pin
AtulRane5-Sep-08 3:30
AtulRane5-Sep-08 3:30 
QuestionMerge to xml-files by C# Pin
Tomerland4-Sep-08 23:08
Tomerland4-Sep-08 23:08 
AnswerRe: Merge to xml-files by C# Pin
buchstaben5-Sep-08 2:00
buchstaben5-Sep-08 2:00 
Questionhow to get last file_size of updated file Pin
reza assar4-Sep-08 22:41
reza assar4-Sep-08 22:41 
AnswerRe: how to get last file_size of updated file Pin
#realJSOP5-Sep-08 0:14
mve#realJSOP5-Sep-08 0:14 
QuestionProblems Using ToDictionary Extension Method Pin
dlarkin774-Sep-08 22:39
dlarkin774-Sep-08 22:39 
AnswerRe: Problems Using ToDictionary Extension Method Pin
User 66584-Sep-08 23:06
User 66584-Sep-08 23:06 
GeneralRe: Problems Using ToDictionary Extension Method Pin
dlarkin774-Sep-08 23:31
dlarkin774-Sep-08 23:31 
QuestionTransfer data from excelsheet to datatable Pin
abhijitjathar4-Sep-08 22:32
abhijitjathar4-Sep-08 22:32 
AnswerRe: Transfer data from excelsheet to datatable Pin
Manas Bhardwaj4-Sep-08 22:38
professionalManas Bhardwaj4-Sep-08 22:38 
AnswerRe: Transfer data from excelsheet to datatable Pin
Morven Huang4-Sep-08 23:03
Morven Huang4-Sep-08 23:03 

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.