Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2004, 04:05 PM
Authorized User
 
Join Date: Feb 2004
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not getting message

Hi Friends..

its me once again..

Now I have to problem them I want to show the message like that ..
If I select certain date range in the query ... if there is no data in the data base for that date range for the perticular person I am not able to display message

I am using the following for the display the data:
Dim rs As OleDbDataReader = myCommand.ExecuteReader(System.data.CommandBehavio r.CloseConnection)
                                  if rs.read()
                                    if rs("permnum").ToString<>"" then
                                        MyList.visible=true
                                        lblMessage.visible=false


                                    else
                                        MyList.Visible=false
                                        lblMessage.visible=true


                                     End if

                              End if

so what to do can you please guide me .
it will be nice help from you all .
thanks
aashish

Aashish Shah
__________________
Aashish Shah
 
Old March 9th, 2004, 05:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think one 'Then' is lacking.

Jacob.

 
Old March 9th, 2004, 05:14 PM
Authorized User
 
Join Date: Feb 2004
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks jacob ..


Nice one..
 silly mistake...
after showing the mistake you crack me up..
since 2 hours I am finding the mistake..

thanks
aashish


Aashish Shah





Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between $message and $$message? rahulcbr Beginning PHP 1 February 27th, 2007 08:05 AM
Error message help iacon VB Databases Basics 2 June 20th, 2006 02:09 PM
HELP WITH ERROR MESSAGE AnnieT Classic ASP Databases 1 December 22nd, 2004 12:08 AM
error message. Tasha Access VBA 2 August 11th, 2004 11:07 PM
Getting error message pradeep_itguy SQL Server 2000 0 February 24th, 2004 03:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.