Posts

Showing posts from April, 2015

Windows Forms :Designing the Layout using a TableLayoutPanel, with auto-expand panels

Image
Windows Forms :Designing the Layout using a TableLayoutPanel, with auto-expand panels Background TableLayoutPanel  is a control that  "Represents a panel that dynamically lays out its contents in a grid composed of rows and columns"  (From MSDN:  TableLayoutPanel Class ). Basic Requirement In this sample, we are required to build a simple manual entry form like the below, with some conditions: Whatever the size of the form (down to a certain extent), even when the form is maximized, the following should always remain true: The size of the text boxes must remain equal for all text boxes, and they must fill the largest space available The labels must all be left aligned The Grid View must fill all of the remaining space A small refresh button must exist below the Grid, it must always be aligned to the right of the form. Implementation First let us create a new Windows Forms Applications Project. Expand the main form, and add a new TableLayoutPanel  c

video Training on Windows Application in C#

Learn Windows Application in C# https://www.youtube.com/playlist?list=PLS1QulWo1RIZrmdggzEKbhnfvCMHtT-sA

Windows Application C#

Update Data in Data Grid https://khanrahim.wordpress.com/2010/04/10/insert-update-delete-with-datagridview-control-in-c-windows-application/ Limit entry of only digits in a DataGridView column http://www.codeproject.com/Questions/260115/Limit-entry-of-only-digits-in-a-DataGridView-colum

Export data from SQL Server to CSV file in ASP.Net using C# and VB.Net

Export data from SQL Server to CSV file in ASP.Net using C# and VB.Net http://www.aspsnippets.com/Articles/Export-data-from-SQL-Server-to-CSV-file-in-ASPNet-using-C-and-VBNet.aspx Import (Upload) CSV file data to SQL Server database in ASP.Net using C# and VB.Net http://www.aspsnippets.com/Articles/Import-Upload-CSV-file-data-to-SQL-Server-database-in-ASPNet-using-C-and-VBNet.aspx

Responsive Table

http://codepen.io/geoffyuen/pen/FCBEg