help me !
No found way for insert in table directy in database sql express and no undertand why !
steps in general:
1. create coneccion ready
2. declarate a sqlcomand (insert into "table" values "values") etc
3. see database and no do nothing !
and code is :
Expand|Select|Wrap|Line Numbers
- Dim command As New SqlCommand("INSERT INTO USUARIO (NombreUsuario, CedulaUsuario, DireccionUsuario, TelefonoUsuario, IdEstadoUsuario, IdTipoUsuario, LoginUsuario, ClaveUsuario) VALUES ('2','2', '2','2', 0, 2, '2', '2')", coneccion)
- command.Connection.Open()
- Dim RowCount As Integer
- RowCount = command.ExecuteNonQuery()
thank you and i sorry for my languaje !