473,396 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

am having two lable for each lable select page should get open

am having two lable for each lable select page should get open but when i am getting login from two lable any form is getting open .....
can any body give me idea ................ how to do this here is my code
Expand|Select|Wrap|Line Numbers
  1.   if (status  == 1)
  2.                 {
  3.                     checked
  4.                     {
  5.                         sw = "1";
  6.                     }
  7.                     this.Close();
  8.                     sales1 sales1 = new sales1();
  9.                     sales1._textBox = _textBox1;
  10.                     sales1.Show();
  11.                 }
  12.                     else 
  13.                     {
  14.                         status = 0;
  15.  
  16.                 }
  17.  
  18.                 if (status == 2)
  19.                 {
  20.                     checked { sw = "2"; }
  21.                     this.Close();
  22.                     servc1 servc1 = new servc1();
  23.                     servc1.Show();
  24.                 }
  25.                 else
  26.                 { status = 0; }
  27.                if (status  == 0 )
  28.                 {
  29.                     MessageBox.Show("please enter a valid uname & password");
  30.                     textBox1.Text = "";
  31.                     textBox2.Text = "";
  32.  
  33.                 }
  34.  
  35.         }
  36.  
Mar 6 '13 #1
0 1088

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: net | last post by:
I know how to make a page open itself at a certain size and location - I use: <html> <head><script language="Javascript"> window.resizeTo(370,220); window.moveTo(10,10); </script> <meta...
0
by: Michael | last post by:
I have a problem forcing files to download. If I select Save the document is saved with no problems. If I select "Open" the document is empty or I get a "File not found" error from the application...
6
by: Jake | last post by:
Hi all I have a webpage that contains a long table and it would be nice if on opening with http://page.asp the browser automatically jumps to the last line, without showing ...
1
by: cinergy | last post by:
Can someone provide a sample of how to display a different background image in a table cell each time the page loads? I am only able to find scripts to display a different picture outside a table...
3
by: chandrasekhar | last post by:
please help in transfering data from one page to another page which haveing data grid with chech boxes in it , when i select check boxes and click on submit button data should transfer to another...
4
by: chaos | last post by:
Hi all , i occur a problem in my forget password page as the page appear as blank page . Can anyone help me find out wt went wrong with my code. <?php require_once('Connections/conn.php'); ?>...
3
by: kipthemann | last post by:
My form processor is giving me a bit of trouble for some unknown reason. I was sure I had both my form and my processor correctly scripted. I am pretty new to this though. All of the fields except...
6
by: munkee | last post by:
Is there a way to automatically have a web based data access page to start on a new record when you open the page? (Without going to data entry mode in page properties) If I go to data entry mode,...
2
by: Panos Antoniad | last post by:
Hello, I have a standard select form which I want to keep open after selection in order to allow for multiple selections without having to take space at the page (when using the "multiple"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.