Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# to jar Pin
conemajstor9-May-06 4:52
conemajstor9-May-06 4:52 
GeneralRe: C# to jar Pin
Ravi Bhavnani9-May-06 6:58
professionalRavi Bhavnani9-May-06 6:58 
AnswerRe: C# to jar Pin
KrIstOfK9-May-06 5:00
KrIstOfK9-May-06 5:00 
GeneralRe: C# to jar Pin
conemajstor9-May-06 5:06
conemajstor9-May-06 5:06 
GeneralRe: C# to jar Pin
KrIstOfK9-May-06 5:09
KrIstOfK9-May-06 5:09 
GeneralRe: C# to jar Pin
conemajstor9-May-06 5:08
conemajstor9-May-06 5:08 
AnswerRe: C# to jar Pin
leppie9-May-06 13:22
leppie9-May-06 13:22 
QuestionHeader class question Pin
leckey9-May-06 4:41
leckey9-May-06 4:41 
Hello-

I found some code on the Internet for some dynamic breadcrumbs. The instructions say to include this code in the code-behind of the .aspx page:

***code***
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace Sabre_Solutions.Loads.Topographic_Effects
{
///
/// Summary description for BreadCrumbTest.
///

public class BreadCrumbTest : System.Web.UI.Page
{
protected System.Web.UI.WebControls.DataGrid DataGrid1;
protected System.Web.UI.WebControls.Literal lblPageTitle;
protected NameSpace.headerBreadCrumb header;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here

string PageTitle = "Test the Title";
lblPageTitle.Text = PageTitle;
header.HeaderText = PageTitle;
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}

///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion
}
}
***end code**
If you noticed, I bolded two lines of code. It looks like I am supposed to declare another class, but I'm not really sure what to put in the code. I assume I am to declare a header class. I researched and my attempts have not been successful.

Does anyone know what I am supposed to do to make these lines work? (The orignal article mentions nothing about these lines.)
AnswerRe: Header class question Pin
KrIstOfK9-May-06 4:51
KrIstOfK9-May-06 4:51 
QuestionCustomizing the RichTextBox Pin
Cristoff9-May-06 4:40
Cristoff9-May-06 4:40 
AnswerRe: Customizing the RichTextBox Pin
Ravi Bhavnani9-May-06 4:49
professionalRavi Bhavnani9-May-06 4:49 
AnswerRe: Customizing the RichTextBox Pin
conemajstor9-May-06 4:49
conemajstor9-May-06 4:49 
GeneralRe: Customizing the RichTextBox Pin
Cristoff9-May-06 4:56
Cristoff9-May-06 4:56 
QuestionHow to get information from website to my app. Pin
conemajstor9-May-06 4:06
conemajstor9-May-06 4:06 
AnswerRe: How to get information from website to my app. Pin
KrIstOfK9-May-06 4:10
KrIstOfK9-May-06 4:10 
GeneralRe: How to get information from website to my app. Pin
conemajstor9-May-06 4:14
conemajstor9-May-06 4:14 
GeneralRe: How to get information from website to my app. Pin
KrIstOfK9-May-06 4:22
KrIstOfK9-May-06 4:22 
GeneralRe: How to get information from website to my app. Pin
conemajstor9-May-06 4:38
conemajstor9-May-06 4:38 
GeneralRe: How to get information from website to my app. Pin
Ravi Bhavnani9-May-06 8:55
professionalRavi Bhavnani9-May-06 8:55 
QuestionMSHTML: Howto access elements within a <IFRAME> Pin
cweeks786819-May-06 3:46
cweeks786819-May-06 3:46 
AnswerRe: MSHTML: Howto access elements within a <IFRAME> Pin
cweeks7868110-May-06 8:03
cweeks7868110-May-06 8:03 
Questionsignificance of IDBConnection or IDBDataAdapter or any interface Pin
kumar.bs9-May-06 3:27
kumar.bs9-May-06 3:27 
AnswerRe: significance of IDBConnection or IDBDataAdapter or any interface Pin
J4amieC9-May-06 3:34
J4amieC9-May-06 3:34 
GeneralRe: significance of IDBConnection or IDBDataAdapter or any interface Pin
kumar.bs9-May-06 3:56
kumar.bs9-May-06 3:56 
GeneralRe: significance of IDBConnection or IDBDataAdapter or any interface Pin
J4amieC9-May-06 4:17
J4amieC9-May-06 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.