3 4 private void loadButton_Click(object sender, RoutedEventArgs e) { string url = "http://twitter.com/statuses/user_timeline/" + nameTextBox.Text.

Slides:



Advertisements
Similar presentations
The Microsoft Technical Roadshow 2007 Language Enhancements and LINQ Daniel Moth Developer & Platform Group Microsoft Ltd
Advertisements

Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
@ScotHillier Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps.
For(int i = 1; i
DEV324 C# VB 7.0 Managed Code C# VB 8.0 Generics C# VB 9.0 Language Integrated Query C# VB 10.0 Dynamic + Language Parity.
Class Scope class Student { private: string id; string firstName, lastName; float gpa; public: void Read() { cin >> id >> firstName >> lastName >> gpa;
Student Data Score First Name Last Name ID GPA DOB Phone... How to store student data in our programs? 1.
Enumeration Data Type enum Day {SUN, MON, TUE, WED, THU, FRI, SAT}; Day today; today = WED; if (today == FRI) cout
Programering af mobile enheder Windows Phone Rss Feed.
Pointers Example Use int main() { int *x; int y; int z; y = 10; x = &y; y = 11; *x = 12; z = 15; x = &z; *x = 5; z = 8; printf(“%d %d %d\n”, *x, y, z);
30 April 2014 Building Apps for Windows Phone 8.1 Jump Start WinRT Apps & Silverlight.
Syncing Audio, Video and Animations in Silverlight Dan Wahlin.
WPH304. announcement LINQ to SQL LINQ to User Data.
HeuristicLab. Motivation  less memory pressure no DOM single pass linear process  less developer effort no interfaces to implement  modularity & flexibility.
C# Events and WPF #W5. Horizontal Prototype WPF Designed for rapid user interface design Used for many devices: Windows Phone, Tablets, PCs,
Windows News app uses Notification Hubs Platform Notification Service App back-end Client app.
Internet Technologies and Web Application Web Services With ASP.NET Tutorial: Introduction to.
6. More on Pointers 14 th September IIT Kanpur C Course, Programming club, Fall
4/24/ :58 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
2008.NET iSDC & RONUA Workshop, November 10 th Mark Blomsma Software architect Develop-One.
The National Bank Database A Sample Presentation Depicting the Requirements of Your Group Project.
demo while !EmptyList Execute(next WorkItem) while !EmptyList Execute(next WorkItem) Work items are executed one at a time within a single.

IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);
Module 14 Application Settings, State, and Life Cycle.
C#: Future Directions in Language Innovation Anders Hejlsberg TLN307 Technical Fellow Microsoft Corporation.
3 4 private void saveButton_Click(object sender, RoutedEventArgs e) { saveText("jot.txt", jotTextBox.Text); }
private void mailButton_Click(object sender, RoutedEventArgs e) { sendMail("From JotPad", jotTextBox.Text); }
[ServiceContract] public interface IJokeOfTheDayService { [OperationContract] string GetJoke(int jokeStrength); }
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Advanced.NET Programming I 10 th Lecture Pavel Ježek
Introduction to C# 2.0 An Advanced Look Adam Calderon Principal Engineer - Interknowlogy Microsoft MVP – C#
This week on social media Oct 29 th -Nov 4 th. General stats.
DirtBike Order Database– ER Diagram Prepared by (Rahul Dhami) Fall 2012.
Satisfy Your Technical Curiosity C# 3.0 Raj Pai Group Program Manager Microsoft Corporation
3 private void equalsButton_Click( object sender, RoutedEventArgs e) { calculateResult(); }
WebClient client; 10 // Constructor public MainPage() { InitializeComponent(); client = new WebClient(); client.DownloadStringCompleted.
CS 1430: Programming in C++.
private void Application_Launching(object sender, LaunchingEventArgs e) { } private void Application_Activated(object.
Integral Users will interact with your app on a big screen with keyboard and mouse.
App Package Folder App data Folders Local Roaming Temp Removable Storage (SD Card) Cloud Credential Locker B/ground Transfer Publishers Shared Folder.
Print Row Function void PrintRow(float x[ ][4],int i) { int j; for(j=0;j
private void page2Button_Click(object sender, RoutedEventArgs e) { NavigationService.Navigate(new Uri("/PageTwo.xaml", UriKind.RelativeOrAbsolute));
Int fact (int n) { If (n == 0) return 1; else return n * fact (n – 1); } 5 void main () { Int Sum; : Sum = fact (5); : } Factorial Program Using Recursion.
EnvisioningPlanningDevelopingStabilizingDeploying.
Data in Windows 10 UWP Andy Wigley XML, JSON, SQLite or EF Core ?
General Ledger features Receivables Management features Payables Management features Fixed Assets features What’s coming up in Microsoft Dynamics GP.
Best Web Designers in Glasgow at Elements Design Studio
Hello Educational presentation.
Microsoft support TollFree
Phone: + 40 (728) | +40 (733)

New Features in C# 7.0 Mads Torgersen C# Program Manager
Facebook Customer Service Number Phone Number Visit Here
Facebook Technical Support Number Phone Number Visit Link :-
Driving Experiences via Services Using the Microsoft .NET Framework
Fall 2012 CMC Events Interviewing Skills Workshop Mon Sept 17th
Code for WPF.
Instructor: Alexander Stoytchev
Displaying and Editing Data by Using the Entity Framework and Data Binding Fehim Korhan YAMAN
Code Animation Examples
Website URL : Company name : Blackmagic Lostlovespell Blackmagic Lostlovespell Business Mail.
Web Service.
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Windows басқару элементтері
G suite Customer Service Phone Number.
Презентация құру тәсілдері
Қош келдіңіздер!.
2016 | 10 OCT SUN MON TUE WED THU FRI SAT
Информатика пән мұғалімі : Аитова Карима.
03 | Async Programming & Networking Intro
Presentation transcript:

3

4 private void loadButton_Click(object sender, RoutedEventArgs e) { string url = " + nameTextBox.Text + ".xml"; client.DownloadStringAsync(new Uri(url)); }

5

6

7

8 NameAddressBank DetailsCustomer ID Rob18 Pussycat MewsNut East Bank Jim10 Motor DriveBig Fall Bank Ethel4 Funny AddressStrange bank111111

9 Customer IDProduct IDOrder DateStatus /10/2010Shipped /10/2010Shipped /09/2010On order Product IDProduct NameSupplierPrice 1001 Windows Phone 7 Microsoft Cheese grater Cheese Industries Boat hook John’s Dockyard 20

10

11 SELECT * FROM Orders WHERE CustomerID = "123456"

12 public class Customer { public string Name {get; set;} public string Address { get; set; } string BankDetails { get; set; } public int ID { get; set; } }

13 List Customers = new List ();

14 public List FindCustomerOrders(int CustomerID) { List result = new List (); foreach ( Order order in Orders ) { if (order.CustomerID == CustomerID) { result.Add(order); } } return result; }

15

16 var orderQueryResult = from order in db.Orders where order.CustomerID == "123456" select order;

17 var orderQueryResult = from order in db.Orders where order.CustomerID == "123456" select order;

18 var orderQueryResult = from order in db.Orders where order.CustomerID == "123456" select order;

19 var orderQueryResult = from order in db.Orders where order.CustomerID == "123456" select order;

20 var orderQueryResult = from order in db.Orders where order.CustomerID == "123456" select order;

21

22 Tue Oct 12 11:57: Hello from Twitter Rob Miles

23 XElement TwitterElement = XElement.Parse(twitterText);

24

25 public class TwitterPost { public string PostText { get; set; } public string DatePosted { get; set; } public string UserImage { get; set; } }

26 var postList = from tweet in twitterElements.Descendants("status") select new TwitterPost { UserImage = tweet.Element("user"). Element("profile_image_url").Value, PostText = tweet.Element("text").Value, DatePosted = tweet.Element("created_at").Value };

27 var postList = from tweet in twitterElements.Descendants("status") select new TwitterPost { UserImage = tweet.Element("user"). Element("profile_image_url").Value, PostText = tweet.Element("text").Value, DatePosted = tweet.Element("created_at").Value };

28 var postList = from tweet in twitterElements.Descendants("status") select new TwitterPost { UserImage = tweet.Element("user"). Element("profile_image_url").Value, PostText = tweet.Element("text").Value, DatePosted = tweet.Element("created_at").Value };

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

TwitterPost p1 = new TwitterPost { DatePosted = "Tue Oct 12 11:57: ", UserImage = PostText = "This is a test post from Rob" }; TwitterPost p2 = new TwitterPost { DatePosted = "Wed Oct 13 14:21: ", UserImage = PostText = "This is another test post from Rob" }; List posts = new List (); posts.Add(p1); posts.Add(p2); 44

TwitterPost p1 = new TwitterPost { DatePosted = "Tue Oct 12 11:57: ", UserImage = PostText = "This is a test post from Rob" }; TwitterPost p2 = new TwitterPost { DatePosted = "Wed Oct 13 14:21: ", UserImage = PostText = "This is another test post from Rob" }; List posts = new List (); posts.Add(p1); posts.Add(p2); 45

TwitterPost p1 = new TwitterPost { DatePosted = "Tue Oct 12 11:57: ", UserImage = PostText = "This is a test post from Rob" }; TwitterPost p2 = new TwitterPost { DatePosted = "Wed Oct 13 14:21: ", UserImage = PostText = "This is another test post from Rob" }; List posts = new List (); posts.Add(p1); posts.Add(p2); 46

47 tweetsListBox.ItemsSource = posts;

48 tweetsListBox.ItemsSource = postList;

49

50