Author: Rhys Harri | Posted on: 6/23/2008 3:20:41 AM | Views : 327

Hi all,

Bit of a noob question. And i apologise if i'm posting this in the wrong topic. I want to produce a form with gridview that pulls the data from a sqldatasource and i want the parameter to be specified by a previous page. I imagine that a querystring is what should be used between the pages. I have produced the results form and tried to test it by using the web address and the .aspx?UserID=2 but nothing is being shown in the gridview. Used the wizard in VWD 2008 to create the gridview with a querystring parameter. Codes below. Please excuse the the extremely long SQL statement.

Thanks for your help.
1 <%@ Page Language="VB" %>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
Go to the complete details ...