Running a query

  • Thread starter Thread starter Nicolae Fieraru
  • Start date Start date
N

Nicolae Fieraru

Hi All,

I am working on an application where I have an input textBox and an output
textBox.
I use a database where I have a table, tblProducts, with fields ProductName
and ProductDescription.
In the InputTextBox I type in a ProductName and I want to create a function
to query the table and to retrieve the ProductDescription (there is a unique
record) and to write it in the second textBox.

Some sample code or a link to a tutorial would be appreciated.

Regards,
Nicolae
 
Nicolae Fieraru said:
Hi All,

I am working on an application where I have an input textBox and an output
textBox.
I use a database where I have a table, tblProducts, with fields
ProductName and ProductDescription.
In the InputTextBox I type in a ProductName and I want to create a
function to query the table and to retrieve the ProductDescription (there
is a unique record) and to write it in the second textBox.

Some sample code or a link to a tutorial would be appreciated.

Regards,
Nicolae
Here's an excellent source of beginning information on ADO.NET:

http://samples.gotdotnet.com/quicks...kstart/howto/doc/adoplus/adoplusoverview.aspx
 
Back
Top