.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

How can i do auto update a gridview in C# windows applications.

Posted By: Akidul     Posted Date: November 04, 2013    Points:5   Category :C#
without using a button command.

Responses
Author: Akidul             
Posted Date: November 04, 2013     Points: 20   

http://www.amazedsaint.com/2013/03/autocommand-for-mvvm-more-tricks-with.html

Author: Clintonzz             
Posted Date: December 03, 2013     Points: 20   

I offer you those gridview control code in C#. I don't know whether it helps or not, but I hope you can get insights from it.


private KetticContextMenu contextMenu;
private void Form1_Load(object sender, EventArgs e)
{
contextMenu = new KetticContextMenu();
KetticMenuItem menuItem1 = new KetticMenuItem("Item 1");
menuItem1.ForeColor = Color.Blue;
menuItem1.Click += new EventHandler(menuItem1_Click);
KetticMenuItem menuItem2 = new KetticMenuItem("Item 2");
menuItem2.Click += new EventHandler(menuItem2_Click);
contextMenu.Items.Add(menuItem1);
contextMenu.Items.Add(menuItem2);
}


http://www.kettic.com/winforms_ui/gridview.shtml



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend