Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
SIMPLE DATA RETRIEVING FROM SQL DB
Ali G
Jan 3 2013 10:12 AM
1.4k
Reply
DB Type:
SQL Server Compact 3.5
DB Path:
C:\Users\Ali\Documents\Visual Studio 2010\Projects\UCS\unitsdb.sdf
Table:
tblAcceleration
Fields:
fldUnitName (nvarchar), fldCoefficient (float)
What I Need:
Codes (namespaces, connection, sql query...) which give me the fldCoefficient value for a specified fldUnitName (example: WHERE fldUnitName="centigal"). And finally give the result to a label.
Thanks in advance.
My table's preview:
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to print bill (invoice) from C#
Unable to cast object of type 'System.Data.DataRow' to type