User Profile

Collapse

Profile Sidebar

Collapse
Ben G
Ben G
Last Activity: Mar 28 '11, 09:27 AM
Joined: Oct 27 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to check if an object already exists in collection?

    Hi All,

    I am learning programming and my problem is that I have a bunch of objects and I want to add these objects to a list only if the list does not already contain that object. Secondly if the object is already contained I want to ignore that object and add the next one instead. I think I have got the first part working just need some help with part two. Many thanks.

    Ben

    Code:
    PartyGroup partyGroup
    ...
    See more | Go to post

  • Ben G
    started a topic WPF TreeView binding to Database data

    WPF TreeView binding to Database data

    Hi All,

    I'm quite new to programming and I am trying to bind some data stored in Sybase DB to a treeView in WPF. My data consists of information about PartyGroups and for each PartyGroup there are Persons associated with that group. So far I have managed to bind the data so that it displays a list of PartyGroups in the treeView but cannot get my head around hierarchical data templates i.e how to link the Persons. Would appreciate any...
    See more | Go to post
    Last edited by Ben G; Dec 15 '10, 11:50 AM. Reason: line 48

  • Ben G
    started a topic Sybase issue

    Sybase issue

    Hi All,

    I am new to .NET programming and I am writing an application that gets some data from Sybase DB then displays it in the UI. So far this is what I have. The problem is that the data does not seem to be stored in the collections and therefore cannot be diplayed in the UI. Would appreciate any help. Thanks!

    Code:
    public partial class MainWindow : Window
    	{
    		public MainWindow()
    		{
    			this.InitializeComponent();
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Nov 9 '10, 02:37 PM.
No activity results to display
Show More
Working...