Originariamente inviato da valeria75

mycommand... Paramenters.Add.... ("@codice",codice.text)
mycommand... Paramenters.Add.... ("@descrizione",des.text)

Grazie
Puoi mettere quelle due righe in degli if così
if (codice.text != "")
{
mycommand.....
}
if (des.text != "")
{
mycommand...
}