Heartily agree!
At least so Blog/web content along those lines. :)
Jim
> -Original Message-
> From: Peter Foreman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 3:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Converting a datatable to a string
>
&g
--- "Marsh, Drew" <[EMAIL PROTECTED]> wrote:
> This avoids the overhead of IEnumerable and IEnumerator and allows the MSJIT
> will optimize away bounds checking on the array.
Wow Drew!
I think it is time you wrote a Scott Meyers-esque Effective .Net book. Ever
considered it? I
would urge you
Greg Gates [mailto:[EMAIL PROTECTED]] wrote:
> I wrote the following routine to convert a datatable to a
> string. However, I am wondering if this is the most efficient
> way of doing it in .NET.
>
> private static string DataTableToString(DataTable table,
> string delimiter) {
> if (table.Rows
Ok, in that case, you may be able to use XSL transforms to take the XML
and format it. Although to be honest, I know very little about that, so
maybe someone else here knows if that is possible and if so how it should
be done.
On Tue, 4 Jun 2002 09:38:58 -0700, Greg Gates <[EMAIL PROTECTED]>
wrot
Hi Marina:
The string representation of the data is imported into a third party
payroll application. The payroll app only understands delimited strings,
not XML.
thanks, Greg
On Tue, 4 Jun 2002 09:24:34 -0700, Marina Zlatkina <[EMAIL PROTECTED]>
wrote:
>I don't know the purpose for which you
I don't know the purpose for which you are doing this, but have you
considered using the table's XML representation? You could use the DataSet
GetXml method, load that into an XmlDocument, then find the node
corresponding to your table, and use that. It would be much easier to
query the data using
Hello everyone:
I wrote the following routine to convert a datatable to a string.
However, I am wondering if this is the most efficient way of doing it
in .NET.
private static string DataTableToString(DataTable table, string delimiter)
{
if (table.Rows.Count == 0) {return String.Empty;}
Stri