Posted on: 10/27/2014 9:38:08 AM | Views : 439

getting error at this  line:
str = "update filetracker.user set user_pwd=@user_pwd where user_name='" + Session["user_name"].ToString()+ "'";.cs page: protected void btn_update_Click(object sender, EventArgs e) { string strConnString = "datasource=localhost;port=3306;username=root;password=ft"; string str = null; MySqlCommand com; byte up = 0; MySqlConnection con = new MySqlConnection(strConnString); con.Open(); str = "select * from filetracker.user "; com = new MySqlCommand(str, con); MySqlDataReader reader = com.ExecuteReader(); while (reader.Read()) { if (txt_cpassword.Text == reader["user_pwd"].ToString()) { ...

Go to the complete details ...