i have a windows form application, and i want that when i execute the program, program must show me the main form quickly, but my program firstly do some operations (connecting to sql, filling the combobox etc. )
because in form_load function i call a function to fill the combo with sql database's datas.
But user does not want to wait, user wants to see the form very quickly.
In other words, user wants my program to connect sql and to fill the combo AFTER form has been shown to the user.
ali_zdn 0 Newbie Poster
Recommended Answers
Jump to PostUse timer control .Using that you can manage the execution of Sql Statements after any time interval.
Jump to Postusing the timer control is a good idea.
You cam also display a button on the form, write your populating code inside the button's event, probably this would help only if the user wants the data to be populated after he triggers some event over the form.
the …
All 6 Replies
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
ali_zdn 0 Newbie Poster
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
ali_zdn 0 Newbie Poster
k.d.m 1 Light Poster
arunkumars 14 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.