It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 27
Posts: 3
|
I have a table with fields RNO, CNO, C1, C2, P1
I want to add 30 records i.e. RNO 1 to 30 with CNO being the same for all. How can I add 30 records in a single form? I am using asp One more doubt is how to check whether the entering data of a particular (primary key) is already present or not.Please give me the code. Thanks in advance. Owen |
|
|
|
|
|
|
|
#2 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 48
Posts: 25
|
You could use GridView, DataView, or DetailView, you may have to write a simple routine to check if CNO are the same, or an SQL query.
To check for primary Key, just check the list of primary Keys in the table, if it exists ignore it, if not then ADD it. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hosting needed | gabriel | Web Hosting | 9 | 06-21-2007 05:06 AM |
| Help needed | ronald | ASP | 0 | 07-07-2006 04:29 PM |
| Emoticons Needed | imported_Juano | Graphics & Multimedia | 3 | 05-19-2005 04:52 AM |
| [C]2 Markers Needed, Thats All! | imported_Juano | Graphics & Multimedia | 4 | 05-01-2005 11:12 PM |