Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2171 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > HOW TO BIND TWO TABLES IN SINGLE GRIDVIEW ...
Oswaldlily

HOW TO BIND TWO TABLES IN SINGLE GRIDVIEW

Replies: 2 | Posted by: Oswaldlily on 6/4/2012 | Category: ASP.NET Forums | Views: 1975 | Status: [Member] | Points: 10  


I HAVE GRIDIVIEW COLUMNS WHICH USED TWO TABLES TO DISPLAY IN GRIDVIEW USING TEMPLATE FIELD

tABLE1 HAS DIRECT QUERY

GV1.DATASOURCE=from r in DC.oRDER_daTA_tABLE where _pNo.Contains(r._DOC_No) & _InputToQuery.Contains(r._Order_No) & (r._InvoiceStatus != 'R') select r);
GV1.DATABIND();

TO CALL TABLE2(tABLE2 IS PRESENT IN sp),FOR BINDING IN SAME GRIDVIEW
hOW TO CALL tABLE2 FOR SAME GRIDVIEW???

ONLY IF BOTH ON SAME SP I CAN BIND USING TEMPLATE FIELD...


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Gow.Net
Gow.Net  
Posted on: 6/4/2012 9:10:51 AM
Level: Starter | Status: [Member] | Points: 25

using join query it possible

gowthaman8870226416

Oswaldlily, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Perfect.Chourasia@Gmail.Com
Perfect.Chourasia@Gmail.Com  
Posted on: 6/8/2012 7:37:18 AM
Level: Starter | Status: [Member] | Points: 25

the best way to use Join query

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://sandeep-chourasia.blogspot.com/

Oswaldlily, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/19/2013 2:35:50 AM