title: Using JSON with VB.NET ASP.NET 2.0 - Part 2
body: <p>Ok, so thanks to some kind help from this site last night and yet more Googling this morning, I have managed to create a VB function which gives me this:</p>
  
  <p><a href="http://test.hartnollguitars.co.uk/makeJSON.aspx" rel="nofollow">http://test.hartnollguitars.co.uk/makeJSON.aspx</a></p>
  
  <p>This is a list of 50 items within my product database in a JSON format.</p>
  
  <p>Now I want to use this in an Autocomplete field in a product search in the sales system that I am rebuilding.</p>
  
  <p>What's the best process here? I've a few questions</p>
  
  <ol>
  <li>Should this output actually be saved as a text file, or is it possible to use it directly from this aspx file? (this is preferred as the data can change regularly) </li>
  <li>I am happy to use Javascript in my back-end content management system (which I am working on at the moment) but would like to know how to do this server-side as well.</li>
  </ol>
  
  <p>Given point 2, I'd like to use <a href="http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/autocomplete/autocomplete.aspx" rel="nofollow">http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/autocomplete/autocomplete.aspx</a> rather than <a href="http://jqueryui.com/demos/autocomplete/" rel="nofollow">http://jqueryui.com/demos/autocomplete/</a> although, both do essentially what I am after.</p>
  
  <p>Thinking as I type... I guess using Javascript client-side for this application would be fine, but I still want to know how to decode this stuff server-side so I can use it to navigate the Facebook Graph and output data (specifically event data) to my website for all users. Currently I have a lot of hashed-up code that does this!!!!</p>
  
  <p>EDIT: Forgot to emphasis... I'm using VB <em>not</em> C#! There's load of online tutorial for C#, but really struggling to find helpful examples for VB</p>