vb.net - load data from datagridview with ms access -- Always get same information -


i have problem loading data datagridview ms access :

dim dt datatable = new dbconnect().selectdata(string.format("select client.clientid, client.clientname, client.clientaddress, client.clientphone, client.clientcredit client ", datagridview1.selectedrows)) 

this code gets information on first item in access database file .

i need that, when click on row gives me information , not information of item.


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -