my question is
in datagridview enter first cell of E_ID and in anoter cell of datagridview fill automatically that related E_ID data record.
means in rest of cells fetch data from different tables of database
i know that it is done by query but dont know how to write.
Loading
asmita patilPosted Jan 24, 2015, 12:39 AM
again i need your favor...
where to write this and how to relate datagridview
because i am directly insert data in database through datagrid view and in that while entering employee id in first cell... that related EID data is fill automatically from another tables in another cell of datagridview. so user can easely fillup data in another table of database
if u again not understand my problem then ask me....
Thank you.
Zaid AnsariPosted Jan 23, 2015, 3:13 PM
Use inner join first table Id e_id and anther table id r_Id understand but data type must be same
Example ...
Select e.name' e.address,r.mobile from 1tablename
e innerjoin 2tablename r on e.e_Id = r.r_id
Understand dear