Hi
I have a datatable with four column, and need read one of these columns, and put these contents in a string array. I have read this post:
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/00030777-82cc-40d7-811d-d35c5e8826a3
but can not complete the operation.
private void manager_Load(object sender, EventArgs e)
{
this.usersTableAdapter.Fill(this.reportDataSet.Users);
DataRow[] dr = new DataRow[this.reportDataSet.Users.Rows.Count];
this.reportDataSet.Users.Rows.CopyTo(dr, 0);
string[] usr = Array.ConvertAll(dr, new Converter<DataRow,String>((DataRow)ToString()));
}
I using VS 2008 and C#, so can not write correct code(last line) and can notreceive needed string array.
please, help