You can not read the CSV file using the Split() function because the CSV itself comma separated value. If you have a CSV file from which you want to upload the data use below given code. First it reads the data from CSV file into C# Data Table. Form the data table you can load the data into databas
[ read more ]
In dot net we can format the numbers in easy way. We can use the static method (String.Format) or instance method (int.Tostring). Please find the below example to formate the numbers with spaces or zeroes .
Add zeroes before number
To add zeroes before a number, use colon separator ":" and write
[ read more ]
This article demonstrates how to dynamically create TextBoxes, CheckBox control with C# on Windows Form.
the below codes dynamically creates TextBox and CheckBox controls, sets their IDs and positions, and then binds them to the Form panel.
Method 1
private void Method1()
{
for(int i = 0;
[ read more ]
Job Control Language (JCL) is a scripting language used on IBM mainframe operating systems to instruct the system on how to run a batch job or start a subsystem. There are actually two IBM JCLs: one for the operating system lineage that begins with DOS/360 and whose latest member is z/VSE; and the o
[ read more ]
List View Data Control
The List View control combines many aspects of existing data controls. The List View control is useful for displaying data in any repeating structure, similar to the Data List and Repeater controls. Unlike those controls, the List View control supports edit, insert, and del
[ read more ]