Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Edited value does not change while updating in website
- DBCmd.CommandText = "update IOMFNewMember set FirstName=@FirstName,MiddleName=@MiddleName,LastName=@LastNa,Gender=@Gender,DateofBirth=@DateofBirth,MartialStatus=@MartialStatus,DateofWedding=@DateofWedding,Nationality=@Nationality,ResidenceCountry=@ResidenceCountry,DateofJoiningIOMf=@DateofJoiningIOMf,EmailId=@EmailId,mobileno=@mobileno,AtPresent=@AtPresent,familykuwait=@familykuwait,DateofDeath =@DateofDeath where UserName=@Entery and MemberID=@MemberID"
- string strSql="select * from customers where id=" + txtLoginId.Text;
- SqlConnection con=new SqlConnection(strCon);
- con.Open();
- SqlDataAdapter da=new SqlDataAdapter();
- da.SelectCommand=new SqlCommand(strSql,con);
- DataSet dset=new DataSet();
- da.Fill(dset);
- con.Close();
- string strSql="update EmployeeTable set password = '" + txtPassword.Text + "'";
- SqlConnection con=new SqlConnection(strCon);
- con.Open();
- SqlCommand cmd=new SqlCommand(strsql, con);
- cmd.ExecuteScalar();
- con.Close();
Add Comment
Please, Sign In to add comment