Hi all,

Why am I getting a 'no value given for one or more required parameters' error
when I try to fill the dataset. Below is the code I'm using and I'm getting
the error on the DASOURCE.FILL(DSSOURCE, "FIELDS"); part of the code.
objSourceConn is fine. Can anyone help?
Thank you.

string selectFromSource;
selectFromSource = "SELECT * FROM Fields WHERE ['Label name'] = '" +
drDistinctSource["Label name"].ToString() + "'";
OleDbDataAdapter daSource = new OleDbDataAdapter(selectFromSource,
objSourceConn);
DataSet dsSource = new DataSet();
daSource.Fill(dsSource, "Fields");


--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-ado-net/200510/1

Re: no value given for one or more required parameters - error by Jon

Jon
Wed Oct 26 08:43:08 CDT 2005

dont worry ive sussed it.


--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-ado-net/200510/1