Dont laugh;
How do I create a simple sqlcommand in C# that shows data. I have the code for VB but I a missing something in the converstion. I know SQL but I dont get the simple steps of displaying data. I have got all of the Visual Basic stuff down I just need help with doing it by hand in C#.
or point my to a URL so that I can get the code.
Thanks
VB.Net and C# connect to databases the same way so if you can hook VB.Net up to a database then you should be able to with C#. It must be a syntax error. Here's a link to some code for setting up a simple connection with C# below.
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=1
No comments:
Post a Comment