Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > The functions of toolstrip
 

The functions of toolstrip

Hi all,

I am using the toolstrips control but I do not know what the functions of the control. I did not know the how to link the toolstrip to detect the data from the database?
Hope that anyone can help.

Thanks.

LiL_Is  Tuesday, July 21, 2009 8:10 AM
What are you trying to do exactly?

You cannot bind a toolstrip to a database (at least that I know of).

Here is some documentation on using the ToolStrip control:

http://msdn.microsoft.com/en-us/library/e58c44b8.aspx

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Tuesday, July 21, 2009 3:02 PM
What are you trying to do exactly?

You cannot bind a toolstrip to a database (at least that I know of).

Here is some documentation on using the ToolStrip control:

http://msdn.microsoft.com/en-us/library/e58c44b8.aspx

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Tuesday, July 21, 2009 3:02 PM
Hi DeborahK,

Anyway thanks for the solution that you have gave me.

LiL_Is  Wednesday, July 22, 2009 1:27 AM
Hi LiL_Is,

Based on my understanding, you want to change some Items' text or dynamically add new item(delete old item) according to the database change. Am I guess right?

I think you can use a Timer.
http://msdn.microsoft.com/en-us/library/system.windows.forms.timer.aspx
Handle the Tick event of the timer to do database check, for example, check database every 5 second. When the data is change, you can update the toolstrips.

Hope this helps you too.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Wednesday, July 22, 2009 8:19 AM

You can use google to search for other answers

Custom Search

More Threads

• Gridview - sorting
• Bindingsource.Datasource Error in design
• DataGrid / DataGridView
• xsd visualizer
• Typed Dataset and Change Event
• .Net Framework 2.0 sp1 Issue - Adding row into Dataview with a sort causes BindingManager position to move twice.
• binding dataview to datagrid in .net 2003
• Dynamic Property Grid Enum
• Update problem with many-to-many relationship
• DataGridViewButtonColumn - adjust button properties.