Click here to Skip to main content
15,916,371 members

Comments by Kasar_7 (Top 8 by date)

Kasar_7 6-Sep-16 4:29am View    
Deleted
Thanks for clearing it out but even after i changed the ds.tables to [0] i still get cannot find column 1 error
Kasar_7 5-Sep-16 6:07am View    
select new Products
{

StateName = rows[0].ToString(),
StateId = Convert.ToInt32(rows[1].ToString()),
}).ToList();
return products;
Those line since i can't find the rows/data from xml.
i believe it can be xml root problem.i have two root like
<--root1-->
<--states-->
<--state-->
<--statename-->abc<--/statename--><--stateid-->1<--/stateid-->
<--/state-->
<--/states-->

PS: Iam just putting here <--> since without that the root tag wont show
Kasar_7 4-Aug-16 6:50am View    
adding your code to system.webserver fixed the issue. Thank you so much
Kasar_7 4-Aug-16 6:29am View    
Hi,
Please check it again, i have updated the question with controller code. Thank you
Kasar_7 2-Aug-16 2:31am View    
Thank you