Pages

About Me

My photo
ForEach(Minute in MyLife) MyExperience ++;
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="&lt;%#Eval(&quot;ERROR_FILE1&quot;) + &quot;,&quot;+Eval(&quot;ERROR_FILE2&quot;)+&quot;,&quot;+Eval(&quot;ERROR_FILE3&quot;)%&gt;" commandname="&lt;%# Eval(&quot;ERROR_ID&quot;) %&gt;" 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();