Can you share your code about ServiceData
? If the ServiceData.cs is like following code.
public class ServiceData
{
public string Name { get; set; }
public int RegNo { get; set; }
}
If you want to get the column called Name and set it to the label. Please use following code to get it.
ServiceData serviceData=await GetItem(regno);
myid.Text=serviceData.Name;
If not, please share your code about ServiceData.cs
.