We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

please share your experience with this assignment...


+ Click Here To Join also Our facebook study Group.


+ Prohibited Content On Site + Report a violation + Report an Issue


..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 3544

.

+ http://bit.ly/vucodes (Vu Study Groups By Subject Codes Wise)

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

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

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