none
Can i use a dataset? RRS feed

  • Question

  • I am currently creating a windows form application for my employer that is connecting to a sql server database. I am having issues with binding fields from a query to form text boxes. Currently i query the database with sqlcommand and read with sqldatareader. I then check for isdbnull and set each textbox with the appropriate values. This has become very UGLY. I know there is a better way for me to do this but I am a newb... somewhat. It wouldn't be so bad but i have maybe 60 fields that i have to do this with and many forms having different queries.  Any information would be great. Thanks.
    Friday, June 10, 2011 6:16 PM

Answers

All replies