Hi,
I'm reading a text file and splitting it to populate into the gridview. It's a basic file with 'value' = 'property' style delimiting. My question is, for comparison how can i read another file (or many if given filenames) and add the new values into the 1st avail column at row one? I don't want the 'propertly' field, just the value - as the 1st column will already have it. Can someone help please?
Here's what i have so
Thanks
I'm reading a text file and splitting it to populate into the gridview. It's a basic file with 'value' = 'property' style delimiting. My question is, for comparison how can i read another file (or many if given filenames) and add the new values into the 1st avail column at row one? I don't want the 'propertly' field, just the value - as the 1st column will already have it. Can someone help please?
Here's what i have so
VB.NET:
Dim value As String = RichTextBox1.Text
Dim elements() As String = value.Split(New Char() {"/"c}, StringSplitOptions.RemoveEmptyEntries)
For Each element As String In elements
DataGridView1.Rows.Add(element.Split("="))
Next
Thanks