title: How to read .lbl file
body: <p>I want to read my <code>.lbl</code> file and store its data into a database column.
  So, whenever the user wants to modify it, they may create a new <code>.lbl</code> file from the Database.</p>
  
  <p>I have converted my <code>.lbl</code> data into Binary by using the snippet shown below:</p>
  
  <pre><code>byte[] fileBytes = File.ReadAllBytes("D:\\Work\\PNS\\TEST.lbl");
  StringBuilder sb = new StringBuilder();
  
  foreach (byte b in fileBytes)
  {
      sb.Append(Convert.ToString(b, 2).PadLeft(8, '0'));
      string bindata = sb.ToString();  // store this variable value in DataBase Column
  }
  
  File.WriteAllText("D:\\Work\\PNS\\TESTnew.lbl", sb.ToString());
  </code></pre>
  
  <p>But, When I Open a new file I get Error like this</p>
  
  <blockquote>
    <p>Unable to open label, the file or folder is not accessible, does not exist, or is already opened by another user. Try Opening the label with 'read-only' flag set!</p>
  </blockquote>
  
  <p>Kindly Help me to figure out this problem</p>