I created a login form that uses tickets <BR>the field I want to query to show customers account details is<BR>the ticket.name variable.<BR>Now instead of coding functions to query the sql database<BR>I want to get the ticket name variable available so in visual web developer I can drag controls and just create the query on the fly.<BR>How do I do that?<BR>ie in visual web I drag a details view to a aspx page,.<BR>click on configure data source<BR>create the query and choose WHERE.<BR>it can be a none,control cookie form profile or query string.<BR>I have a ticket.name variable available.<BR>So i want to get the ticket name variable to pass to the sql qury I create. rather than righting code for each new query.<BR>Is that possible? what do I do?<BR>