yes I have an istance of Form2 in Form1, but is there a way to do this
without adding code but just selecting dataSet1 from the properties box of
dataGrid1?
"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> ha
scritto nel messaggio news:ew**************@TK2MSFTNGP12.phx.gbl...
You will have to do this in code. Do you have an instance of Form2 in
Form1?
dataGrid1.Datasource = Form2.dataSet1;
Chris
"Enuar Lastamp" <er****@yahoo.com> wrote in message
news:eA**************@TK2MSFTNGP15.phx.gbl... Hello, I'm programming in C#, If I put dataSet1 (declared public) in
Form2 and dataGrid1 in Form1 when I clic on dataGrid1 and I select
DataSource (from properties) I can't see and select dataSet1,
how can I select dataSet1? thanks ernuar