Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i have an xml file and i tried to run this code but it is saying impossible to convert the blancs spaces don't understand why

i have an xml file and i tried to run this code but it is saying impossible to convert the blancs spaces don't understand why
image text in transcribed
Base loginbutton_dick(object sender, EventArgs e) B a username 88 string username - UserlinetextBox.Text.ToString(); string password = PassordtextBox.Text.ToString(); Document doc = new XDocument(E..../passwords.1"); var loginCheck - doc.Descendants("password"). Where(x-> (string)x.Attribute("username") (string)x.Attribute("password") password); Leif (logincheck.Any()) { Form2 fres-new Form2(); fnews.Show(); else MessageBox.Show("error"); (Exception ex) 1 labelInvalid.Text. This error has occured: "tex.Messages Base loginbutton_dick(object sender, EventArgs e) B a username 88 string username - UserlinetextBox.Text.ToString(); string password = PassordtextBox.Text.ToString(); Document doc = new XDocument(E..../passwords.1"); var loginCheck - doc.Descendants("password"). Where(x-> (string)x.Attribute("username") (string)x.Attribute("password") password); Leif (logincheck.Any()) { Form2 fres-new Form2(); fnews.Show(); else MessageBox.Show("error"); (Exception ex) 1 labelInvalid.Text. This error has occured: "tex.Messages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started