var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: return multiple rows
i try get multiple values from stored procedure, but i get a error that are more than one values.
i will fill a combobox.
in the stored procedures i have:
what can i do?
You are trying to store multiple values (actually tuples) into a single variable here.
How do you think that is going to work?
What exactly are you trying to return from your stored procedure?
i try select all names from the table clients.
Originally Posted by shammat
than in c#, i try fill a combobox with that data.
you will need to create a cursor and loop through each of the results from the query and put them in one by one into the combobox with the data.
Why do you think you need a stored procedure for that?
Originally Posted by tchiloh
That sounds like a trivial case of running a SELECT in C# and processing the result set (as it-iss.com has said as well)