Click here to Skip to main content
15,884,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Is it possible to get data from table without using dataset? Currently I'm using dataset to fill the value and retrieve whenever i need but sometimes it hang and create duplicate primary key. So my friend suggest me by using Get,Insert & Update statement..anyone know the link to this? website or tutorial or something for me to learn new way?
Posted
Comments
[no name] 20-Nov-12 23:36pm    
Which technology are you using ?? C# or VB ??

1 solution

Sounds like bad table design. To avoid duplicates in primary key, set this column as autonumber. Follow these instructions: http://office.microsoft.com/en-001/access-help/create-or-remove-a-primary-key-HA010014099.aspx[^]
To get more information about MS Access database design, read this: http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx[^]
 
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