I did try this by reading the following article:
http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
but when I am building that web part I am getting some errors
public partial class ShowListUserControl : UserControl
by default there is webpart written in place of UserControl and when I am changing this and build this program the error related to global WebPartTemplate comes in the function
How can I solve this?
Some one said to me that in Sandbox Webpart you can not create UserControl but the above article also is based on that.
- Edited by darsh antani 1 hour 39 minutes ago edit