vb.net - Display a DAO table in a form -
i'm upgrading old vb6 application vb.net uses dao connect access database. know hopelessly outdated technology, considering amount of work changing ado, i've decided stay dao, despite frustration trying find documentation.
my problem i'd have datagridview reflect table database. of course make own routine manually setting columns , fill datagridview, if way, i'd use datasource property or other built-in function. found forum post looked promising, unfortunately couldn't find attachment referred to.
also, if there other controls better suited datagridview, please let me know.
thanks
one option use method found in code complete. put nice, clean layer between vb.net user interface , legacy data access code (your dao code). layer take data fetched via dao , transfer datatable object. then, send datatable ui , use .datasource property of datagridview.
honestly, however, since involves writing code each dao function returns data display, refactor data access routines ado.net. since dao so, so, old, in opinion irresponsible creating "new" application , using such outdated technology, though technically can "work".
Comments
Post a Comment