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

Asp.net FileUpload

Friday, December 18, 2009




there two simple way to upload files in asp.net


Send Email in DotNet 3.5

Thursday, December 17, 2009






There two ways to Send Email in Dotnet
1 System.Web.Mail (Dotnet FrameWork 2.0 )
its now obsoleted in FrameWork 3.5


2. System.Net.Mail

to send Mail in 3.5 here Code

define this code or use myclass dotnet NewMail

// Instantiate a new instance of
MailMessage MailMessage mMailMessage = new MailMessage();
// Set the sender address of the mail message
mMailMessage.From = new MailAddress(from);
// Set the recepient address of the mail message
mMailMessage.To.Add(new MailAddress(to));
// Check if the bcc value is null or an empty string
if ((bcc != null) && (bcc != string.Empty))
{ // Set the Bcc address of the mail message
mMailMessage.Bcc.Add(new MailAddress(bcc)); }
// Check if the cc value is null or an empty value
if ((cc != null) && (cc != string.Empty))
{
// Set the CC address of the mail message
mMailMessage.CC.Add(new MailAddress(cc));
} // Set the subject of the mail message
mMailMessage.Subject = subject;
// Set the body of the mail message
mMailMessage.Body = body; // Secify the format of the body as HTML
mMailMessage.IsBodyHtml = true; // Set the priority of the mail message to normal
mMailMessage.Priority = MailPriority.Normal; // Instantiate a new instance of
SmtpClient SmtpClient mSmtpClient = new SmtpClient(); // Send the mail message
mSmtpClient.Send(mMailMessage);


// Instantiate a new instance of

MailMessage MailMessage mMailMessage = new MailMessage();

// Set the sender address of the mail message

mMailMessage.From = new MailAddress(from);

// Set the recepient address of the mail message

mMailMessage.To.Add(new MailAddress(to));

// Check if the bcc value is null or an empty string

if ((bcc != null) && (bcc != string.Empty))

{ // Set the Bcc address of the mail message

mMailMessage.Bcc.Add(new MailAddress(bcc)); }

// Check if the cc value is null or an empty value

if ((cc != null) && (cc != string.Empty))

{

// Set the CC address of the mail message

mMailMessage.CC.Add(new MailAddress(cc));

} // Set the subject of the mail message

mMailMessage.Subject = subject;

// Set the body of the mail message

mMailMessage.Body = body; // Secify the format of the body as HTML

mMailMessage.IsBodyHtml = true; // Set the priority of the mail message to normal

mMailMessage.Priority = MailPriority.Normal; // Instantiate a new instance of

SmtpClient SmtpClient mSmtpClient = new SmtpClient(); // Send the mail message

mSmtpClient.Send(mMailMessage);


Or Define this code in your Web.config file