Get Column Contents
hey guys, have small problem , goes this
lets consider column in database_tableexample
sample
a
b
c
d
f
if need values (a,b,c,d,e,f) wat should do
i did string val=convert.tostring(cmd.executescaler());
and got first value , tats "a", how increment next element table
any suggestions
executescalar doing it's supposed do. ever return 1 distinct value , want lot more that. since have command object need create reader using executereader command. can enumerate through results , each value need.
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment