TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ali G
NA
51
38.5k
SIMPLE DATA RETRIEVING FROM SQL DB
Jan 3 2013 10:12 AM
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:
Reply
Answers (
1
)
Need code for export to excel -- Confused!!!
Unable to cast object of type 'System.Data.DataRow' to type