I am working in Visual Studio 2008 andam working ina N Tier application.In the client part of the program i want to have a global dataset that used in all the forms on the application.

I can do this, Public gDataSet as client.[DataSetName]= new Client.[DataSetName] and use this from all the forms.However i am unable to specify that i want to use this variable at design time for my grid.dataSource property. This takes away the benefit of being able to customise the columns etc.at design time through a UIand have Visual Studio take care of the code for me.

Is there anyway to have a global dataset in my application that can be used specified as the datasource at design time?

It would be helpful if in your answer you could let me know how to refernce the global dataset. I have tried doing solving this problem my saying .dataSource = gone through the wizard to create it from an object and it added a .dataSource file to my project, but i'm not sure how to reference this in code to do something like gDataSet.Merge([dataTable])

Thanks for all your help!