if (username.Length > 0) { StringBuilder details = objectfororderdetails.GetUsernamelocked(UserName, lockedout); lbllockuser.Text = "Username and his/her Restaurants Successfully locked"; if (Convert.ToInt16(details) == 0) { txtlockuser.Text = null; lbllockuser.Text = "Username and his/her Restaurants already locked"; } }
details.ToString()
details
if (Convert.ToInt16(details.ToString()) == 0)
Convert.ToInt16(details.ToString())
StringBuilder details = new StringBuilder(); details.Append("0"); string detailsStr = details.ToString(); if (detailsStr == "0") { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)