Almost all your questions begin with
"I want to ..." followed by something which gammatically shouldn't be here. This makes your questions very very hard to catch. Maybe, for future questions, you should write them in your native language and use an online translator for that? I'm not seeking to sound harsch, really, this is just to allow you to know that the quality of the answer you get is often determined by the quality of the question you ask.
For this one, you just have to create a new row for each value, instead of adding a third and fourth column which you did not even define. There also seem to be a typo with the name of the DataColumn variable.
int count = 8;
string[] values = new string[count];
DataTable dt = new DataTable();
DataColumn dc = new DataColumn("col1", typeof(string));
dt.Columns.Add(dc);
dc = new DataColumn("col2", typeof(string));
dt.Columns.Add(dc);
for (int i = 0; i < count; ++i)
{
DataRow dr = dt.NewRow();
dr[0] = ($"Value{i + 1}:");
dr[1] = values[i];
dt.Rows.Add(dr);
}
Important points here are:
- usage of an array to store values, instead of a single variable for each value. This makes things a lot easier.
- a row is defined with 2 columns; do not try to stick it some more, but rather create a new row for the next value.
- don't forget to add the new row to the collection of rows.