Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Create Toolbar
 

Create Toolbar

I want to declare global DataSet and SqlDataAdapter in module to construct on form or report. Can I do?
Iqbal Mehram  Thursday, September 17, 2009 6:55 AM
There is nothing like global in C#. You need to put these as member of a class and then create a object of this class in your main form and then pass the reference of the class object different forms.
Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
  • Marked As Answer byIqbal Mehram Thursday, September 17, 2009 7:25 AM
  •  
_SuDhiR_  Thursday, September 17, 2009 7:10 AM
There is nothing like global in C#. You need to put these as member of a class and then create a object of this class in your main form and then pass the reference of the class object different forms.
Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
  • Marked As Answer byIqbal Mehram Thursday, September 17, 2009 7:25 AM
  •  
_SuDhiR_  Thursday, September 17, 2009 7:10 AM

You can use google to search for other answers

Custom Search

More Threads

• Desginer TypeLoad Failure
• No Windows Forms Designer Editor & Designer.Hosting.ToolboxService in Visual Basic 2005 Express ??
• Capturing Mouse Clicks outside UserControl
• OCX interop, is it possible????
• Adding CheckedChanged event handler destroys my form, removing it instantly recovers my form
• My 1st Control
• Visual Studio abnormal shutdown when drop control on form
• How to use different font or make some piece of text bold of a Tooltip
• Print setup dialog box
• 100% CPU Usage in Design Time.