Last post Dec 14, 2014 09:01 PM by Summer - MSFT
Dec 12, 2014 01:46 AM|khushboo_Nayak|LINK
Please see below table
Now i want to replace header column dynamically 3 replace with 1, 7 replace with 2, 12 replace with 3,14 replace with 4 and so on...
column is dynamically increase so i want to replace header dynamically with sequence like 1,2,3,4......etc.
If any one have any idea then let me know as earlier as possible.
Dec 14, 2014 09:01 PM|Summer - MSFT|LINK
Hi Khushboo Nayak,
Welcome to the ASP.NET forum.
Please try to use rename method as the code below
select Id as '1',Name as '2',Age as '3',City as '4' from Customers
More another information please refer to the article.
If you have solved your problems, please let us know.