C# coding error

T

TJS

can anyone help me with this line 35 error ?
=========================================
Compiler Error Message: CS0246: The type or namespace name 'ControlChars'
could not be found (are you missing a using directive or an assembly
reference?)

Source Error:


Line 33: WelcomeMessage.Text = "Welcome " +
Context.User.Identity.Name + "! <" + "span class=Accent" + ">|<" + "/span" +
">";
Line 34: if (Context.User.Identity.AuthenticationType == "Forms") {
Line 35: LogoffLink = "<" + "span class='Accent'>|</span>" +
ControlChars.Cr + "<" + "a href=" +
Global.GetApplicationPath(context.Request) + "/Admin/Logoff.aspx
class=SiteLink> Logoff" + "<" + "/a>";
Line 36: }
Line 37: }
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top