ValidationErrorCollection.Add

public void Add(string message, string fieldName, 
			string id)

Parameters

message
Message of the error

fieldName
optional field name that it applies to (used for Databinding errors on controls)

id
An optional ID you assign the error

Overloads

See also