you can check cbosupplier.SelectedItem value before search on database.
if there is empty or default value, you can avoid before search
var supplier = cbosupplier.SelectedItem.ToString();
if(!string.IsNotNullOrEmpty(supplier)|| supplier != "please Select supplier")
{
}
And you need to use
Parameters[
^]
and Also check for null before call
ToString
if (rdr["SupplierNo"] != DBNull.Value)
{
ltlAdditional.Text = rdr["SupplierNo"].ToString();
}
One more thing:
If you need to
Append Text use
ltlAdditional.Text += rdr["SupplierNo"].ToString();