D
decrypted
I asked this a few months back, and once in February...still havn't come up
with a decent way to do this using the System.net or sockets namespaces (or
ado.net for that matter)...
You have 2 files. one is 10K and one is 100MB and your tansfering these
files into SqlServer 2000 in a Windows Forms based application using
ADO.NET. You would like to show the progress of the file transfer via a
progress bar (or even just track the progress internally to make things
simple). How do you accomplish this without writing a remoting wrapper?
I have explored a number of options from calculating ETA based on beta
results from threaed packet transfers over the network while taking into
consideration sql server processing times, but it has failed. I did write a
remoting framework that basicaly transfers the DS chunk by chunk and updates
client of its current chunck in series, but this is totally inefficient. I
think I've looked at everything ADO.NET and Sql Server 2000 have to offer
without any success.
Any ideas or thoughts are welcome...If I do come up with a sollution I will
be sure to write a public article on it (unless someone beat me to it of
course).
Regards,
dec
with a decent way to do this using the System.net or sockets namespaces (or
ado.net for that matter)...
You have 2 files. one is 10K and one is 100MB and your tansfering these
files into SqlServer 2000 in a Windows Forms based application using
ADO.NET. You would like to show the progress of the file transfer via a
progress bar (or even just track the progress internally to make things
simple). How do you accomplish this without writing a remoting wrapper?
I have explored a number of options from calculating ETA based on beta
results from threaed packet transfers over the network while taking into
consideration sql server processing times, but it has failed. I did write a
remoting framework that basicaly transfers the DS chunk by chunk and updates
client of its current chunck in series, but this is totally inefficient. I
think I've looked at everything ADO.NET and Sql Server 2000 have to offer
without any success.
Any ideas or thoughts are welcome...If I do come up with a sollution I will
be sure to write a public article on it (unless someone beat me to it of
course).
Regards,
dec