Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

how to add a list in the parameter in the application page url, without the list name directly

$
0
0

if (!string.IsNullOrEmpty(ListName))

                {

                    SPList listExport = web.Lists[" HouseHoldsAT"];

How should i avvoid the list name in the url, but i should use url like below:

http://sguw-sp22:5050/lists/householdsAT?lu=HouseHoldsAT&view=ExportView

I have implemented lu and view parameters, but calling the list directly.

I dont know how to call the list without giving listname in the code.

Please, Can anyone suggest me how to solve it, It would be great helpful to me.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>