I am trying to find out the id for my list
SPSiteDataQuery query = new SPSiteDataQuery();
query.Lists =
"<Lists><List ID=\"{0FF8BA49-E407-4039-8AF8-2579BCB0D3CD}\"/>" +
"<List ID=\"{1CA8AFFA-64E0-44F8-B09F-D7A799F23DD03}\"/></Lists>";
Like this , i Go in to my list press list and then list setting a copy the url and in the end of the url is the id for the list i change it like this....enter link description here and then insert in i the code above but every time i deploy my Visual Studio Solution and then go in to the url for the list the id has changed is that really the ID for the list? that i should put in the query above...