it is not updating
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\maddy\\nifty\\niftydb.mdb;";
OleDbConnection conn = new OleDbConnection(connectionString);
conn.Open();
OleDbCommand cmd = new OleDbCommand();
cmd.Connection = conn;
if (e.CommandName == "upd")
{
LinkButton lkbupd = (LinkButton)e.CommandSource as LinkButton;
GridViewRow row = lkbupd.NamingContainer as GridViewRow;
Label lbid = (Label)row.FindControl("lblid");
TextBox txtitle = (TextBox)row.FindControl("txttitle");
TextBox txpublisher = (TextBox)row.FindControl("txtpublisher");
cmd.CommandText =
"update nifty set Title=" + txtitle.Text + ", Publisher=" + txpublisher.Text + " where id=" + lbid.Text + "";
cmd.ExecuteNonQuery();
GridView1.EditIndex = -1;
bindgrid();
}