| | |
update exsisting login registration
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2007
Posts: 40
Reputation:
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
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
just look a this codding
C# Syntax (Toggle Plain Text)
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(); }
thank you
Last edited by cscgal; Dec 6th, 2007 at 2:21 am. Reason: Added code tags
![]() |
Other Threads in the C# Forum
- Previous Thread: ComboBox
- Next Thread: Thread's colliding?
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access algorithm array barchart bitmap box buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index input install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





