I've started writing a class to build some SQL to run but I'm having a
When I try and call the method that returns the SQL string, I get the
following error: "Object reference not set to an instance of an object."
AdvSearchBuilder myQuery = new AdvSearchBuilder();
myQuery.SelectColumns = "VenueName,Town";
myQuery.VenueName = VenueName.Text;
strSQL = myQuery.GetSQL(); // error is indicated on this line.
What does this mean? Which object is it referring to?
(please reply to group)