Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, October 9, 2012

Activate Windows 8 or Other Product Key To Complete Activation

Follow below steps
 
Start   ==>   CMD  ==> right Click ==> Choose Run at Administrator
 
 
Type Following Command
 
 
Slui 3
 
after press ENTER
 
window pop us now you can put Windows product Key
 
 
 

Wednesday, August 29, 2012

Design Cross-browser using Modernizr - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser. http://modernizr.com/



Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user's browser.

Why use Modernizr?

Taking advantage of cool new web technologies is great fun, until you have to support browsers that lag behind. Modernizr makes it easy for you to write conditional JavaScript and CSS to handle each situation, whether a browser supports a feature or not. It's perfect for doing progressive enhancement easily.

Saturday, August 25, 2012

Sending Email using gmail

Sending Email:


NameSpace:


using System.Net.Mail;

 

Coding:


MailMessage om = new MailMessage("suthahar@gmail.com", "jssuthahar@gmail.com");

//om.CC

//  om.Bcc

om.Subject = "Welcome to  Suthahar bogs";

om.Body = value;

om.IsBodyHtml = true;

om.Priority=MailPriority.High;

SmtpClient os=new SmtpClient();

os.Host = "smtp.gmail.com";

os.Credentials=new System.Net.NetworkCredential("suthaharmcpd@gmail.com","*******");

os.EnableSsl = true;

os.Send(om);

Response.Write("<script>alert('mail send')</script>");

 

 

Monday, July 23, 2012

IsolatedStorageSettings in Windows Phone

 

IsolatedStorageSettings


Save Data Into Setting:

/// <summary>

/// Save Value into Setting File

/// </summary>

/// <param name="sender"></param>

/// <param name="e"></param>

private void button1_Click(object sender, RoutedEventArgs e)

{

IsolatedStorageSettings.ApplicationSettings.Add("Email", txtname.Text);

 

}

Retrieve Data from Setting:

/// <summary>

/// Retrieve Value from Setting file

/// </summary>

/// <param name="sender"></param>

/// <param name="e"></param>

private void button2_Click(object sender, RoutedEventArgs e)

{

 

if (IsolatedStorageSettings.ApplicationSettings.Contains("Email") == true)

{

txtemail.Text = IsolatedStorageSettings.ApplicationSettings["Email"].ToString();

}

else

{

MessageBox.Show("Value not found");

}

}

 

Save Object into Setting:

/// <summary>

/// Class have two property

/// </summary>

public class Student

{

 

public string Name { get; set; }

public string email { get; set; }

 

}

/// <summary>

/// Store object into Setting

/// </summary>

/// <param name="sender"></param>

/// <param name="e"></param>

private void button1_Click_1(object sender, RoutedEventArgs e)

{

Student os = new Student { Name = txtname.Text, email = txtemail.Text };

IsolatedStorageSettings.ApplicationSettings.Add("Stud", os);

}

Retieve Object from setting

/// <summary>

/// Retrieve Object from Setting

/// </summary>

/// <param name="sender"></param>

/// <param name="e"></param>

private void button2_Click_1(object sender, RoutedEventArgs e)

{

Student os;

IsolatedStorageSettings.ApplicationSettings.TryGetValue<Student>("Stud", out os);

txtname.Text = os.Name;

txtemail.Text = os.email;

}

 

Data Binding

Student os;

IsolatedStorageSettings.ApplicationSettings.TryGetValue<Student>("Stud", out os);

txtname.Text = os.Name;

txtemail.Text = os.email;

this.DataContext = os;

 

<TextBlock  Height="39" HorizontalAlignment="Left" Margin="90,439,0,0" Name="txtbname" Text="{Binding Name}" VerticalAlignment="Top" Width="251" />

<TextBlock Height="36" HorizontalAlignment="Left" Margin="90,509,0,0" Name="txtbemail" Text="{Binding email}" VerticalAlignment="Top" Width="263" />

 

Saturday, July 21, 2012

Windows Mobile Isolated Storage Beginners


WP7 Isolated Storage
Isolated storage is used to store local text file a on Windows Phone 7
If you know File concept in C#.net its easy for you
If you have two applications that work with the same data. data you can't share. You
can use web service/WCF for sharing data
Windows Phone applications do not have an imposed quota size because the
requirements for each application's scenario are different. So storage resources on
a phone are limited so applications should only store necessary data. When a
Windows Phone has only 10% of storage space remaining, user will receive
notification
Isolated storage Action
Create File
Read File
Delete File
Create Folder
Delete Folder
Silverlight Windows Phone store following way
Settings: Store data as key/value pairs by using the IsolatedStorageSettings class.
Files and folders: Store files and folders by using the IsolatedStorageFile class.
Relational data: Store relational data in a local database by using LINQ to SQL.
How to take Backup isolated Storage :
Name Space:
using System.IO;
using System.IO.IsolatedStorage
Create Directory:
Code:
IsolatedStorageFile os = IsolatedStorageFile.GetUserStoreForApplication();
os.CreateDirectory(<dirname>);   //
//List of Directory Name
foreach (object dir in os.GetDirectoryNames())
{
MessageBox.Show(dir.ToString());
}
Screen:
   // Delete Directory
    os.DeleteDirectory(txtdirname.Text);
