I get a few underline from this code: Value of type string cannot be converted to 'System.Web.UI.WebControls.Label'
Why is it?
KodeBarang = CType(Repeater1.Items(e.Item.ItemIndex).FindControl("KodeBarang"), Label).Text
NamaBarang = CType(Repeater1.Items(e.Item.ItemIndex).FindControl("NamaBarang"), Label).Text