Thank you Dave for cleaning up my XML code, I really screwed up the format.
I definitely do not want to use XML as a database, but I do have an output file that I have to make human (rather: Management ) readable for reports.
Thanks Bernhard, I will have to look into the xsd stuff.
Thanks Richard, your "Descendant" method. It works great, BUT only if I cut the file between part. (The Structur is bigger).
That is not a big issue, but is there something like "get everything from and " ???
(How does "GetFullPath" know where to stop?)
There are some scripting languages available which can be used both on Linux and Windows, e.g. PERL. But do you really want to learn a new programming language just for that task, including all the WTFs of scripting languages?
I'd suggest to use a Windows Service which connects to your database to retrive the information and then sends the emails. Alternatively, a "normal" Windows console application is started as a "scheduled task" and does that job.
WIndows Services is fine but not when the user is away or traveling and don't have access to his PC which means the windows services will not run because his PC is switched off because the server side could be linux not windows!
it just check the mode you passed as a parameter is equal to 'c'. If it is equal to 'c' then create an empty file for output operations ("w"). else open a file for update ("r+") (both for input and output).
In advance, please excuse my lack of knowledge regarding the following topic, I have tried to familiarise myself with the topic using both google and the search function.
A friend of mine asked whether I could get data from a specific website for him, I answered "yes, I can try". I feel like I am pretty close and only need a final push. So let's go:
www.regelleistung.net -> this is the website in question
Menu item : Data for Control Reserve - in the following form he would normally specify what kind of data he is interested in and would then click the submit button .
Someone gave me the TAMPER information for the post request and I came up with the following code:
1. The request requires a jsession cookie which I retrieve + from TAMPER I saw that I require several other items of interest : __fp , _sourcePage and CSRFToken.
Because I do not know how to get those information without making an actual request - I just perform a testrequest and populate an array, which I will use for the actual request
i do not the main objective of using bar code but guessed that people store & hide info through bar code for to some extent security. may be i am not correct.....if anyone knows the exact objective for storing info in bar code then plzz share with me. thanks
All a bar code contains is an Article Number (AN) - which is a unique identifier for a product type. So a 100g chocolate bar will have one AN, and a 100g chocolate bar from a different manufacturer will have a different one. a 200g bar from the same manufacturer will also have a different AN.
What that means is that you can scan teh product barcode, and get a number which lets you go to your database, look up the AN and get told "this is a Cadburys Dairy Milk 100g and we are selling it at £1.50, we have 72 in stock and we reorder if the stick level drops to 71". Without the user or operator having to enter any information (with the good probability that he will make a mistake).
It's not security, it's just a number (which contains a simple checksum code) which identifies something. Everything else is a database / application function.
(There are barcode types which contain more information than this - a lot more in some cases - but that's the general idea)
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
Hi, I am opening the UDL file from Browse button in WPF application. After clicking on OK button of UDL wizard connection information should be displayed in WPF application's Datagrid. Please give me any way to do this.
Message=Object reference not set to an instance of an object.
at final.DailySheet.UpdateLabelText() in h:\final\final\final\DailySheet.cs:line 122
//my code start
Label la= new Label;
int i = 0;
for (counter1 = 0; counter1 < (dgdaily.Rows.Count-1); counter1++)
int sum = 0;
if (dgdaily.Rows[counter1].Cells["destination"].Value != null)
string x = dgdaily.Rows[counter1].Cells["destination"].Value.ToString();
int descount = 1;
for (counter2 = 1; counter2 < (dgdaily.Rows.Count-1); counter2++)
string y = dgdaily.Rows[counter2].Cells["destination"].Value.ToString();