i'd lyk to upload files into the database via a dataset to first test some conditions. i've maitained the dataset's state between postbacks to add all the rows b4 updating.

however the datarow line

dim autorow as datarow
autorow= viewstate("dataset").tables("datatable").newrow

' the dataset and the datatable are all declared

pops the following error

"object variable or with block variable not set"

what could be the problem?

solved it by importing the namespace

system.text and system.io
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.