Tuesday, March 15, 2011

Learn gaming in csharp 1st Chapter

Which programming language is the best?  Why C#? etc...
In the end there is no "best programming language".  Right now the industry standard for games is C++.  However
there is no guarantee what language will be the one of choice in a year or five years.  A popular game,
Civilization 4, was written in Python which is fairly new.  The idea is to learn a language.  Any language will do
because once you learn one, picking up another is fairly easy to do.  I'm using C# because it's fairly easy to learn,
it's very close to C++ and because it's the language that XNA uses which makes game programming much easier.
More on XNA later. 

Friday, March 11, 2011

Cookies In Asp.Net



Cookies is a small piece of information stored on the client machine. This file is located on client machines "C:\Document and Settings\Currently_Login user\Cookie" path.  Its is used to store user preference information like Username, Password,City and PhoneNo etc on client machines. We need to import namespace called  Systen.Web.HttpCookie before we use cookie. 
  
Type of Cookies?


Persist Cookie - A cookie has not have expired time Which is called as Persist Cookie


Non-Persist Cookie - A cookie has expired time Which is called as Non-Persist Cookie


How to create a cookie? 
  
Its really easy to create a cookie in the Asp.Net with help of Response object or HttpCookie 
  
Example 1: 
  
        HttpCookie userInfo = new HttpCookie("userInfo");
        userInfo["UserName"] = "Annathurai";
        userInfo["UserColor"] = "Black";
        userInfo.Expires.Add(new TimeSpan(0, 1, 0));
        Response.Cookies.Add(userInfo);

Sunday, March 6, 2011

Data List Control In Asp.Net


This is a Data List control demo with code …….


This is a xml file we will use in data list control as a Data Source
<?xml version="1.0" encoding="ISO-8859-1"?>

<catalog>
<cd>
  <title>Empire Burlesque</title>
  <artist>Bob Dylan</artist>
  <country>USA</country>
  <company>Columbia</company>
 

Repeater Control In asp.net


Repeater Control Using XML Data source
This is an xml file, we will use as data source
<?xml version="1.0" encoding="ISO-8859-1"?>

<catalog>
<cd>
  <title>Empire Burlesque</title>
  <artist>Bob Dylan</artist>
  <country>USA</country>

Sql Create Table


Creating Tables

The create table statement is used to create a new table. Here is the format of a simple create tablestatement:
create table "tablename"
("column1" "data type",
 "column2" "data type",
 "column3" "data type");
Format of create table if you were to use optional constraints:
create table "tablename"
("column1" "data type" 
         [constraint],
 "column2" "data type" 
         [constraint],
 "column3" "data type" 
        [constraint]);
 [ ] = optional
Note: You may have as many columns as you'd like, and the constraints are optional.
Example:

Answers Of Sql Select Statement Excercise


Selecting Data Answers

  1. Display everyone's first name and their age for everyone that's in table.
    select first, 
           age 
      from empinfo;
  2. Display the first name, last name, and city for everyone that's not from Payson.
    select first, 
           last, 
           city 
      from empinfo
    where city <> 
      'Payson';
  3. Display all columns for everyone that is over 40 years old.
    select * from empinfo
           where age > 40;
  4. Display the first and last names for everyone whose last name ends in an "ay".
    select first, last from empinfo
           where last LIKE '%ay';
  5. Display all columns for everyone whose first name equals "Mary".
    select * from empinfo
           where first = 'Mary';
  6. Display all columns for everyone whose first name contains "Mary".
    select * from empinfo
           where first LIKE '%Mary%';

sql Select data Or Select statement

Selecting Data

The select statement is used to query the database and retrieve selected data that match the criteria that you specify. Here is the format of a simple select statement:

select "column1"
[,"column2",etc]
from "tablename"
[where "condition"];
[] = optional
The column names that follow the select keyword determine which columns will be returned in the results. You can select as many column names that you'd like, or you can use a "*" to select all columns.

sql Tabel Basic

Table Basics

A relational database system contains one or more objects called tables. The data or information for the database are stored in these tables. Tables are uniquely identified by their names and are comprised of columns and rows. Columns contain the column name, data type, and any other attributes for the column. Rows contain the records or data for the columns. Here is a sample table called "weather".

city, state, high, and low are the columns. The rows contain the data for this table:

Weather
city state high low
Phoenix Arizona 105 90
Tucson Arizona 101 92
Flagstaff Arizona 88 69
San Diego California 77 60
Albuquerque New
Mexico 80 72

definition of sql

What is SQL?

SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database. According to ANSI (American National Standards Institute), it is the standard language for relational database management systems. SQL statements are used to perform tasks such as update data on a database, or retrieve data from a database. Some common relational database management systems that use SQL are: Oracle, Sybase, Microsoft SQL Server, Access, Ingres, etc. Although most database systems use SQL, most of them also have their own additional proprietary extensions that are usually only used on their system. However, the standard SQL commands such as "Select", "Insert", "Update", "Delete", "Create", and "Drop" can be used to accomplish almost everything that one needs to do with a database. This tutorial will provide you with the instruction on the basics of each of these commands as well as allow you to put them to practice using the SQL Interpreter.

Devloper Resume Formats

Miranda Atkins
709 West Orleans St.
Ashville, NC 28814
(914) 555-0919
matkins@earthlink.net
__________________

Objective
To obtain a job as a software developer for company specializing in consumer software.

Highlights

- Proficient in Visual Basic, ASP, Java Script, VB Script and various Web Technologies.
- Experienced in Web Application Development & Site Designing.
- Microsoft Certified Professional (IIS 4.0).
- Enterprise Systems Management (ESM) training on Sun Solaris 7.0
- Certified in Hardware and Windows NT Networking (KarROX).
- Diploma in Advanced Computing (C-DAC) & Bachelor of Engineering (Electronics and Power).

Operating Systems/Languages

- MS-DOS, Systems Operation
- .NET Framework
- Visual Basic 6.0
- C++, Programming
- Solaris 7.0.
- Windows 95/98/NT 4.0/2000/XP
- UNIX, Shell Script Programming

Experience

Web Tech, Ashville, NC
Software Engineer, 1998 - Present
Developing web based applications and sites. Followed ISO 9000: 2001 Standards for complete lifecycle of projects in all applications and sites.

Version One Software, Charlotte, NC
Production Consultant, 1995 - 1998
Responsible for Team co-ordination for the project and delivery of the project. Built web-based applications in ASP, which involved a Search application. User registration and session management and a product catalogue. Built C/S based Banking application in Visual Basic.

Education

University of North Carolina, Chapel Hill, NC
B.S., Computer Science, 1994

Wednesday, March 2, 2011

Definition of php


What is PHP?

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a server-side scripting language, like ASP
  • PHP scripts are executed on the server
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is an open source software
  • PHP is free to download and use

AngularJS Basics - Part 1

                                                                  AngularJS What is AngularJS ·          Framework by googl...