Can you show me more details!
krajah10
Posts
-
Compare input date with current date! -
Compare input date with current date!Hi' I'm new to C++? This code to show current date. #include #include "string.h" #include "time.h" #include int main() { tdclass TimeDateClass; cout<<"Today is "<<TimeDateClass.date()<<endl; system("pause"); } How to compare date we input and compare is it less or more from the current date? Tq
-
Friends need help here! SQLTq for your help...
-
Friends need help here! SQLTq for reply. Where is my mistake and what to add,im beginer for database connection.
-
Friends need help here! SQLMy password validater window form cant read the password from database that have been set please help me; database name=testing table name = table1 field name=password the default password I set in password is "ABCD" below is the coding: ///////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Data.SqlClient; using System.Windows.Forms; namespace cuba3 { public partial class Form1 : Form { Form2 form3 = new Form2(); public Form1() { InitializeComponent(); } private void button1_Click(object sender,EventArgs e) { string connectionString = "server = P-III; database =testing;uid=sa;pwd=;"; SqlConnection conn = new SqlConnection(connectionString); string commandString = "SELECT password from table1"; SqlDataAdapter dataAdapter = new SqlDataAdapter(commandString, conn); string strEnteredPassword = textBox1.Text; if (strEnteredPassword == commandString) { this.Hide(); form3.ShowDialog(); } else { MessageBox.Show("Wrong password entered"); this.Close(); } } } } tq in Advance.
-
Simple Password Form compare using database.TqHello friends need help here.. Before this I have learn to create password validating form.Which is user have to key in password to enter another form. The password is default that have set in the coding.Now I need help how to connect to MY Sql database from C# from and compare the password that already I set in MY Sql database,table name Security and Field name password and the password is "ABCD".I dont know how to use SQL server 2005. Below are the coding for the first form that validate to enter to form2. ////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace cubaan1 { public partial class Form1 : Form { Form2 form1 = new Form2(); public Form1() { InitializeComponent(); } private void textBox1_TextChanged(object sender, EventArgs e) { textBox1.PasswordChar = '*'; //Masking Char textBox1.MaxLength = 14;//Max Length is 14 } private void button1_Click(object sender, EventArgs e) { string strDefaultPassword = "security"; //Keep the default password string strEnteredPassword = textBox1.Text; if (strEnteredPassword == strDefaultPassword) { this.Hide(); form1.ShowDialog(); } else { MessageBox.Show("Wrong password entered"); this.Close(); } } } } ////////////////////////////////////////////////////////// How to change this to connect to MY Sql Database and compare the password from the database. Tq in advance......
-
How to connect My Sql Database to compare string from database.Can you show me where to put the coding , I can understand. Tq very much.
-
How to connect My Sql Database to compare string from database.Hello friends need help here.. Before this I have learn to create password validating form.Which is user have to key in password to enter another form. The password is default that have set in the coding.Now I need help how to connect to MY Sql database from C# from and compare the password that already I set in MY Sql database,table name Security and Field name password and the password is "ABCD".I dont know how to use SQL server 2005. Below are the coding for the first form that validate to enter to form2. ////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace cubaan1 { public partial class Form1 : Form { Form2 form1 = new Form2(); public Form1() { InitializeComponent(); } private void textBox1_TextChanged(object sender, EventArgs e) { textBox1.PasswordChar = '*'; //Masking Char textBox1.MaxLength = 14;//Max Length is 14 } private void button1_Click(object sender, EventArgs e) { string strDefaultPassword = "security"; //Keep the default password string strEnteredPassword = textBox1.Text; if (strEnteredPassword == strDefaultPassword) { this.Hide(); form1.ShowDialog(); } else { MessageBox.Show("Wrong password entered"); this.Close(); } } } } ////////////////////////////////////////////////////////// How to change this to connect to MY Sql Database and compare the password from the database. Tq in advance......
-
Read password from text file and compare with user textbox inputYes only password.
-
How to compare password from notepad with in the textboxTq sir, I'm using mysql.How to connect to mysql using visual C#.How to compare the password. Can you help me sir. Before this I have create a password form that I set default password in coding of button click. I want to upgrade it so I can compare password and change password from the database.Tq sir
-
How to compare password from notepad with in the textboxSir this is for window form. Sir how to save password in database.How to compare when click ok button with the input in textbox.tq
-
How to compare password from notepad with in the textboxHi sir... I have create login form that have one textbox and 1 ok button.How to store a password in database and retrieve it to compare with user inputed password in the text box. Another question: I have form2 that for user change password.In this form have two text box. One for user input the old password and another for user key in new password.After it compare that the old password in text box one .It will replace in database with new password. After that in form one it will compare the text box input with the new password in database. I think sir familiar with this all. Tq sir.
-
How to compare password from notepad with in the textboxQuestion 1form1) How to compare my default password that i save in notepad. How to compare with the password that user input in text box.How to call the password that have key in the notepad. Question 2: In another form I make to textbox one for user input old password and another textbox for user input new password.The new old password will be replace by the new password in the notepad.After this it will compare with the new password in the form1 Tq.Help Needed
-
Read password from text file and compare with user textbox inputQuestion 1:(form1) How to compare my default password that i save in notepad. How to compare with the password that user input in text box.How to call the password that have key in the notepad. Question 2: In another form I make to textbox one for user input old password and another textbox for user input new password.The new old password will be replace by the new password in the notepad.After this it will compare with the new password in the form1
-
Console the text that user keyin in text box to another window form .How to get the text that user keyin in textbox in other window form to another form.Like from form1 to form2. The text will increase like ++1. How can the text apear/console in form2 one by one. And have a button in form2 to delete which text user want to delete. Tq very much. Need help here.
-
Read password from text file and compare with user textbox inputHow to compare the password we have keyin in (notepad/simple database) with user keyin in the textbox in window form. Another form that have two textbox: One for user key in old password Another for user key in new password If user klick button it will change the password in the notepad to new password that user key in second text box. Need help here.....
-
block website function by enterring in texbox in a form.need help hereHow is the function for block website that have been enter in text box and click add button it will appear in listbox. All this is in one form only.And another button for remove the web site have been add in listbox. The web site have been block will block by browser and this web site cant be acess. Please help me.Thanks A lot. Below are the coding for the web site bloking form: //List box private void listBox2_SelectedIndexChanged(object sender, EventArgs e) { } //TextBox private void textBox3_TextChanged(object sender, EventArgs e) { } //Add button private void Add_Click(object sender, EventArgs e) { } //Remove private void Remove_Click(object sender, EventArgs e) { } Tq...
-
Button Click to call exe file.I need to link or call a exe file(form) if i click the button.How is thw method or coding.Please help me i'm in thouble now.TQ very much private void button1_Click(object sender, EventArgs e) { ??????? } The exe file name is connection....Tq
-
Dial-up,proxy setting for webbrowser.Tq verymuch please help me!!I need a help here. How to create dial-up setting for web browser I have create in visual C#. How to call in form with button click the New Connection Wizard like in IE. Another question: How to craete proxy setting form like in IE. This is also enough, can tell me how to call the Local Area Network(LAN) setting form when click button. Another question: How to display history of page have I been visit in a form and a botton fof delete it. I'm realy in trouble please help me. Tq very much.
-
Password to reach one form to another.Please help me.tq very much.There have two form which is form1 and form2. In form1 user have to keyin the right password which we give them. If user keyin in teh textbox the password and click (OK button).If the password is same with the password we set.They can link to other form. FOR FORM1: private void textBox1_TextChanged(object sender,EventArgse) { // The password character is an asterisk. textBox1.PasswordChar ='*'; // The control will allow no more than 4 characters. textBox1.MaxLength = 4; // } private void button1_Click(object sender, EventArgs e) { Form Other = new Form2(); Other.show(); } *****What should I add in this two object so that: 1: In textbox keep user input 2: Verify in OK button object with our password to log in to form2. TQ VERY MUCH..... Email: krajah20@yahoo.com