Resources for the DotNetNuke Community
Dear Sir,
I downloaded CodeSmith Templates v3.0.1 and DNNProjectTemplates v3.0.1 and also video tutorials that I downloaded it from http://www.seaburydesign.com/Tutorials/DNN3xModuleCreation/tabid/67/Default.aspx and it helped me to understand how can I develop my modules and I developed sample module to show list of companies But I have aproblem in this module I have more than 100 company in this module so i want to allow pages on these data first I suggested to mine to use DataGrid to show these data but it have some problems in it and I can't solved it :
1- it show ComID (Company ID ) , PortalId, ModuleId and some other data that I want to neglect it
2- I want to reorder Columns in DataGrid
3- I allowed pages in this grid but it didn't work
I have Stored Procedure named Listcompanies
CREATE PROCEDURE dbo.ListCompanies @PortalID int, @ModuleID intAS
SELECT [ComID], [PortalID], [ModuleID], [ShortName], [CatNum], [Symbol], [MarketID], [secname], [HaveForiegn], [Ratio], [Telephone], [email], [Fax], [WebSite], [ViewOrder], [DateAdd], [DateMod] FROM CompaniesWHERE PortalID = @PortalIDAND ModuleID = @ModuleIDGO---------------------------------------------------
And In Companies.ascx page this code
#
Grdcompanies.DataBind()
ProcessModuleLoadException(
I tried to delete my negelected data from this procedure but the same data is showned in my module.
please help me
Regards, Hassan Ali