2
Answers

How can we Insert data into Multiple Tables with one single submit button

Faisal Ansari

Faisal Ansari

13y
3.2k
1
hello guys how r u ?

my question is that, how can insert data into multiple tables with on single submit button in asp.net? tables based on one-many relationship, i mean i have to submit data in three different tables

Country
Provice (with country FK)
City (with Province FK)

and these tables are based on one-many relationship?


Reply soon

Thanks.
Answers (2)
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
I don't know. I have spent some time trying to figure out what to do; I have spent as much time as I should allow for this.

Have you looked at Compile and Link Considerations? If not then that is likely to help. If you have not added Advapi32.lib to the list of libraries for the project then do that.
0
Gaurav Sharma

Gaurav Sharma

NA 19 39.9k 13y
    I have taken that code from microsoft website and link is as follows

http://msdn.microsoft.com/en-us/library/ms867026.aspx

  You will code from mention wording from site "Download the associated CertificateEnrollmentSamples.exe."

  And try to compile "PKCS10AltSubName.cpp" code.I thought crypt32lib was missing but i have found it in the SDK folder. So unable to know the real cause of issue.


0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
The code is not attached. Instead of attaching the code, if you can tell us where you got the code from, then that will help.

Is the code C++? I assume it is. Those error messages are from the link editor which is executed after the C++ compiler. There is probably an #include or possibly an #import missing, but this is an area with a lot of confusing details. Your best chance of sovling the problem is to read what the web site says where you got the code from. There is likely something you are overlooking.