C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

SQL reporting server page setup - margin coding


Posted Date: 05 Jul 2008      Posted By: Rishanthan      Member Level: Bronze     Points: 1   Responses: 1



i cannot create page set-up of SQL Reporting Server .I need coding part of this requirement in Asp dot net .please send me .very urgent




Responses

Author: tushqi    05 Jul 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 6

using System;
using System.Web.UI;
public class PageBase : System.Web.UI.Page
{
private string _pageTitle;
public string PageTitle
{
get { return _pageTitle; }
set { _pageTitle = value; }
}

protected override void Render(HtmlTextWriter writer)
{
// First we will build up the html document,

// the head section and the body section.

writer.Write( @"
<html>
<head>
<title>" + PageTitle + @"</title>
</head>
<body>" );

// Then we allow the base class to render the

// controls contained in the ASPX file.

base.Render( writer );

// Finally we render the final tags to close

// the document.

Writer.Write( @"
</body>
</html>" );
}
}



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : to subhi
Previous : Bar chart in vb.net with samples
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use