954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

update exsisting login registration

hi
i want to place all the values of a paticular login member and i want to update his informatin,
for example i want to update his phone no. and address etc..how can i do that ,right now iam developin web application by C#
,please sught out my problem.

thank you in advance
raghu

raghu.8
Light Poster
40 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

i got through this, but i want to update the values of a paticular person who loged in..
just look a this codding

protected void Button1_Click(object sender, EventArgs e)
    {
        SqlConnection con = new SqlConnection("user id=sa;password=vubrain;database=raghu;data source=vubrain4");
        SqlCommand cmd = new SqlCommand();
        cmd.Connection = con;
        cmd.CommandText = "update userlogin set loginname='"+t5.Text+"',loginaddress='"+tb1.Text+"' where loginuser=loginuser";
        con.Open();
        cmd.ExecuteNonQuery();
        con.Close();
       }

for the above codeding i am able to update all the member in the table, but i want only to update the paticular member who loged in
thank you

raghu.8
Light Poster
40 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You