here is my code :
int n = dsCfg.tblCfg.Columns.Count;
Object ao = new object[n];
ao = "SETTINGS";
ao = 0;
ao = some value
tblCfg has 6 columns : 0=nchar(10), 1=int, all others are type sqlvariant; 0 and 1 build PRIMARY KEY
so if it can't insert why doesn't it up ?
any help (except try this... (means i don't want to rewrite the project)) appreciated
thanks in advance
got it : TableAdapter's Fill-Methode was missing !
now works fine !
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)