Microsoft Bloggers Day

Sunday, January 24, 2010












Microsoft Pakistan, DPE Team, recently organized an event for Bloggers to talk about Windows 7, IE8 and Microsoft initiatives in Pakistan. The event was held at Microsoft Innovation Center (MIC), Karachi, Pakistan on 23rd January, 2010.The event was well organized and It was really fun to attend. Following was the agenda:

A Dive into Windows 7
by Zafar Ul-Islam, Enterprise Technology Strategist, Microsoft Pakistan
IE8 – The Real Web for the Real World
by Jibran Jamshad, Technology Consultant, Microsoft Innovation Center Pakistan
An overview on Microsoft Pakistan initiatives
by Naveed Bajwa, Developer & Platform Group Manager, Microsoft Pakistan
Open Discussion followed by Lunch and lots of MVP`s Also there (Adil MUGHAL,Munir,Wajaht.)


I enjoyed the Q & A part the most and bloggers really showed their interest in Microsoft Initiatives in the country.

Simple DataBind in Silverlight

Tuesday, January 12, 2010





ADO.Net Classe is Absent in Silverlight That why some time Developer get confused How Retrieve Data in Silvrelight Application? Silverlight Provide ServiceModel Class You Thought this Class You can Call Web services ,WCF Services , RIA Services, Syndication (Rss,Atom) To Get Data. For Communicate with Data Base Web Prefer to Use Entity Framework Or We Can Use Linq to Sql, ADo.net Also through Services . Here i am try to Retrieve Data form Sql in my DataGridControl
1 Create Silverlight Application.
2 Add DataGrid Control and set its Properties .
3 Add Web Service to you Asp.net Application Where u display Silverlight Application (.XAP).
3 Add EntityFramework Data Model and Connect it to Database Thought Wizard.
4 Add any Table to your EntityFramework Data Mode Like (Products).
5 Add Function in your webservice (MydataServices.asmx.cs) .
6 Set return Type to List tableName type like List.
7 Add Linq Select Qurey and return toList() .
8 Add Service in you Silver light Application in Service References
9 Create load function call Service and Service Completed Event
10 on Completed ( EventArgs e ) Retrieve e.result.tolist() ,
11 assigned to DataGrid Item Source Property
















By Usama Wahab Khan


Silverlight Game (Fish Game)

Sunday, January 3, 2010



Play

Click on Fish and Drag it towards the door
and do not Touch the hurdles you and Plugin Your Speakers and Put you Volume


Download SourceCoDoe

Happy New Year With Silverlight

Saturday, January 2, 2010



Download Source Code

Usama Wahab khan

hyderabad Geographical information system(gis)

Monday, December 28, 2009



District government Hyderabad has launched HYDERABAD GIS Application On Web and Govt Depts . Hyderabad Gis Is Pakistanis `s Frist Online Gis Application . Hyderabad is First City in Pakistan who adopt Latest Gis Technology . Which will help in Planning , Development and Water , Sewerage & Drainage Management ,health , Eduction , Transportation ,in Hyderabad

.

Now District government Hyderabad also launch Hydeabadgis.com for Public and Hyderabad Google with 3d Google with Silverlight first time in world
this hole application is design In Silverlight and my Self Usama Wahab Khan and i am the team lead of hyderabad gis application Now hyderabad gis application is going to deploy in
other department of hyderabad govt
wasa
HDA
and other
application is design on latest technology called silverlight
Applicaiton features:

Map zooming
Map Panning
Map Print on high Scale and resolution's Image
User authentication
Measurement tool to calculate distance and area on map
find address
find plot
info tool
info landmark
map overview
save Book mark and map
and more

In this Project i used Silverlight 3.0 tech for gis and mapping technology

Silverlight Checkbox is Checked in TreeView

Friday, December 25, 2009

In Silverlight 2 Beta i was Big Problem To bind Data with treeview checkbox but its will become Very easy in Silverlight 3 Silverlight 3 Add new Property Called TreeViewItemCheckBox So Try this tutial



1 new project and Create Silverlight Application Call mysite



2 go Solution Explorer and right Click on page.xaml




3 Selcet Treeview Control from asset


4 and Drow treeview on Canvus AND NAMED TvCheckbox save



5 add New Class and named TreeViewDataSource and inherit INotifyPropertyChanged past this code in it

6 add this namespace to to XAML code
xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 6
back to Visaul Studio and go page.cs file add code this code on page load event

Try it Live


Download Source Code
thank
i hope its will helps you
by :Usama Wahab Khan

Nested Gridview Asp.net

Monday, December 21, 2009

Download Source Code