We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,442 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

give string vairable value in dataset

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

2
Contributors
1
Reply
19 Hours
Discussion Span
10 Months Ago
Last Updated
2
Views
Goomba79
Light Poster
34 posts since Jun 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

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

DSeS

vinayphadke
Newbie Poster
11 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0557 seconds using 2.67MB