wessamzeidan
Junior Contributor
Hi, I have a small problem. I'm writing an application to access a database. I have multiple forms in the application. One form has a datagrid that displays data from a dataset. I want to be able to access the datagrid from another form to read a row selected by the user. I did this by changing the constructor of the second form to accept a datagrid, and used this constructor in the first form to pass an instance of the datagrid......I don't know if this is the right thing to do. If there is a better way to this, for example by setting the datagrid to be public, please tell me
Thanx in advance
WMZ
Thanx in advance
WMZ