Anonymous
public text v1 · immutableThe field 'Books.ASIN' cannot contain a Null value because the Required property for this field is set to True. Enter a value in this field.Inserted!
INSERT INTO Books(ASIN, Title) VALUES (?, ?)
AccessDataSource1.InsertCommandType = SqlDataSourceCommandType.Text;
AccessDataSource1.InsertParameters.Add("Books.ASIN", TypeCode.String, book.ASIN);
AccessDataSource1.InsertParameters.Add("Books.Title", TypeCode.String, book.BookTitle);
AccessDataSource1.Insert();