Unable to cast object of type 'System.Int32' to type 'System.String'.
Code (C#)
Line 40: supplierDropDownList.DataTextField = "CompanyName";
Line 41: supplierDropDownList.DataValueField = "SupplierID";
Line 42: supplierDropDownList.SelectedValue = (string) dt.Rows[0]["SupplierID"];
Line 43: }
Line 44: }