We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 3896

Replies to This Discussion

bhai pls share krdo exe file nhi ban rhi 

usamawaheed66@gmail.com

where is the error in this cod plz identify 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.xml.linq;
using System.IO;

namespace BS150201907
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}

private void buttonsave_Click(object sender, RoutedEventArgs e)
{
xdocument xdoc;
string myfile = "bs150201907.xml";
if (!File.Exists(myfile))
{
xdoc = new xdocument(new xelement("xml"));

xdoc.save(myfile);
}
xdoc = xdocument.load(myfile);

xdoc.element("xml").Add(new Xelement("data", new xattribute("name", textboxname.text),
new xattribute("student id", textboxstudentid.text),
new xattribute("cgpa", textboxcgpa.text),
new xattribute("semester", textboxsemester.text),
));
xdoc.save(myfile);
messagebox.show("Data Saved Successfully!");
}

private void buttonreset_Click(object sender, RoutedEventArgs e)
{

}
}
}

guys i'm having this problem how can i solve it

Attachments:

Soft Skills Bro Help me look at screenshot then tell me what should I do now ?

Solution plz

Hira

yes

aoa dear
save and reset button kam ni kr rhy
xml file b ni ban rhi
plz help

main itny din sy try kr rahi hu but visual studio install nahi ho raha error aa jata hai k product key match nahi kr rahi

try community edition

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

ma shaa Allah bht hi zabardast explainantion Sir.

Thank you 

RSS

Latest Activity

+M.Tariq Malik replied to +M.Tariq Malik's discussion CS403 Assignment 01 Fall 2020 Solution / Discussion in the group CS403 Database Management Systems
4 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS403 Assignment 01 Fall 2020 Solution / Discussion in the group CS403 Database Management Systems
5 minutes ago
Muhammad Azeem commented on +M.Tariq Malik's group BNK603 Consumer Banking
9 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
10 minutes ago
Muhammad Azeem added a discussion to the group BNK603 Consumer Banking
11 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
11 minutes ago
rameen aishal posted a photo
17 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS101 Assignment 01 Fall 2020 Solution / Discussion in the group CS101 Introduction to Computing
18 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS101 Assignment 01 Fall 2020 Solution / Discussion in the group CS101 Introduction to Computing
18 minutes ago
Profile IconMuhammad Bilal, AyesHa Raja, Muhammad Shahbaz and 22 more joined Virtual University of Pakistan
20 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS302 Assignment 01 Fall 2020 Solution / Discussion in the group CS302 Digital Logic Design
24 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS302 Assignment 01 Fall 2020 Solution / Discussion in the group CS302 Digital Logic Design
25 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS302 Assignment 01 Fall 2020 Solution / Discussion in the group CS302 Digital Logic Design
27 minutes ago
+M.Tariq Malik replied to Muhammad Faizan Alam's discussion CS604 - Operating Systems Assignment NO 1 Due Date: 30-November-2020 in the group CS604 Operating Systems
30 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH501 Linear Algebra Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH501 Linear Algebra
35 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT301 Principles of Marketing Assignment 01 Fall 2020 Solution / Discussion in the group MGT301 Principles of Marketing
38 minutes ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.