ASP.NET insert i Formview
jeg kan godt edit og delete i mit formview, men når jeg skal til at insert noget skriver den det her:You tried to assign the Null value to a variable that is not a Variant data type.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.Ole Db.OleDbExcepti on: You tried to assign the Null value to a variable that is not a Variant data type.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
det er en access 2000 (mdb) database, er der en knap, så man kan give den lov til at indsæt noget i databasen...
min insert commando, se sådan ud...
InsertCommand=" INSERT INTO produkt(Id, Knallert, Kmt, Pris, Lev, Billede1, Billede2, Billede3) VALUES (Id, Knallert, Kmt, Pris, Lev, Billede1, Billede2, Billede3)"
sig til hvis i skal bruge mere info... er meget ny til asp.NET, men er kendt i Html og php