Hello,
is it possible to insert controls on the inserted value in a field?
Specifically: if the field is valued, then it must be 11 characters in length.
Thanks,
Matteo.
Hello,
is it possible to insert controls on the inserted value in a field?
Specifically: if the field is valued, then it must be 11 characters in length.
Thanks,
Matteo.
Hello,
solved, i've put this in Row_Inserting and Row_Updating:
if (rsnew["PIVA"].ToString() == "")
{ }
else if (rsnew["PIVA"].ToString().Length < 11)
{
CancelMessage = "Il campo P.IVA se inserito deve avere almeno 11 caratteri";
return false;
}