On Thu, Jan 20, 2011 at 5:43 PM, Tristan Reeves <[email protected]> wrote:
> Since the very first sentence of that wikipedia entry, "A comma-separated
> values or character-separated values (CSV) file is a simple text format for
> a database table", is at best poorly worded (database table?!), I wouldn't
> necessarily give too much weight to the rest it.

I was more referring to things like ensuring fields with commas are
qualified with quotes, etc.  I've seen simple rules like this missed
all the time.

>
> On Thu, Jan 20, 2011 at 5:10 PM, Hoss Ravanparsa <[email protected]>
> wrote:
>>
>> On Thu, Jan 20, 2011 at 11:09 AM, Noon Silk <[email protected]> wrote:
>> > On Thu, Jan 20, 2011 at 9:46 AM, Arjang Assadi <[email protected]>
>> > wrote:
>> >> Using C#,Asp.net What is the (non-string mocking around) way of
>> >> turning ObjectDataSources Select Parameters to Url query string?
>> >
>> > Well, you'd just do it, right? There's no inbuilt method for that,
>> > AFAIK.
>> >
>> >
>> >> I need it in order to turn keep the Query that generated the view and
>> >> use it to turn it into a downloadable file,
>> >>
>> >> On the same note is there a framework supported way of turning
>> >> DataTables, List of Objects into CSV / XML etc.? This seems a way to
>> >> common scenario, having a way to do it using .net framework rather
>> >> than reinventing the wheel seems more appropriate.
>> >
>> > Again not that I know of. And again this should be a reasonably
>> > trivial process. Depending on what objects you are returning, you can
>> > just have them implement appropriately serialisation methods
>> > individually, then in the CSV case loop over them, and in the XML
>> > cause use the inbuilt XML serialisation.
>> >
>>
>> Please just make sure your CSV is actually valid CSV
>> (http://en.wikipedia.org/wiki/Comma-separated_values).
>>
>> >
>> >> Thank you
>> >
>> > --
>> > Noon Silk
>> >
>> > http://dnoondt.wordpress.com/  (Noon Silk) |
>> > http://www.mirios.com.au:8081 >
>> >
>> > "Every morning when I wake up, I experience an exquisite joy — the joy
>> > of being this signature."
>> >
>
>

Reply via email to