1
Answer

how to store excel data into database by file upload in c# language

hi friends  ,

               please help me in storing the excel data in to database by fileupload  in c# language. ...

the excel containing  columns   like    -----------
--------------------------------------------------------------------------- --------
 regd no  |    name |     branch |     address   |     fee-particulars  .
-----------------------------------------------------------------------------------

and I will also maintain the same coloumns in database .  so , once the excel file has been selected from file upload the corresponded column data  in the excel sheet has to be stored in the corresponded columns in the database fields .

          thanks in advance...... 
Answers (1)
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.