C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




SQL reporting server page setup - margin coding


Posted Date: 05 Jul 2008      Total Responses: 1

Posted By: Rishanthan       Member Level: Bronze     Points: 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:     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
You must Sign In to post a response.
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   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use