New to C# - DB question
- From: hedbonker@xxxxxxxxx
- Date: 17 Aug 2006 15:09:21 -0700
I am used to using old school ADO where I might create things like:
objConn.Open( sConnectString);
objRecordSet.Open ("Select * from users where UID=' + sUserID + "'",
objConn);
Then I have a recordset collection that I can filter on or step through
etc. based on a specific SQL query.
Is there a similar methodology employed in .NET? I see items like
DataSource
TableAdapter
DataSet
But I do not see a specific method for executing SQL against a specific
table or set of tables. I have my data source defined to my project
and I can drag and drop grid or field views to my form but I do not
want that type of functionality. I want user inputs that I then do a
lookup in my database with.
Can someone point me in the right direction?
Thanks in advance!
.
- Follow-Ups:
- Re: New to C# - DB question
- From: Steven Nagy
- Re: New to C# - DB question
- From: Steven Nagy
- Re: New to C# - DB question
- Prev by Date: Re: Regular Expression Problem
- Next by Date: Re: How Do I Propagate Exception Back to Host Thread?
- Previous by thread: Re: SerialPort
- Next by thread: Re: New to C# - DB question
- Index(es):
Relevant Pages
|