How are you connecting to the database? you could have used a DSN on the dev machine but not created the DSN on the deployment machine, or you could have created the report with the DB sitting in C:\Documents And Settings\User\Visual Studio Projects\ProjectName\Somedb.mdb
and then when you...
First i would retrieve the stuff you need from the SQL database that you will use to set tag, text, position, etc.
let's say you have created an object with Tag, Position and Text properties and you have retrieved from the DB into an array of these objects.
SomeClass[] sc = GetDBData()...
The easiest way to do what you want is to load the xml file into an XmlDocument and run an XPath query as follows:
XmlDocument xdoc = new XmlDocument();
xdoc.Load("Commands.xml");
XmlElement root = doc.DocumentElement;
XmlElement elem = root.SelectSingleNode("element[id='1']");
string Text =...
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.