Advertisement

04.25.2008 at 03:01PM PDT, ID: 23355099
[x]
Attachment Details

Newline in constant error

Asked by kwh3856 in Microsoft Visual C#.Net

Tags: Microsoft, Visual Studio 2005, C#

Can someone clue me in what this error is talking about?

Here is the code:
if (reader.HasRows)
            {
                if (tbUserName.Text == reader["USERNAME"].ToString())
                {
                    if (tbPassword.Text == reader["PASSWORD"].ToString())
                    {
                        physicianNPI = reader["PHYSICIAN_NPI"].ToString();
                        Session.Add("physicianNPI, physicianNPI);--------------------------Error on this line
                        Response.Redirect("Portal.aspx");
                    }Start Free Trial
[+][-]04.25.2008 at 03:03PM PDT, ID: 21443518

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 03:04PM PDT, ID: 21443527

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C#.Net
Tags: Microsoft, Visual Studio 2005, C#
Sign Up Now!
Solution Provided By: paulop1975
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628