SqlDataSource sql = (SqlDataSource)PreviousPage.FindControl("SqlDataSource1"); its throwing an error "use new".....can some one help ...