Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i m new in asp.net and i want to get data from different table to same cell in gridview
pl help me.
thanks
Posted

You would want to use GridView.RowDataBound event. Here is the reference link:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdatabound(v=vs.110).aspx[^]
 
Share this answer
 
why you are not trying by stored procedure.
Use stored procedure, In query select all columns from tables which you want to show on grid.
after fetching data using stored procedure assign it to grid.

Hope this helps!!!
 
Share this answer
 
Comments
m-e-h-d-h-i 9-Nov-13 6:42am    
can u help me to write stored procedure
thanks

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