I see. I would probable add and remove object before going into serialization or remove the nodes after. If you find your solution I'd be interested in seeing it
Can you post some code or add detail. Are you trying to serialize populated objects or take the result of a SqlDataReader and write it out in xml format?
Here are some nice samples
http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx
http://msdn2.microsoft.com/en-us/vcsharp/aa336748.aspx
//Here is the example class
internal class car
{
private string _make;
private string _model;
private...
You might try and make a test page that just does the log, so you can see the error message. How did you set up the log. Typically I'd create a simple console installation program as the rights of a running asp.net process never seem enough to create initiate the error log.
private const...
I don't really understand your question, but the generic List<> is a great class to use.
http://msdn2.microsoft.com/en-us/library/6sh2ey19.aspx
There is also a dictionary version if you need that
http://msdn2.microsoft.com/en-us/library/xfhwa508.aspx
I think you went from using LINQ to using a lamda expression which is cool.
I believe if yous stuck with the LINQ method and change it to use the First() method you would have one result.
var vData = from min in feederData.Vehicle_sizes
where min.Min_passengers...
You might check the permissions on the folder that the access db is located in and the access db file itself. You should have those users try and open the DB directly, to verify that they have access to it
If you were on vs 2008 you could use extension methods like the following. How nice is this.
http://www.interact-sw.co.uk/iangblog/2005/09/26/extensionmethods
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestExtensionMethods
{
static...
What about DirectCast? EX: z = DirectCast(y, Int32)
http://www.panopticoncentral.net/archive/2003/07/10/149.aspx
I believe this is VB equivalant to (int)someObjectYouKnowIsint
I would just google it. Just remember the reader can bring back multiple sets depending on execution order of your sql. If you run your query in sql server you'll see the result sets and the order of them and the column heading. You'll have to call NextResult or something like that on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.