Search

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

Matching Posts

  • PageRequest context

    I know the WebRequest class in js has a userContext property but how do I do the same in a PageRequest class. Maybe I am asking the wrong question. I want to keep track of which control raised the event (postBackElement property) so that when the request completes, I can set some properties for the control that raised the event. Thanks.
  • Split data

    I have an array of type Employee. I am able to bind this to a datalist like so: Employee[] e; DataList1.DataSource = e; How can I split the array so that half of it is bound to one datalist and the remaining is bound to the second datalist Employee[] e; DataList1.DataSource = ? ; //first five items only DataList2.DataSource = ?; //last five items only I am trying to find the most efficient way to do this. Thanks.
    Posted to Data Presentation Controls (Forum) by macha27 on 3/4/2005
  • Strongly typed collection in Issue Tracker

    Hi, I am trying to understand the purpose of the OnInsert method in all the Collection classes. For example, consider the ProjectCollection class. We have the following code that adds an item of type Project into the collection . public void Insert( int index, Project value ) { List.Insert( index, value ); } If this is the case, then why are we checking for what type of object is being inserted in the following code. protected override void OnInsert( int index, Object value ) { if ( value.GetType
    Posted to Issue Tracker Starter Kit (Forum) by macha27 on 7/9/2004
  • creating an XSD with unique constraints

    Hi, Consider the following XML File <?xml version="1.0" encoding="utf-8"?> <MyData> <ItemCollection ColId="0"> <Item ItemId="0" value="Car" /> <Item ItemId="1" value="Boat" /> </ItemCollection> <ItemCollection ColId="1"> <Item ItemId="0" value="Spoon" /> <Item ItemId="1" value="Fork" /> </ItemCollection> <ItemCollection
    Posted to XML and XmlDataSource Control (Forum) by macha27 on 6/4/2004
  • Creating strings

    Hi, I was under the impression that a String is a reference type but from this code: string a = "London"; string b = a; Console.WriteLine(b + " " + a); //London London a = "Paris"; Console.WriteLine(b + " " + a); //Paris London I thought the statement b = a would make a and b point to the same location but they dont. In the same context, consider the following code: String x = "Hello"; String y = "Hello"; Console.Write(x==y); //returns true
    Posted to C# (Forum) by macha27 on 5/20/2004
  • Writing classes in C#

    If I am writing a class in C# that will be used to only transfer data between layers, should I worry about making the properties private. 1) Is there anything wrong in exposing all properties? public Class MyClass { public int CustomerId; public string CustomerName; } 2) Is it ok to use a structure instead public struct MyClass { public int CustomerId; public string CustomerName; } Please advise, Thanks, -ron
    Posted to C# (Forum) by macha27 on 5/20/2004
  • Why the delegate?

    Why is the delegate used in the DataAccessLayer? private delegate CollectionBase GenerateCollectionFromReader(SqlDataReader returnData); Is its only purpose to avoid repetition of the following code in each method - Opening the datareader, populating the collectinon and close the reader? Thanks, -ron
    Posted to Issue Tracker Starter Kit (Forum) by macha27 on 5/19/2004
  • Re: Default button dilemma - Please Help!

    Try this method for setting default buttons: http://weblogs.asp.net/rajbk/archive/2003/12/11/43023.aspx
    Posted to Web Forms (Forum) by macha27 on 5/15/2004
  • Re: Blank URLReferrer

    Please keep in mind that the URLReferrer property is not fully reliable (it is the duty of the browser to send the urlreferrer) - some browsers like netscape 6 do not send the urlreferrer.
    Posted to Getting Started (Forum) by macha27 on 3/18/2004
  • Stack and Heap

    Hi, In VS.NET, how can I "see" the stack and heap of my executing program. Also, what is the "Register" view when debugging programs... is the Register the same as the Stack? thanks, -ron
    Posted to Visual Studio 2005 (Forum) by macha27 on 3/17/2004
Page 1 of 15 (148 items) 1 2 3 4 5 Next > ... Last »