Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here's situation:

MIDL
string str;
int k,j,i;
...
dataSet.Tables[str].Rows[k].ItemArray[j] = i;

however i won't go into the Items array at position j



Does anyone know why I'm incapable of doing this..? :doh:


-I'm not familiar with the DataGridView :(
Posted

1 solution

Hi,


you can access the value at position j using following code:
dataSet.Tables["tablename"].Rows[k][j] = i;
:)


Thanks,
Imdadhusen
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900