Well, the error message is clear. Looking at the documentation
Single.Parse Method (System) | Microsoft Docs[
^] could help: it suggests that, at the time the
Quote:
float rate = float.Parse(lblRating.Text);
statement is executed, the
lblRating.Text
variable does NOT contain a valid representation of a floating point number.