I am new to Visual Studio.
I have a VS project connected to a Microsoft Access 2007 database (flex.accdb). I am using VS 2005. Old but good!
I have created a windows form (form1) that includes a control that contains the network user name (from environment.username). Form1 also contains a button. On clicking the button a second form opens (form2) that contains a datagridview which is bound to a view from the data source. One of the columns in this view is the user name.
What I want to do is filter the datagridview to show only the records containing the user name displayed on form1.
In QAccess this would have been a doddle. But I cannot get it to work in Vusial Studio 2005. All your ideas and help gratefully received.
I have a VS project connected to a Microsoft Access 2007 database (flex.accdb). I am using VS 2005. Old but good!
I have created a windows form (form1) that includes a control that contains the network user name (from environment.username). Form1 also contains a button. On clicking the button a second form opens (form2) that contains a datagridview which is bound to a view from the data source. One of the columns in this view is the user name.
What I want to do is filter the datagridview to show only the records containing the user name displayed on form1.
In QAccess this would have been a doddle. But I cannot get it to work in Vusial Studio 2005. All your ideas and help gratefully received.