Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to insert data into GridView like we insert data in checkboxlist/radiobuttonlist through edit items?
Posted
Comments
F-ES Sitecore 17-Mar-15 6:48am    
GridView is data-bound, it shows what it is bound to, so programmatically add additional rows to whatever it is you're binding the gridview to.
partha143 17-Mar-15 6:53am    
Thank you. My problem is, I am generating report cards and I have a set of data which is similar to all the report cards. So what is best way to solve this as I don't want the data to be populated from database or to insert data in programmatic way as it reduces the execution time.
F-ES Sitecore 17-Mar-15 7:05am    
I don't follow...if you don't want the data coming from the database and you don't want to supply the data programmatically, how do you expect the data to get inside the grid view as I think they are the only options?
partha143 17-Mar-15 7:07am    
I just figured out that my problem can be solved by using Table. Thank you for your time and help. :)
[no name] 17-Mar-15 6:52am    
You can bind database information to gridview using DataBound.

1 solution

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