Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. celfyn

    MVC TreeView and view model

    Yeah, the tree displays correctly, but the nodeList in the HttpPost is null. Any idea how I can overcome this? Thanks for your time!
  2. celfyn

    MVC TreeView and view model

    Thanks for your reply. I have changed the code as you kindly provided, but unfortunately the viewModel from the HttpPost still doesn't contain the List of TreeViewItems. Have you got any other suggestion, or do you want me to provide more code? Thanks.
  3. celfyn

    MVC TreeView and view model

    Sorry, forgot to translate a few things... Tree Controller [HttpGet] public ActionResult Index() { var viewModel = new TreeViewModel { nodeList = TreeHelper.CreateTree() }; return View(viewModel); }...
  4. celfyn

    MVC TreeView and view model

    Hello, I am trying to create a TreeView with checkbox support within ASP.NET MVC2. I have successfully created the Tree, and as can be seen from below (code simplified for posting here), each item has a checkbox. TreeController [HttpGet] public ActionResult Index() {...
  5. celfyn

    Perl and SQL -

    Sorry, found what I was doing wrong... Because I was preparing the sql outside the loop, the length of the column was determined by the lenght of the first row. I have now moved the prepare statement just above the line $query->execute($user_login, $user_first_name, $user_last_name); and it...
  6. celfyn

    Perl and SQL -

    Hello, I am having a few problems while inserting into a MS-SQL database through Perl. The script works, and inserts the data into the database, but doesn't insert all the data. Say I have the following information to pass into the database: user_name name Surname 12345 Max Mad...
  7. celfyn

    Perl and XML

    Sorry, I have figured it out. Here is how I prcess the xml file now... foreach my $user ($open_file->find('//user')->get_nodelist) { my $user_login; my $fragment_login; my $user_last_name; my $user_first_name; my $course_completed; $user_login = $user->find('@user_login')...
  8. celfyn

    Perl and XML

    Hello, I am working on a perl script which will (in the end) take an xml file, get the necessary data and then insert it into an SQL database. I am new to Perl and xml, so am having a bit of trouble :( Here is an extracte of the xml file - the is auto generated. <?xml version='1.0'?>...

Part and Inventory Search

Back
Top