Search:

Type: Posts; User: y99q

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,802

    How about DataTable.DefaultView.RowFilter?

    How about DataTable.DefaultView.RowFilter?
  2. Replies
    7
    Views
    1,688

    To expand on itsme86's post, notice that the...

    To expand on itsme86's post, notice that the Cast<T>() extension method, unlike most extension methods defined in System.Linq.Enumerable, extends non-generic IEnumerable, not generic IEnumerable.
    ...
  3. well I didn't really find a lot of new info in...

    well I didn't really find a lot of new info in that article. as for my web.config, I'm using default settings. ie: sessionState mode = "InProc", etc.
  4. Anyone here well versed in ASP.NET? I have some questions about Cookies and Sessions

    I know that cookies are messages passed back and forth between client and server that the server uses to associate a particular user to a session, and that a session is a store on the server that...
  5. I am not very familiar with the concept of data...

    I am not very familiar with the concept of data binding. can you illustrate with some sample code how you would go about implementing this functionality?
  6. so the culprit is the textbox's WordWrap...

    so the culprit is the textbox's WordWrap functionality. who would have thought it? :)

    for now I'll do something like this:



    for (int x = 0; x <= 500000; x++)
    {
    ...
  7. the following implementation is based on my...

    the following implementation is based on my understanding of the change that you suggested. how come the form still remains frozen until the text is displayed on the textbox control? (by the way, the...
  8. How can this WinForm functionality be implemented?

    Without going into too many details, picture a Windows form that has only one button and one muti-line textbox.

    When the button is clicked, an event handler procedure retrieves text and, when it's...
  9. that makes sense. thanks.

    that makes sense. thanks.
  10. protected internal virtual vs. protected override ??

    my understanding is that override members must have the same access modifier as overridden members.

    In other words, if we have a member such as this one:



    protected internal virtual...
  11. Replies
    3
    Views
    1,263

    I still use .NET 3.5. I get no exceptions....

    I still use .NET 3.5. I get no exceptions. Besides, if not using the enumerator then how else am I going to loop through the PolicyLevel objects? there is no Ienumerable to use a foreach loop with....
  12. Replies
    3
    Views
    1,263

    which code is better. why?

    The following code prints a list of permissions, permission sets and security policies available on a given machine.



    static void Main(string[] args)
    {
    IEnumerator...
  13. Replies
    6
    Views
    1,548

    I'm almost 30. FInished undegrad some years ago...

    I'm almost 30. FInished undegrad some years ago and worked in a low-level programming position for almost 4 years. Then lost my job and my experience is pretty much useless since I was using...
  14. Replies
    6
    Views
    1,548

    How does one get a QA job?

    a student adviser told me that it might be difficult for me to find a programming position given that I lack relevant experience and suggested that I apply for other jobs, such as QA, then go from...
  15. Replies
    7
    Views
    3,702

    fair enough. how about passing the FileStream to...

    fair enough. how about passing the FileStream to System.IO.BinaryReader's constructor?
  16. Replies
    7
    Views
    3,702

    suchthefool, I am not sure what your question is,...

    suchthefool, I am not sure what your question is, but the following comes to mind: use the System.IO.StreamReader class and pass the FileStream instance as an argument to the constructor. Then use...
  17. This position requires key competencies such as encapsulation, inheritance, polymorph

    so if you apply for a job that has that line as a requirement what exactly are you supposed to know about inheritance, polymorphism and encapsulation?

    Do you think it's about reciting definitions...
  18. when is generic covariance/contravariance is useful/necessary?

    Generic covariance and contravariance allow you to declare a generic interface or generic delegate whose variables can be initialized using expressions whose type argument can be more/less derived...
  19. Replies
    2
    Views
    2,315

    are methods stored in the heap or the stack?

    I know that memory addresses in the stack can contain either values or references to other memory addresses, but do these memory addresses also contain methods or are the methods themselves located...
  20. Why is it not possible to declare a non-sealed or abstract enum, struct, or delegate?

    As many of us know, the System.Type type defined in the System namespace as well as the types defined in the System.Reflection namespace make it possible to easily search for abstract types of...
  21. How are HashCodes generates for classes vs. structs?

    I was trying to figure out a way to use a Dictionary to distinguish between unique combinations of pairs and accidentally realized that hashcodes for classes are generated differently than...
  22. Replies
    7
    Views
    3,506

    we could have struct S { public...

    we could have


    struct S<T>
    {

    public static implicit operator S<T>(T t) { if (t != null) return new S<T>((T)t); return new S<T>(); }
    }

    S<object> s = 6;
  23. Replies
    7
    Views
    3,506

    In other words, if I were to implement my own...

    In other words, if I were to implement my own generic nullable type. (untested example below)


    class P
    {
    struct S<T> where T : struct
    {
    private T the_value;
    ...
  24. just wanted to add that I found a way to do it:...

    just wanted to add that I found a way to do it: click on left upper corner of console window, click on properties, and then quick-edit mode; which allowed me to 'manually' select the text displayed...
  25. how do I copy characters from the Console window verbatim?

    I used the Console's CursorLeft and CursorTop properties to specify the exact areas of the screen where I wanted to print information. I ended up with a 'table' full of data.

    Then I used the...
Results 1 to 25 of 71
Page 1 of 3 1 2 3