Data scrapping with empty column value

studio
datascraping

#1

When data scrapping an table from a website if first row has empty column value then that column is reordered to last. How to we fix the order of columns while data scrapping?


#2

Can you get get the data into a datatable and try the following

table.DefaultView.Sort = “LastName asc”;


#3

That didnt work. It gives the same output.


#4

Don’t have access to computer now.Check below


#5

Hi,

I was able to rearrange the “Lastname” column using SetOrdinal method of datatable.


#6

Could you please provide the xaml for the same?