Salve a tutti ho un problema con la visualizzazione di una tabella access in visual basic...mi spiego...sto creando un programma per la contabilità in visual basic e sono arrivato ad un punto in cui cliccando su un tasto mi visualizza una tabella del database access tramite il comando DataGridView...mi visualizza la tabella ma quando la vado a modificare ho due il problemi il primo è che nel campo ID che è un contatore invece di continuare la numerazione mi mette il -1 e va a decremento mentre l'altro è che mi fa modificare al massimo 2 campi e poi se ne voglio modificare un altro mi esce il seguente errore :
"Si è verificata la seguente eccezione in DataGridView:
System.FormatException: Formatodella stringa di input non corretto.
---> System.FormatException: Formato della stringa di input non corretto.
in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
in System.Int32.Parse(String s, NumberStyles style, IFormatProvider provider)
--- Fine della traccia dello stack dell'eccezione interna ---
in System.Windows.Forms.Formatter.InvokeStringParseMe thod(Object value, Type targetType, IFormatProvider formatInfo)
in System.Windows.Forms.Formatter.ParseObjectInternal (Object value Type targetType, Type sourceType, TypeConverter targetType, TypeConverter sourceConverter, IFormatProvider formatInfo, Object formattedNullValue)
in System.Windows.Forms.Formatter.ParseObject(Object value, Type targetType, Type sourceType, TypeConverter targetConverter, TypeConverter sourceConverter, IFormatProvider formatInfo, Object formattedNullValue, Object dataSourceNullValue)
in System.Windows.Forms.DataGridViewCell.ParseFormatt edValueInternal(Type valueType, Object formattedValue, DataGridViewCellStyle cellStyle, typeConverter formattedValueTypeConverter, TypeConverter valueTypeConverter)
in System.Windows.Forms.DataGridViewCell.ParseFormatt edValue(Object formattedValue, DataGridViewCellStyle cellStyle, TypeConverter formattedValueTypeConverter, TypeConverter valueTypeConverter)
in System.Windows.Forms.DataGridView.PushFormattedVal ue(DataGridViewCell& dataGridViewCurrentCell, Object formattedvalue, Exception& exception)
Per sostituire questa finestra di dialogo predefinita, gestire l'evento DataError."
Qualcuno di voi sa dimri che significa e come risolverlo ?? Aiutatemi Please...Grazie Mille