Progress Bar While Transferring Data From Excel sheets To DataBase
-
Hi To All......! Please Help Me To Solve My Problem. I Have Developed A Payroll Software. Here I've Excel Sheet With Employee Information With Their Salary Structure. What I am Doing Is I have Designed One Form Where I Make User To Select Excel Sheet And Then Transfer The Data From Excel Sheet To My Data Base. It Is Working Fine Without An Error. The Only Problem I Have Is I am Unable To Show Progress Bar While Transferring Data. I Have Written All The Code In A Class File And On Button Click Of My Form I Have Call The Function Of That Class. Please Help Me........! Thanks & Regards Sanket Patil
.
-
Hi To All......! Please Help Me To Solve My Problem. I Have Developed A Payroll Software. Here I've Excel Sheet With Employee Information With Their Salary Structure. What I am Doing Is I have Designed One Form Where I Make User To Select Excel Sheet And Then Transfer The Data From Excel Sheet To My Data Base. It Is Working Fine Without An Error. The Only Problem I Have Is I am Unable To Show Progress Bar While Transferring Data. I Have Written All The Code In A Class File And On Button Click Of My Form I Have Call The Function Of That Class. Please Help Me........! Thanks & Regards Sanket Patil
.
-
Hi To All......! Please Help Me To Solve My Problem. I Have Developed A Payroll Software. Here I've Excel Sheet With Employee Information With Their Salary Structure. What I am Doing Is I have Designed One Form Where I Make User To Select Excel Sheet And Then Transfer The Data From Excel Sheet To My Data Base. It Is Working Fine Without An Error. The Only Problem I Have Is I am Unable To Show Progress Bar While Transferring Data. I Have Written All The Code In A Class File And On Button Click Of My Form I Have Call The Function Of That Class. Please Help Me........! Thanks & Regards Sanket Patil
.
If you have an operation that takes long enough to warrant a progress bar, then it is also taking too long to earn the right to run on the main thread. You must move it to another thread; I suggest you consider a BackgroundWorker. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.