Dear Sir,
How to write these codes correctly.
It displays following tooltip
Too many arguments to 'public function iif(expression as bolean, truepart as object, falsepart as object) as object'.
Dim cmd As New SqlClient.SqlCommand("Insert Into master (code) Values (@code)", con)
cmd.Parameters.AddWithValue(IIf(Val(Me.TxtCod) = 0, "Null", "@code", Val(Me.TxtCod)))