Hello.
I'm kind of lost here as to how to accomplish this, so I need some advice.
I want to build a query to the database dynamically. Specifically, allow, a user to select fields and their values to query the database and eventually return the result to the user as a CSV file. Sounds simple enough.
My first attempt was to create some controls and then use javascript to duplicate the controls. All was good except the page never returned the duplicated controls to the webserver. I guess this is built into .NET for reasons unbeknownst to me.
I'm thinking that instead of having a one page deal, I need a two page wizard - the first page to select the number of fields to query and the second to display the controls to perform the query. Although this sounds to me like I'm over-complicating the obvious.
I'm using VB.NET 2.0.
Thanks in advance.
"If it's stupid but works, it isn't stupid."
-Murphy's Military Laws
I'm kind of lost here as to how to accomplish this, so I need some advice.
I want to build a query to the database dynamically. Specifically, allow, a user to select fields and their values to query the database and eventually return the result to the user as a CSV file. Sounds simple enough.
My first attempt was to create some controls and then use javascript to duplicate the controls. All was good except the page never returned the duplicated controls to the webserver. I guess this is built into .NET for reasons unbeknownst to me.
I'm thinking that instead of having a one page deal, I need a two page wizard - the first page to select the number of fields to query and the second to display the controls to perform the query. Although this sounds to me like I'm over-complicating the obvious.
I'm using VB.NET 2.0.
Thanks in advance.
"If it's stupid but works, it isn't stupid."
-Murphy's Military Laws