Moti Mashiah
asked on
Asp.net mvc foreach
Hi Guys,
I'm query list of item to my view ..for example:
After I query the list I would like to make change in the itemlookupcode column - let's say to 45 like you see in the screenshot and then to save.
The issue:
when I change the column in the first row it works and send me the correct value I type in the textbox, but when I try to do it for the second row or third etc...it will not pass the change he past just the text that was there before.
How can I fix it and send the veritable of the exact row I need for now all the request buttons in each row points to the first row.
Thanks,
I'm query list of item to my view ..for example:
After I query the list I would like to make change in the itemlookupcode column - let's say to 45 like you see in the screenshot and then to save.
The issue:
when I change the column in the first row it works and send me the correct value I type in the textbox, but when I try to do it for the second row or third etc...it will not pass the change he past just the text that was there before.
How can I fix it and send the veritable of the exact row I need for now all the request buttons in each row points to the first row.
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad it worked. If you need to hone in the solution, just post another question with what you are using.
ASKER
I just need to pass the rest of the fields to ajax.
Thanks,