holaaaa amigos estoy haciendo este codigo elemental para añadir un registro a 
una bd en acces desde  una aplicacion windows .net y trabaja. aparentemente 
pues al final no me inserta ningun registro en la bd. ¿que puede estar 
fallando?. no me doy cuenta y por el ejemplo veran que he probado hasta lo mas 
elemental pa ver si inserta el registro. gracias

OleDbConnection oledb = new 
OleDbConnection(Properties.Settings.Default.Conexion.ToString());
            oledb.Open();
            DataTable tabla = new DataTable();
            OleDbDataAdapter adapter = new OleDbDataAdapter("select id,nombre 
from nombres", oledb);
            adapter.Fill(tabla);
            DataRow row ;
            row=tabla.NewRow();
            row[0] = "22";
            tabla.AcceptChanges();





PEPE

Pepe Ballaga
Empresa Generacion Distribuida Ciudad Habana
Telf: 8613543 ext 812
861 2679
862 8675
862 3686
pepe.ball...@gmail.com
pepe_ball...@yahoo.com

<<image002.jpg>>

Responder a