Click here to Skip to main content
15,890,947 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Error XML Parsing Error: not well-formed Location: http://localhost/asp/ Line Number Pin
Member 245846726-Jun-12 18:42
Member 245846726-Jun-12 18:42 
GeneralRe: Error XML Parsing Error: not well-formed Location: http://localhost/asp/ Line Number Pin
Sandeep Mewara26-Jun-12 20:05
mveSandeep Mewara26-Jun-12 20:05 
GeneralRe: Error XML Parsing Error: not well-formed Location: http://localhost/asp/ Line Number Pin
Member 245846726-Jun-12 23:30
Member 245846726-Jun-12 23:30 
GeneralRe: Error XML Parsing Error: not well-formed Location: http://localhost/asp/ Line Number Pin
Sandeep Mewara27-Jun-12 5:19
mveSandeep Mewara27-Jun-12 5:19 
Question"Unable to launch the configured Visual Studio Development Web Server" Error Pin
Z@db@khsh25-Jun-12 5:42
Z@db@khsh25-Jun-12 5:42 
AnswerRe: "Unable to launch the configured Visual Studio Development Web Server" Error Pin
Sandeep Mewara26-Jun-12 0:39
mveSandeep Mewara26-Jun-12 0:39 
GeneralRe: "Unable to launch the configured Visual Studio Development Web Server" Error Pin
Z@db@khsh20-Jul-12 8:46
Z@db@khsh20-Jul-12 8:46 
Questionweb form dictionary compare Pin
classy_dog24-Jun-12 18:44
classy_dog24-Jun-12 18:44 
In a C# 2010 web form that uses a formview control, I am comparing 2 dictionary objects to see if their values are different, right before the actual change occurs in the database. The code is comparing the old dictionary value to the new dictionary value to see if the value has changed. If so an 'invalid' date field is being set.

However the problem is the values are actually the same. By stepping through the code, the application thinks the values are different. Can you tell me what is wrong with the code listed below:
protected void FormView1_ItemUpdating(object sender, FormViewUpdateEventArgs e)
 {     
            
                        
            if (e.NewValues["Cutoff_Date"] != e.OldValues["Cutoff_Date"])
           
            {
                e.NewValues["Invalid_Date"] = "Y";
            }

  } 

AnswerRe: web form dictionary compare Pin
Rahul Rajat Singh25-Jun-12 0:29
professionalRahul Rajat Singh25-Jun-12 0:29 
AnswerRe: web form dictionary compare Pin
jkirkerx25-Jun-12 8:55
professionaljkirkerx25-Jun-12 8:55 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan25-Jun-12 22:23
mveRichard MacCutchan25-Jun-12 22:23 
GeneralRe: web form dictionary compare Pin
jkirkerx26-Jun-12 7:45
professionaljkirkerx26-Jun-12 7:45 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan26-Jun-12 8:19
mveRichard MacCutchan26-Jun-12 8:19 
GeneralRe: web form dictionary compare Pin
jkirkerx26-Jun-12 11:02
professionaljkirkerx26-Jun-12 11:02 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan26-Jun-12 21:32
mveRichard MacCutchan26-Jun-12 21:32 
GeneralRe: web form dictionary compare Pin
jkirkerx27-Jun-12 6:28
professionaljkirkerx27-Jun-12 6:28 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan27-Jun-12 6:31
mveRichard MacCutchan27-Jun-12 6:31 
GeneralRe: web form dictionary compare Pin
jkirkerx27-Jun-12 6:42
professionaljkirkerx27-Jun-12 6:42 
JokeLets do something awesome... Pin
AmitKumar8924-Jun-12 18:08
AmitKumar8924-Jun-12 18:08 
GeneralRe: Lets do something awesome... Pin
Richard MacCutchan24-Jun-12 22:57
mveRichard MacCutchan24-Jun-12 22:57 
GeneralRe: Lets do something awesome... Pin
fjdiewornncalwe25-Jun-12 5:07
professionalfjdiewornncalwe25-Jun-12 5:07 
Questionsession variables Pin
sc steinhayse24-Jun-12 12:27
sc steinhayse24-Jun-12 12:27 
AnswerRe: session variables Pin
wikizhao24-Jun-12 20:34
wikizhao24-Jun-12 20:34 
AnswerRe: session variables Pin
Rahul Rajat Singh25-Jun-12 0:24
professionalRahul Rajat Singh25-Jun-12 0:24 
AnswerRe: session variables Pin
jkirkerx25-Jun-12 8:59
professionaljkirkerx25-Jun-12 8:59 

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.