SQL Parameters only with oleDbDataAdapter, oleDbConnection and DataSet

  • Thread starter Thread starter Robert Muchacki
  • Start date Start date
R

Robert Muchacki

Hello.

I have a Stored Procedure, in which I use parameters, lets say "@test". How
can I in ,NET Visual C#, using only oleDbDataAdapter, oleDbConnection and a
DataSet display rows in a simple datagrid, e.g. putting "acme" under @test?
Is there any possiblity? If not, then how can I manage that in another way,
e.g. after pressing a button? What kind of objects should I use and how?
Alle the descriptions I've found, don't seem to work (or maybe I don't
understand something). Any help / ideas?

Greetings,

MuchaR
 
From you posting it is not clear what you are tryig to do.
Is "@test" input or output paramater? And what do you meam by putting "acme"
under "@test"?
How do you populate your data grid? Binding?
 
Hello.
How do you populate your data grid? Binding?

I do it this way:

sqlDataAdapter1.Fill(dataset1)

I underdstand that there may be many ways to accomplish this.

Greetings,

MuchaR
 
Back
Top