if (dt.Rows.Count > 0) { while (DR1.Read()) { role = DR1["Permission"].ToString(); if (role == "High") { this.Close(); admin.Show(); }
if(table.Select("role == High").count > 0 ) { admin.Show(); }
if (dt.Rows.Count > 0) { while (DR1.Read()) { role = DR1["Permission"].ToString(); if (role.Trim() == "High") { this.Close(); admin.Show(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)