Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

VickyC

@VickyC
About
Posts
57
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WCF-Silverlight
    V VickyC

    I am using custombinding to pass back to the server a large string. It seems that the maximum size is only 4 megabytes. Here is my Any ideas how to pass a string larger than 4 megabytes and up to 2147483647 bytes?

    WCF and WF csharp wcf sysadmin tutorial question

  • Where to snack in Tokyo?
    V VickyC

    The website is bad...the food/environment looks good.

    The Lounge html com question

  • Why? Why?!! WHY!!!!
    V VickyC

    Do you get paid for the job?

    The Weird and The Wonderful csharp tools xml question

  • Don't they know what an array is?
    V VickyC

    Does the language support lists?

    The Weird and The Wonderful css data-structures help question career

  • Treeview Expansion in MVVM
    V VickyC

    it was just a long day...thanks though.

    WPF wpf asp-net com architecture question

  • Treeview Expansion in MVVM
    V VickyC

    I have tried the application that is listed Silverlight Auto Complete Treeview[^] It seems to be a good solutions accessing the View Model in a MVVM application using the treeview. The core of this article is based on Bea Stollnitz's solution to treeview expansion in Silverlight. However, it does not like to get binded using DataContext and ItemsSource in XAML. Does anybody has come up with a solution?

    WPF wpf asp-net com architecture question

  • LINQ, XML to tree class
    V VickyC

    FYI: I should have done             public static List<Hierarchy> GetHierarchy(XContainer root) {                   List<Hierarchy> retVal = new List<Hierarchy>();                   var children = from treenode in root.Descendants("TREENODE")                                        select treenode;                   foreach (XNode xn in root.Nodes()) {                         Hierarchy node = new Hierarchy();                         node.Code = ((XElement)xn).Attribute("code").Value.ToString();                         node.Text = ((XElement)xn).Attribute("text").Value.ToString();                         retVal.Add(node);                         node.Hierarchies = GetHierarchy((XContainer)xn);                   }                   return retVal;             }

    C# csharp database linq com data-structures

  • LINQ, XML to tree class
    V VickyC

    I have the following XML: <?xml version="1.0" encoding="utf-8" ?> <string xmlns="http://none.none.none/webservices"> <TREENODES xmlns:sql="urn:schemas-microsoft-com:xml-sql">    <TREENODE code="1" text="None" >       <TREENODE code="2" text="America" >          <TREENODE code="16128" text="AUTOS">             <TREENODE code="ATO" text="ATO" />             <TREENODE code="ATO" text="ATO" />          </TREENODE>          </TREENODE>       </TREENODE>    <TREENODE code="11" text="None" >       <TREENODE code="21" text="America" >          <TREENODE code="3" text="AUTOS">             <TREENODE code="ATO44" text="ATO5" />          </TREENODE>       </TREENODE>    </TREENODE> </TREENODES> </string> And this code to read the xml into class Hierarchy.             void client_ReadCompleted(object sender, ReadCompletedEventArgs e) {                   if (e.Error == null) {                         string s = e.Result.ToString();                         XDocument document = XDocument.Parse(s);                         var retVal = (from treeNode in document.Descendants("TREENODE")                                              select new Hierarchy() {                                                    Code = treeNode.Attribute("code").Value,                          &n

    C# csharp database linq com data-structures

  • XML to ObservableCollection
    V VickyC

    it was the FirstOrDefault not SingleOrDefault. Will this work if I change the class from List to ObservableCollection? Thanks a bunch.

    C# question database com data-structures xml

  • XML to ObservableCollection
    V VickyC

    Have you seen the Linq exception "Sequence contains more than one element"? It comes from Populate.

    C# question database com data-structures xml

  • XML to ObservableCollection
    V VickyC

    Also this class it seems that will create a simple list. Not a tree like the XML.

    C# question database com data-structures xml

  • XML to ObservableCollection
    V VickyC

    So what would be the LINQ? Thanks in Advance

    C# question database com data-structures xml

  • XML to ObservableCollection
    V VickyC

    How can I load an XML Document to an ObservableCollection class that preserves the XML tree structure? My xml looks like this: <?xml version="1.0" encoding="utf-8" ?> <string xmlns="http://none.none.none/webservices"> <TREENODES xmlns:sql="urn:schemas-microsoft-com:xml-sql"> <TREENODE code="1" text="None" > <TREENODE code="2" text="America" > <TREENODE code="16128" text="AUTOS"> <TREENODE code="ATO" text="ATO" /> <TREENODE code="ATO" text="ATO" /> </TREENODE> </TREENODE> </TREENODE> <TREENODE code="11" text="None" > <TREENODE code="21" text="America" > <TREENODE code="3" text="AUTOS"> <TREENODE code="ATO44" text="ATO5" /> </TREENODE> </TREENODE> </TREENODE> </TREENODES> </string>

    C# question database com data-structures xml

  • Access ASX in crossdomain [modified]
    V VickyC

    How can I access an asx file from a different domain? I have a Silverlight MediaPlayer (it comes with SilverLight tools. I use Silverlight 2.2 beta). The Silverlight is hosted in an ASP page. Normally if you supply in mediasource the file name (for example movie.wmv) it plays the file.

    modified on Tuesday, July 22, 2008 11:47 PM

    ASP.NET question beta-testing tools tutorial

  • WPF Designer VS2008
    V VickyC

    Thanks for the answer. I wonder if Microsoft will fix the WPF Designer in VS 2005?

    .NET (Core and Framework) csharp visual-studio wpf question

  • WPF Designer VS2008
    V VickyC

    Does anyone knows where is the "Windows Presentation Foundation Designer" executable that is shipped with Visual Studio 2008?

    .NET (Core and Framework) csharp visual-studio wpf question

  • page timesout
    V VickyC

    FYI. My method just worked. May be you should follow it.

    ASP.NET database css question

  • page timesout
    V VickyC

    I appreciate your support. I just need to hit the sack. It has been a long day.

    ASP.NET database css question

  • page timesout
    V VickyC

    It is a heavy duty page but as you say is just a silly thing. 1. At any given time only a single selection is done 2. Just pass parameters to an sql data source. 3. The stored procedure(s) do the work. 4. Analyze/format/populate the data into a grid view. 5. Trigger via the selection item of the main grid 2 more detailed grid views. The process is repeated for the detailed gridviews. Sometimes there is no page expiration. But then some times when larger datasets are called then for sure there will be a page timeout. It all way though happens on the gridview databind. The larger datasets are not that large (50 recs vs 2). The underlying data of the stored procedure contain lot of data. But how could this be relevant? On stand alone page there is no issue. But I would hate to separate the gridviews since they provide an nice concise presentation.

    ASP.NET database css question

  • page timesout
    V VickyC

    There are just similar queries that provide sales analysis and forecasting. 9 gridviews 2 dropdown list boxes, 7 radio buttons, 1 textbox, 1 button, 8 sqldatasources. The total size of the aspx is about 189k. But at any given time only a few of these are activated.

    ASP.NET database css question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups