❔ sql statment Count *
Why is this not displaying on my textbox
txtEnsaio
the max number of Ensaios
that are in the table tbl_ensaios
with the id that's on the txtIdFerramenta
?
i want to get the id from the txtIdFerramenta and get the max number of rows with that same id on the tbl_ensaios.
This is just giving me 0.
I run this sql statment on a query on the database and gets me the result2 Replies
bro
do the following
take that txtIdFerramenta.Text into a variable, and then pass it as argument to the method that do the query
like
int idFerramenta = txtIdFerramenta.Text
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.