M
Michael
Hello everybody,
I have a console app which runs some queries on a database and writes
the results into an excel file.
I'd like to build a GUI which would allow to give some parameters to
the console app, for example to forbid the execution of a query.
All queries are grouped into several modules.
I have thought to create a bunch of classes I would serialize, pass
the serialized string to the console app, which would then deserialize
it and set the options to execute a module or not, or a query, or
whatever...
The fact is that I have found documentation about only the
binaryformatter, but I got some errors passing it to the console.
Is there any way to serialize my classes into a text stream, so that
would work?
Or are there any other solutions to my problem?
Thanks in advance
Mike
I have a console app which runs some queries on a database and writes
the results into an excel file.
I'd like to build a GUI which would allow to give some parameters to
the console app, for example to forbid the execution of a query.
All queries are grouped into several modules.
I have thought to create a bunch of classes I would serialize, pass
the serialized string to the console app, which would then deserialize
it and set the options to execute a module or not, or a query, or
whatever...
The fact is that I have found documentation about only the
binaryformatter, but I got some errors passing it to the console.
Is there any way to serialize my classes into a text stream, so that
would work?
Or are there any other solutions to my problem?
Thanks in advance
Mike