Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Gridview as follows


Studentname Subject

Ram eng/tam

in the above gridview how to store two values in single gridview cell.

how can i do using csharp.

Rgds,
Narasiman P.
Posted
Comments
Mahesh Bailwal 23-Jul-13 22:48pm    
Is it windows or web application?
Sadique KT 24-Jul-13 0:08am    
use two textbox templates in grid column..

1 solution

you call your data from Sql query like this

SELECT Studentname+ ' '+ Subject as StudentName_Subject from your_table_Name
 
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