search sql database data from winForm using link labl conrol
Sir I am now doing a C# windows form project with database.
I have 21 forms in my project and a database.
among my forms, i have form named frmStudent.
it has a label named lnksearchApplicationFormNo(using to search database data by application form no.
My database table name representing this form is tbl_Student.
it has a column named 'applicatnformNo'.
how can search the applicatnformNo in linklabel1_click_event?
and also i want to display all data retrieved from the database in the concerned fields.
please help me by write coding.