Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的数据库中,我有用户名、密码、地址、城市...等。使用此代码,它会从数据库中删除整行:
SqlCommand cmd = new SqlCommand("Delete from customer_registration where username='"+ Session["username"] +"'",del);
我的数据库与数据: Db
如何删除某些列数据,或将其设置回NULL? D b
你可以这样更新你的记录
update your_table set some_column = NULL where id = 123