Showing posts with label c# code. Show all posts
Showing posts with label c# code. Show all posts
Tuesday, July 26, 2011
Fixed header gridview
http://www.aspsnippets.com/Articles/Scrollable-GridView-with-Fixed-Headers-using-jQuery-Plugin.aspx
Friday, July 22, 2011
C sharp code optimization techniques
Reference : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp
Thursday, July 21, 2011
Passing multiple arguments in c#
.aspx page ,
"<asp:imagebutton com="" commandargument="<%#Eval("ERROR_FILE1") + ","+Eval("ERROR_FILE2")+","+Eval("ERROR_FILE3")%>" commandname="<%# Eval("ERROR_ID") %>" id="ImgB_DELETE" imageurl="../images/Manager/trash.png" onclientclick="return confirm('Are you sure you want to delete this Error Report?')" oncommand="Delete" runat="server"></asp:imagebutton>"
.cs page
string[] Argument = e.CommandArgument.ToString().Split(new char[] { ',' });
string File1 = Argument[0].ToString();
string File2 = Argument[1].ToString();
string File3 = Argument[2].ToString();
"<asp:imagebutton com="" commandargument="<%#Eval("ERROR_FILE1") + ","+Eval("ERROR_FILE2")+","+Eval("ERROR_FILE3")%>" commandname="<%# Eval("ERROR_ID") %>" id="ImgB_DELETE" imageurl="../images/Manager/trash.png" onclientclick="return confirm('Are you sure you want to delete this Error Report?')" oncommand="Delete" runat="server"></asp:imagebutton>"
.cs page
string[] Argument = e.CommandArgument.ToString().Split(new char[] { ',' });
string File1 = Argument[0].ToString();
string File2 = Argument[1].ToString();
string File3 = Argument[2].ToString();
Subscribe to:
Posts (Atom)
