Archive

Archive for May, 2007

Game Programming – XNA

May 11th, 2007 No comments

Desire to develop a Game in Windows?

XNA is the choice!

You can develop games with DirectX with the Managed language C# easily.

Check : http://msdn2.microsoft.com/en-us/xna/default.aspx

You can freely download the XNA Game Studio Express from here

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: C#, General

MSN Hotmail is now Windows Live Hotmail

May 10th, 2007 No comments

http://hp.msn.com/c/hotmail/WLHLogo219x31.gif

Upgrade (or create new) your hotmail address to new looks with more storage: http://www.discoverhotmail.com/

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: News

Windows Command line reference

May 10th, 2007 No comments

Check this Windows XP Professional Product Documentation link to find command line reference for commands. I found this useful since I still love MS DOS. :)

This reference is very much useful for batch file programming also.

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

Windows Command line reference

May 10th, 2007 No comments

Check this Windows XP Professional Product Documentation link to find command line reference for commands. I found this useful since I still love MS DOS. [:)]

This reference is very much useful for batch file programming also.

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

How to access items in a GridView?

May 8th, 2007 No comments

Like this:

foreach (GridViewRow gvr in GridView1.Rows)
{
TextBox t = (TextBox)gvr.Cells[0].Controls[0];
// Response.Write("
" + t.Text);
}

VN:F [1.9.18_1163]
Rating: 5.0/5 (1 vote cast)
Categories: C#, DOTNET

How to add columns dynamically on a GridView?

May 8th, 2007 No comments

Here is the way to add a template column to GridView dynamically (runtime):

 TemplateField tf = new TemplateField();
            tf.HeaderText = "NewTemplate column";
            MyTemplate template = new MyTemplate("test");
            tf.ItemTemplate = template;
            GridView1.Columns.Clear();
            GridView1.Columns.Add(tf);
 
            string[] s = { "as", "34", "z", "@#4", "666" };
            GridView1.DataSource = s;
            GridView1.DataBind();
VN:F [1.9.18_1163]
Rating: 3.4/5 (14 votes cast)
Categories: General

How to rename a column in mssql (t-sql)?

May 4th, 2007 No comments

There is no clause availabe on t-sql. But in oracle it is available:

Oracle:

ALTER TABLE tblname
RENAME COLUMN oldcol TO newcol

In, t-sql (MS SQL) you can use the internal stored procedure:
sp_rename

The syntax is:

sp_rename [@objname =] 'object_name',
[@newname =] 'new_name'
[, [@objtype =] 'object_type']

For more information, see : http://doc.ddart.net/mssql/sql70/sp_ra-rz_11.htm

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: Uncategorized

My first FULL application on Managed C++

May 2nd, 2007 No comments

Well I forgot to blog, that I completed my first full application which was done on Managed C++.

This application is a keyboard hooking application for WinNT based systems. Details truncated due to privacy :P

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: Uncategorized

Choosing a Programming Language

May 2nd, 2007 No comments

In my teaching sessions students used to ask “Which language is the Best?”, “Which language I must learn?” etc. like questions.

I saw a good link on this – which is also a friend of mine on the undernet-#programmer channel

Hope this will help you select a programming language which suits you ;)

Btw, the article seems littlebit old, so you cannot see dotnet languages etc. unfortunately. Also the words in the article are just view point of a person.

http://www.digiways.com/~pingu/Programmer/part1.php3

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: Uncategorized