Hi All,
I've done a lot with databases in the past, but that was with VBA and MS Access, but never Oracle & .Net.
I've created a datasource (called DataSet1) which contains a QuieriesTableAdapter which contains an SQL Query(called Schedule()) which If I open in Query Builder I can execute it fine and it returns the expected data.
I've put a DataGridView on a form and set it's datasource to DataSet1BindingSource (This name gets created when I select DataSet1).
Niavely I thought that would be it, but no surprise I got nothing.
There's loads of questions, but I don't know which need asking but anyway:
Do I need to specify the name of the query somewhere?
Do I need to add the same number of datagrid columns as the query will return - If yes, then there seems no way to match the 2 up as If add a column, the databound column is greyed out leaving just the unbound column option.
This next bit maybe important - In Query builder when I open my query (SELECT visitstart, title, fullname FROM MAN.vw_rapid_visitinfo WHERE (beamline = 'B23')) there are no table or views I can add. The vw_rapid_visitinfo view I'm using I was told existed, but I cannot see it in any list.
Any advice gratefully received.
Merry Christmas
Kristian
I've done a lot with databases in the past, but that was with VBA and MS Access, but never Oracle & .Net.
I've created a datasource (called DataSet1) which contains a QuieriesTableAdapter which contains an SQL Query(called Schedule()) which If I open in Query Builder I can execute it fine and it returns the expected data.
I've put a DataGridView on a form and set it's datasource to DataSet1BindingSource (This name gets created when I select DataSet1).
Niavely I thought that would be it, but no surprise I got nothing.
There's loads of questions, but I don't know which need asking but anyway:
Do I need to specify the name of the query somewhere?
Do I need to add the same number of datagrid columns as the query will return - If yes, then there seems no way to match the 2 up as If add a column, the databound column is greyed out leaving just the unbound column option.
This next bit maybe important - In Query builder when I open my query (SELECT visitstart, title, fullname FROM MAN.vw_rapid_visitinfo WHERE (beamline = 'B23')) there are no table or views I can add. The vw_rapid_visitinfo view I'm using I was told existed, but I cannot see it in any list.
Any advice gratefully received.
Merry Christmas
Kristian