Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to copy column values to other column on one datagrid

Status
Not open for further replies.

mxo

Programmer
May 20, 2005
51
ZA
Hi All

I am trying to play arround with datagrid and with this one Im not winning basicly i want to try i code that i can set up condition where if it is true the code must copy or replace all the column values to another columns.

any tutorials or references will do good for me.

thanx to all
 

Hi ThatRickGuy I this code with no luck see my code:

Dim dr As Datarow
Dim InvalidTable as DataTable
for each dr in InvalidTable.rows
if dr("msisdn") = dr('epx_msisdn") Then
dr("accountClone") = dr("epx_Account")
end if
Next dr

and im getting runtime error InvalidTable = Nothing
sorry to be bit dum.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top