afranka
03-21-2003, 12:13 PM
Hi,
I am learning .net (C#) and am trying to create a way of allowing users to download a csv file based upon a dataset retrived from an SQL database using the user's search criteria.
I'll try to explain that a bit better!!!
A user goes to a telephone search page and selects users from a particular office. This list is retrieved from the SQL database and presented on screen.
I would like the user to be able to click on a download link and be able to save that particular data as a csv file to disk.
I know that .NET is server side, and I admittedly got myself comletely confused by learning to read and write text files (CSV etc.) using C# and thinking that I could use this principle to achieve the above. I am a bit confused about where the line is drawn between what you can and can't do between C# (.NET) and using C# on it's own.
Please can anyone point me in the right direction or explain what the deal is?
I'd be very grateful!
Thanks,
al.
I am learning .net (C#) and am trying to create a way of allowing users to download a csv file based upon a dataset retrived from an SQL database using the user's search criteria.
I'll try to explain that a bit better!!!
A user goes to a telephone search page and selects users from a particular office. This list is retrieved from the SQL database and presented on screen.
I would like the user to be able to click on a download link and be able to save that particular data as a csv file to disk.
I know that .NET is server side, and I admittedly got myself comletely confused by learning to read and write text files (CSV etc.) using C# and thinking that I could use this principle to achieve the above. I am a bit confused about where the line is drawn between what you can and can't do between C# (.NET) and using C# on it's own.
Please can anyone point me in the right direction or explain what the deal is?
I'd be very grateful!
Thanks,
al.