Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to fill Datagridview from two relational tables

$
0
0
StudentTableStudentId(PrimaryKey)StudentGR#   StudentName    StudentEmail1101JonesJones@ipsum.com2102Smith          smith@ipsum.com3103Mary           mary@ipsum.comGuardiansTableGuardianId(PrimaryKey)GuardianNameGuardianRelationStudentId(ForeignKey)1LoremFather22IpsumSister13DolorMother3

How can I show my student data in below given manner using datagridview.

GR#,   StudentName,   GuardianName,   GuardianRelation,   StudentEmail101JonesIpsumSisterJones@ipsum.com102SmithLoremFatherSmith@ipsum.com103MaryDolorMother              mary@ipsum.com

Any help will be greatly appreciated.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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