Transferring data from string into a Data View

后端 未结 1 864
野趣味
野趣味 2021-01-28 17:53

I am trying to transfer data from a string to a Data View control, could someone demonstrate how this could be done:

 private void testing_Click(object sender, E         


        
1条回答
  •  梦谈多话
    2021-01-28 18:29

    for (int i = 0; i < taskNames.Count; i++)
    {
        dataGridView1.Rows.Add(taskNames[i]);    
    }
    

    0 讨论(0)
提交回复
热议问题