cast dataset RRS feed


  • What do you mean? Cast refers to converting to one type to a differt one. If whay you want to do is to COPY one DataSet into antoher, then use the Copy method:

    onedataSet = anotherDataSet.Copy();

    If you only want to COPY the other DataSet's structure, and not its data, use the Clone method:

    onedataSet = anotherDataSet.Clone();

    :. HUGONNE .: Please mark as answer if the post helps. Visit my coding blog -
    Thursday, August 6, 2009 9:58 PM