Click here to Skip to main content
15,909,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have database. there have Table 1 and it have ID_No, Date, Month, Marks columns. i need delete only marks cell relevant to the ID_No is "16751"

um using vb.net 2010 and sql server.
pls help me.sorry for the bad english. Thanks
Posted

Just do a DELETE statement:
Delete * FROM Table 1 WHERE ID_No = 16751


You can research how to use VB.Net to achieve that from the code-behind.
 
Share this answer
 
v2
Try to update marks value as null

update Table1 set marks=null where ID_No='16751'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900