Thursday, 15 November 2012

hi

CyberMaze Solutionsis an established offshore software development company providing web application development services, ITconsulting ,BPO/KPO and custom php/asp.net/mobile outsourcing solutions of any complexity to clients worldwide. Cyber Maze Solutions is a leading name in the global IT industry with a proven track record of over a years. We have been consistently adding value to the business Our Mission And Vision At CyberMaze Solutions, we are totally business-focused, so we know how important your web presence is to your organization, whether it is commercial or not-for-profit. Our experience has taught us that great websites donot happen by chance " they are the result of great design, built on a solid foundation. That foundation is in-depth understanding of everything our clients want their websites to do. After all, if your website is not genuinely helping your organization, then it could actually be harming it. CyberMaze Solutions's mission is to transform Your Vision Into Reality .We eliminate this risk by applying a broad-based approach to site design that covers e-Business strategy, user-centered design, usability and accessibility, search engine optimization and project management. Bringing these diverse services together ensures that we deliver websites that meet your objectives by providing an exceptional and memorable user experience.

Friday, 13 April 2012

Send Email by gmail in asp.net using C#


using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net.Mail;
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
   
        MailMessage mail = new MailMessage();
        mail.To.Add("email address");
        mail.From = new MailAddress("email addres");
        mail.Subject = "Email using Gmail";




        mail.Body = TextBox1.Text;
        mail.IsBodyHtml = true;
        SmtpClient smtp = new SmtpClient();
        smtp.Host = "smtp.gmail.com"; //Or Your SMTP Server Address
        smtp.Credentials = new System.Net.NetworkCredential
             ("your id", "your password");
        //Or your Smtp Email ID and Password
        smtp.EnableSsl = true;
        smtp.Send(mail);
   
    }
}

Friday, 16 March 2012

create table in sql

The SQL syntax for CREATE TABLE is

CREATE TABLE "table_name"
("column 1" "data_type_for_column_1",
"column 2" "data_type_for_column_2",
... )

So, if we are to create the customer table specified as above, we would type in

CREATE TABLE customer
(First_Name char(50),
Last_Name char(50),
Address char(50),
City char(50),
Country char(25),
Birth_Date date)

Sometimes, we want to provide a default value for each column. A default value is used when you do not specify a column's value when inserting data into the table. To specify a default value, add "Default [value]" after the data type declaration. In the above example, if we want to default column "Address" to "Unknown" and City to "Mumbai", we would type in

CREATE TABLE customer
(First_Name char(50),
Last_Name char(50),
Address char(50) default 'Unknown',
City char(50) default 'Mumbai',
Country char(25),
Birth_Date date)