Can i use two database table value in single gridview?
Posted Date Unknown Abhilash Pathrose 2 Comments

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <asp:BoundField HeaderText="RollNo" />
            <asp:BoundField HeaderText="Class" />
            <asp:BoundField HeaderText="Name" />
            <asp:BoundField HeaderText="Address" />

is my gridView. I wanted to Display RollNo,Class from Table school and Name,Address from person table.

See All Responses Below...
Message Rating
Posted on: 29/05/2012
One possible way is to join the two tables. 
Posted on: 29/05/2012
its working.

Thans sonia
Share this page across other social networking sites

Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

Academic Projects