Author: solutionsdxb | Posted on: 10/9/2009 2:38:53 PM | Views : 223

hi , 


i am having one common function in CMS which generates the pages using literal control , now if i am using this in my master pages its working for all pages but the content is getting displayed just below the pages , where as i would like to display the content in just middle of the pages or inside the container in all the pages, kindly suggest do i need to use some kind of global function to call them or same can be used.
my code below :



Private Sub GeneratePage() sqlcon = New SqlConnection(ConfigurationManager.AppSettings("dbconnect")) sqlcon.Open() sqlcmd.Connection = sqlcon Dim queryString As String = Request.QueryString("PageID").ToString() Dim subPageID As String = Request.QueryString("SubPageID").ToString() If (queryString <> "" OrElse queryString IsNot Nothing) AndAlso (subPageID = " ...

Go to the complete details ...