Originariamente inviata da fermat pure te hai ragione. non so perchè ma in VB.NET mi confondo sempre usandolo poco e non piacendomi. Se ti confondi puoi sempre usare un'alternativa: il comando SELECT/CASE: codice: Select Case currentUser Case "Alberto", "Matteo" ' non fare nulla Case Else drpViewTutti.Attributes.CssStyle.Add("display", "none") End Select
Select Case currentUser Case "Alberto", "Matteo" ' non fare nulla Case Else drpViewTutti.Attributes.CssStyle.Add("display", "none") End Select
HTH Command e Parameter in ADODB - OleDB2008: Command e Parameters in ADO.NET VS6 Installer 5.0 10/29/2017: install VS6/VB6 on Win 10/8/7. See YouTube video tutorial
Regole del Forum