public void Close()
 {
     if (data != null)
     {
         data.Close();
         data = null;
     }
 }