private void BindMembersDetails() { DataTable dt = new DataTable(); try { dt = local_wallet.getMemberDetails(); if (dt.Rows.Count > 0) { gvRegistration.DataSource = dt; gvRegistration.DataBind(); } else { lblMessage.Text = "<br/><br/><br/>There is no any records."; lblMessage.Font.Size = 20; } } catch { } }