Joomla!(TM) Development Services | Portland, OR | Social Media Services - Salyris Studios

Check them out pretty awesome studio! :)
Joomla!(TM) Development Services | Portland, OR | Social Media Services - Salyris Studios

C# & ASP.Net: Get the Row Index from a ASP.Net GridView's RowCommand event.


I have used this before and it works.
  1. int rowIndex = Convert.toInt32(e.CommandArgument);

If that one above doesn't work you can try this. Lets say that the rowcommand is triggered by a linkbutton you would do to get the row index. 
  1. GridViewRow row = (GridViewRow)((LinkButton)e.CommandSource).NamingContainer;
  2. int rowIndex = row.RowIndex;
Source: http://www.daniweb.com/web-development/aspnet/threads/363842/how-to-get-rowindex-of-gridview-using-datakey-obtained-in-rowcommand

This Eclipse plugin adds FTP support. Edit server files from Eclipse. http://www.aptana.org/downloads/start#

This Eclipse plugin adds FTP support. Edit server files from Eclipse.
http://www.aptana.org/downloads/start#

This check for syntax errors and allows debugging with breakpoints.http://www.phpeclipse.com/ #PHP

This checks for syntax errors and allows debugging with breakpoints in PHP. :)
http://www.phpeclipse.com/

Sprite Animation with HTML5

Great article about sprite animation with HTML5.

http://blogs.msdn.com/b/davrous/archive/2011/07/21/html5-gaming-animating-sprites-in-canvas-with-easeljs.aspx

Handle Enter Key for search and login page


This Article is where I found my answer:
http://stackoverflow.com/questions/6140640/handle-enter-key-for-search-and-login-page



The panel tag has a DefaultButton property. I simply give it the ID of the button you click to search. After that all the controls inside would fire the search button if you pressed 'ENTER'.



Before:
After:

Java and C# Comparison

A great reference for porting back and forth or learning either. Java and C# Comparison