.net - Fill DataGrid with a custom query -


i'm trying fill datagrid custom query have written binds 2 tables. query stored in dataset (dbpbdataset.xsd) under table adapters (transactiontableadapter) , it's called 'qryactiveplayers,getdataby1'.

what want add datagrid view on form , load result of query on it. i'm using gui tools of visual studio. other queries works fine believe because 1 binds 2 tables, gives me errors such as: constrain option unhandled "failed enable constraints. 1 or more rows contain values violating non-null, unique, or foreign-key constraints."

this query

select c.name, c.customerid, t.transactionid, t.buyin, t.endtime, t.type, c.surname [transaction] t inner join customer c on t.customerid = c.customerid (t.endtime = '1/1/1900') 

any ideas?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -