Data base as follow;
sno int
faculty code varchar
Faculty name varchar
Mobileno varchar
Active char(1)
in that data base records are saved.
Designing Screen as follows using Data Grid View;
Date Session RV MS TS CNN UNNI VB Gs
8/1/2013 1
8/1/2013 2
8/1/2013 3
the column as RV MS TS CNN UNNI VB Gs has to be retrieved from the data base.
RV MS TS CNN UNNI VB Gs the above are the faculty name. that faculty name is retrieved from the data base and bind in to the data grid view.
i want to get the Faculty name from the data base and put in to the data grid view column.
for that how to write the code.
Loading
Satyapriya NayakPosted Jan 9, 2013, 12:29 AM
Choose appropriate Category for your question. And don't forget to mention it is windows application or web application.
Thanks
Vishnujeet KumarPosted Jan 8, 2013, 10:44 PM
AutoGenerateColumns=false like below ..