title: c# add data to firebird database
body: <p>There is code that I use to pass new data to Database (firebird):</p>
  
  <pre><code>FbConnection fbCon = new FbConnection(csb.ToString());
  FbDataAdapter fbDAdapter = new FbDataAdapter("SELECT ID,name,score FROM players",fbCon);
  FbCommandBuilder Cmd = new FbCommandBuilder(fbDAdapter);
  DataSet DSet = new DataSet();
  fbDAdapter.Fill(DSet);
  DataRow rw = DSet.Tables[0].NewRow();
  rw["ID"] = zID + 1;
  rw["name"] = var;
  rw["score"] = score;
  DSet.Tables[0].Rows.Add(rw);
  fbDAdapter.Update(DSet);
  </code></pre>
  
  <p>Maybe you can suggest better algorithm, or this is pretty good?</p>