Search

You searched for the word(s): userid:636064

Matching Posts

  • Re: OrderedDictionary performance

    How about SortedDictionary? http://msdn2.microsoft.com/en-us/library/f7fta44c.aspx From the documentation: The SortedDictionary generic class is a binary search tree with O(log n ) retrieval, where n is the number of elements in the dictionary. In this respect, it is similar to the SortedList generic class. The two classes have similar object models, and both have O(log n ) retrieval. Where the two classes differ is in memory use and speed of insertion and removal: SortedList uses less memory than
    Posted to Web Forms (Forum) by IKoradia on 12/22/2005
  • Re: Response.Redirect in Global page

    can you use Server.Transfer instead? Server.Transfer("~/gui/frmFileTooBig.aspx") Imran.
    Posted to Web Forms (Forum) by IKoradia on 12/15/2005
  • Re: How do I get the function and page name?

    I'm not sure this will get you the line number you are looking for but here's a way: Dim st As New StackTrace(ex) 'create a stacktrace from your exception st.GetFrame(0).GetFileLineNumber() 'get the line number Also, I don't think this would work in release mode since the line number (among other information) is retrieved from the debug symbols that are created only when in debug mode. Anyway, you can give it a shot. hope that helps, Imran.
    Posted to Web Forms (Forum) by IKoradia on 12/13/2005
  • Re: How do I get the function and page name?

    For the function name, you could use: Dim mb As System.Reflection.MethodBase = System.Reflection.MethodBase.GetCurrentMethod() Dim FunctionName As String = mb.Name hope that helps, Imran.
    Posted to Web Forms (Forum) by IKoradia on 12/12/2005
Page 1 of 1 (4 items)