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

please share your experience with this assignment...


+ 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: 3760

Attachments:

Replies to This Discussion

yeh link to work nai karaha

this link is not working 

yahan pe upload kr do

https://youtu.be/66tihE6KVt0

for complete solution watch the video

code is here 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;
namespace recordr
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}

private void Button_Click(object sender, RoutedEventArgs e)
{
using(XmlReader reader=XmlReader.Create(@"C:\Users\khan\Desktop\data.xml"))
{


while (reader.Read())
{
if(reader.IsStartElement())
{
switch(reader.Name.ToString())
{
case "name":
textboxName.Text=reader.ReadString();
break;
case "id":
textboxID.Text = reader.ReadString();
break;
case "course":
string[] course= new string [] {reader.ReadString()};
foreach (var c in course)
{
combox.Items.Add(c);
}

break;
default:
break;
}

}
}
}
}

private void Button_Click_1(object sender, RoutedEventArgs e)
{
textboxName.Text = "";
textboxID.Text = "";
combox.Items.Clear();
}
}
}


thanks for watching

khan bhai m ny apko mail k h plz mjy solution file send kr de with my name and id plz time nhi h

RSS

Looking For Something? Search Here

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

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

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

.