Hi everyone.
I want to save my order. But the gridview cell data is empty. The cause is the problem. Could you help.
Continuing from previous issue.
http://www.aspforums.net/Threads/689280/Send-checked-row-To-Another-GridView-using-jQuery-Ajax-in-ASPNet/
C# Code
foreach (GridViewRow rw in gvSiparis.Rows) { string urunad = rw.Cells[1].Text.ToString(); int stok = Convert.ToInt32(rw.Cells[2].Text.ToString()); string fiyat = rw.Cells[3].Text.ToString(); int adet = Convert.ToInt32(rw.Cells[4].Text.ToString()); string epoz = rw.Cells[5].Text.ToString(); string eadet = rw.Cells[6].Text.ToString(); string efiyat = rw.Cells[7].Text.ToString();
AliYilmaz says: obj.projems = $('[id*=txtprojem]').val();
obj.projems = $('[id*=txtprojem]').val();
obj.projems = $(
'[id*=txtprojem]'
).val();
replace above line of code with below
obj.musterim = $('[id*=txtprojem]').val();
you need to mention the same property name while adding the values in "obj" array.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.