HerbAndEdnaWeinstein
Technical User
Hi, I'm writing a friendly program to help our users query a large, complex SQL database, and output their queries as a text file.
I've just started with programmatic DB access, but so far I've figured out how to establish a connection to a SQL server, pipe the contents of an SQL query to a dataset, then populate a datagrid with the result.
This works fine when the contents of the dataset are defined beforehand. What I'm trying to figure out now is how to only populate the datagrid with the things the user asks for through the interface.
It looks like I could write a function to parse XML into the dataset file, but that seems like reinventing the wheel.
I'm probably overlooking something big. Any ideas?
Thanks in advance,
Herb
I've just started with programmatic DB access, but so far I've figured out how to establish a connection to a SQL server, pipe the contents of an SQL query to a dataset, then populate a datagrid with the result.
This works fine when the contents of the dataset are defined beforehand. What I'm trying to figure out now is how to only populate the datagrid with the things the user asks for through the interface.
It looks like I could write a function to parse XML into the dataset file, but that seems like reinventing the wheel.
I'm probably overlooking something big. Any ideas?
Thanks in advance,
Herb