Click here to Skip to main content
15,900,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Pease how can i display specific fileds from two table in gridview by C# and ado.net after create relation between them what is the next
Posted
Updated 28-Nov-11 2:58am
v2

Once you finished creating the desired SQL query execute the query using the appropriate ADO.Net data class. Here is simple MSDN article. GridView DataBind[^]
 
Share this answer
 
I believe your problem here covers SQL Joins. You need to join 2 tables thru the 1st table's primary key. Here is a previous CodeProject article that you can use as your reference.

Visual Representation of SQL Joins[^]

Please mark as answer and vote 5 if this solved your problem

Regards,
Eduard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900