Converting DataColumn to Arrays

Discussion in 'ASP .Net' started by Sanjay Tibrewal, Mar 18, 2006.

  1. Folks,

    I am still on 1.1 framework for various reasons.

    I have a DataColumn of doubles that I want to convert to an array of
    doubles. I can do that through a simple function but then I have to write a
    function for each type - one for int, string etc.

    Is there an inbuilt mechanism where I can have the system convert a
    DataColumn to a corresponding array? So if I hvae a DataColumn of integers I
    get back an array of integers without having to write a function for that?

    TIA,
    Sanjay.
     
    Sanjay Tibrewal, Mar 18, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QWxlc3NhbmRybyBSb3NzaQ==?=

    UserControl in Template DataColumn

    =?Utf-8?B?QWxlc3NhbmRybyBSb3NzaQ==?=, Feb 26, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    471
    Martin Dechev
    Feb 26, 2004
  2. Azkaban

    Add DataColumn to DataSet

    Azkaban, Oct 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,693
    =?Utf-8?B?bWpvZmFycmVsbA==?=
    Oct 18, 2004
  3. =?Utf-8?B?UmFlZCBTYXdhbGhh?=

    How to format Date Inside DataColumn

    =?Utf-8?B?UmFlZCBTYXdhbGhh?=, Nov 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,311
    =?Utf-8?B?UHN5Y2hv?=
    Nov 4, 2004
  4. Jay Balapa
    Replies:
    1
    Views:
    7,985
    Bjorn Abelli
    May 4, 2006
  5. Lucky
    Replies:
    3
    Views:
    3,966
    Vadivel Kumar
    Jun 27, 2006
Loading...

Share This Page