|
-
Feb 28th, 2007, 12:57 AM
#1
Re: Visual Studio 2005 - Modifying/Deleting Row in the table
 Originally Posted by jmcilhinney
If you don't have a primary key then how can you distinguish one record from another? There are times when it is appropriate to have a table without a primary key but they are very, very much in the minority. If this is one of those times then you can't use a CommandBuilder, plain and simple. The fact that you are trying to use a CommandBuilder at all suggests to me that this isn't one of those times though. How can you update or delete a record if you cannot uniquely identify it?
Hmmm. I created a primary key even though I didn't need it and now it works fine
jmcilhinney, I appreciate your patience....
[edit]: It says that I need to spread some reputations but I will remember this and I will come back and rate your post. It's a promise. I owe you two reps now
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|