How can I copy the text of a cell of a selected column of a row of DataGridView into a listbox? My Question is how can ,If we use a timer control and alternately select each row first and then copy the cell text of the selected column to the list box? Means we want to Copy the text from the cells of the selected column of the row of the datagridview one by one through Timer to the listbox or textbox. I use the following code for getting one Current Row cell data from DataGridView. Please help
myRegExp.Pattern = "(http|https|ftp|html)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*/*.html+" myMatches = myRegExp.Execute((DataGridView1.CurrentRow.Cells(1).Value.ToString)) For Each myMatch In myMatches ListBox1.Items.Add(myMatch.Value) Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)