Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

automatically load data from database and display in textbox on form load

$
0
0

i want to load data from database and display on the text fields on my form..the data should get fetched from the db without any button click event on form but instead it should get fetched as soon as form is loaded and all the components(like textbox,label etc) gets displayed..i tried writing a function and calling it after InitializeComponent(); method but it is not working..

is there any way i can load data and display it on textbox automatically on form_load?

or can i have a hidden button which will fire automatically when the form is loaded?


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>