http://www.harding.edu/fmccown/vbnet_csharp_comparison.html
VB.NET and C# Comparison
Wednesday, July 28, 2010
Java and C# Comparison
http://www.harding.edu/fmccown/java_csharp_comparison.html
Java and C# Comparison
Java and C# Comparison
Tuesday, July 13, 2010
Automatic Redirect Page Using HTML
HEAD
META HTTP-EQUIV="refresh" CONTENT="5;URL=http://www.google.com/"
End HEAD
Your browser should automatically take you there in 5 seconds.
If it doesn't please go to http://www.google.com
META HTTP-EQUIV="refresh" CONTENT="5;URL=http://www.google.com/"
End HEAD
Your browser should automatically take you there in 5 seconds.
If it doesn't please go to http://www.google.com
Thursday, July 1, 2010
Getting Gridview Row Index in Row Command Event
GridViewRow rowSelect = (GridViewRow)(((ImageButton)e.CommandSource).NamingContainer);
int i = rowSelect.RowIndex;
OR
GridViewRow rowSelect = ((ImageButton)sender).Parent.Parent as GridViewRow;
int i = rowSelect.RowIndex;
OR
Bind in Button CommandArgument
((GridViewRow) Container).RowIndex
OR
GridView Row index by control
CheckBox chkBox = (CheckBox) sender;
GridViewRow gRow = (GridViewRow)chkBox.NamingContainer;
int i = rowSelect.RowIndex;
OR
GridViewRow rowSelect = ((ImageButton)sender).Parent.Parent as GridViewRow;
int i = rowSelect.RowIndex;
OR
Bind in Button CommandArgument
((GridViewRow) Container).RowIndex
OR
GridView Row index by control
CheckBox chkBox = (CheckBox) sender;
GridViewRow gRow = (GridViewRow)chkBox.NamingContainer;
Subscribe to:
Comments (Atom)