//Check Directory is exists
            if (os.DirectoryExists(txtdirname.Text) == true)
            {
                MessageBox.Show("Hi directory avl");
            }
  //Create File
IsolatedStorageFile os = IsolatedStorageFile.GetUserStoreForApplication();
StreamWriter osw=new StreamWriter(new
IsolatedStorageFileStream("js.txt",FileMode.CreateNew,os);
//create File and Save data
IsolatedStorageFile os = IsolatedStorageFile.GetUserStoreForApplication();
StreamWriter osw=new StreamWriter(new
IsolatedStorageFileStream("js1.txt",FileMode.Create,os));
osw.Write("hi welcome");
osw.Flush();
            osw.Close();
//Replace File :
IsolatedStorageFile os = IsolatedStorageFile.GetUserStoreForApplication();
StreamWriter osw = new StreamWriter(os.OpenFile("js1.txt",
FileMode.Open,FileAccess.Write));
osw.Write("hi welcome");
osw.Flush();
osw.Close();
//Read Data:
IsolatedStorageFile os = IsolatedStorageFile.GetUserStoreForApplication();
StreamReader osr = new StreamReader(os.OpenFile("js1.txt", FileMode.Open,
FileAccess.Read));
txtdirname.Text = osr.ReadToEnd();
osr.Close();

Wednesday, July 11, 2012

Tuesday, March 20, 2012

Watch Tech Ed on Live ... Click Here

Hi,


Watch Tech Ed  on Live ... Click Here


Topic below...


DayTimeTopic
Day 2, March 22, 2012Windows 8 - Attend to find out
Day 3, March 23, 2012Keynote - Chakrapani Gollapali
Day 3, March 23, 2012Keynote - Gerard Rego
Day 1, March 21, 2012Windows Server 8 - Attend to find out
Day 2, March 22, 2012System Center 2012: How It Enables Building Private Cloud
Day 2, March 22, 2012Windows 8 - Attend to find out
Day 2, March 22, 2012Windows 8 - Attend to find out
Day 2, March 22, 2012Windows 8 - Attend to find out
Day 2, March 22, 2012System Center 2012: Application Management in Private and Public Clouds
Day 1, March 21, 2012Windows 8 - Attend to find out
Day 3, March 23, 2012Speed Up! - Parallel Processes and Unparalleled Performance
Day 3, March 23, 2012Keynote - Gerard Rego
Day 3, March 23, 2012Top five reasons why you want SQL Server 2012 BI
Day 1, March 21, 2012Windows 8 - Attend to find out
Day 1, March 21, 2012Windows 8 - Attend to find out
Day 2, March 22, 2012System Center 2012: Technical Overview
Day 1, March 21, 2012Windows Server 8 - Attend to find out
Day 3, March 23, 2012ASP.NET Web Standards and Performance with IIS 8
Day 1, March 21, 2012Keynote - Sanket Akerkar
Day 1, March 21, 2012Windows Server 8 - Attend to find out
Day 1, March 21, 2012Windows 8 - Attend to find out
Day 3, March 23, 2012Keeping Your Database Available - 'AlwaysOn'
Day 3, March 23, 2012Hello from ASP.NET Web Forms 4.5 and Visual Studio 11
Day 2, March 22, 2012System Center 2012: Application and Network Monitoring in your Private Cloud
Day 1, March 21, 2012Keynote - Bernardo Caldas
Day 3, March 23, 2012Peeling SQL Server like an Onion: Internals Debunked
Day 1, March 21, 2012Keynote - Sanket Akerkar
Day 1, March 21, 2012Windows Server 8 - Attend to find out
Day 2, March 22, 2012System Center 2012: Service Delivery and Automation using Orchestrator and Service Manager
Day 2, March 22, 2012Keynote - Amit Chatterjee
Day 3, March 23, 2012Using HTML5 to enhance your web applications today
Day 1, March 21, 2012Windows 8 - Attend to find out
Day 2, March 22, 2012Windows 8 - Attend to find out
Day 3, March 23, 2012Building connected web applications that extend across boundaries
Day 3, March 23, 2012Building an app for the Web, Mobile and Touch Devices within an hour using ASP.NET MVC 4
Day 3, March 23, 2012Keynote - Chakrapani Gollapali
Day 3, March 23, 2012Lesser Known Facts of SQL Server Backup and Restore
Day 2, March 22, 2012Keynote - Amit Chatterjee
Day 1, March 21, 2012Keynote - Bernardo Caldas
Day 1, March 21, 2012Windows Server 8 - Attend to find out