What do C# Table Adapters actually return?
Posted
by Raven Dreamer
on Stack Overflow
See other posts from Stack Overflow
or by Raven Dreamer
Published on 2010-06-16T15:33:03Z
Indexed on
2010/06/16
15:42 UTC
Read the original article
Hit count: 149
I'm working on an application that manipulates SQL tables in a windows form application. Up until now, I've only been using the pre-generated Fill queries, and self-made update and delete queries (which return nothing).
I am interested in storing the value of a single value from a single column (an 'nchar(15)' name), and though I have easily written the SQL code to return that value to the application, I have no idea what it will be returned as.
SELECT [Contact First Name] FROM ContactSkillSet
WHERE [Contact ID] = @CurrentID
Can the result be stored directly as a string? Do I need to cast it? Invoke a toString method?
© Stack Overflow or respective owner