Hello,

I have a dataset populated with data from my database as follows

con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = ../SR.mdb"

        sql = "Select Description from " & TheBm & " where OpNo = " & myOp & " "

        DSeS = ESDatCon.SelectData(sql, con)

i have a string vairable called OpDesc i need to give the value of the returned data in my data set.

does anyone know how i do this??

thanks,

iain

OpDesc = DSeS.Tables[0].Rows[0]["Description"].ToString();

DSeS

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.