T
Tat
I wonder if somebody can give me a hint on how to convert an IDC script to
asp.net.
I have an asp.net application with one idc script.
I know .Net, but I've never worked with IDC, so bear with me. The server
calls my web application to dump data into database.
That's somewhat like the IDC file looks like:
Datasource: MyDatabase
Username: sa
Password: mypassowrd
SQLStatement:
+ INSERT MyTable
+ (transaction_number, receipt_number)
+ VALUES
+ (%transaction_number%, %receipt_number%)
I also submit to the party that will dump data the password and the user
name and protect this page. How do I
do it in .NET? I use forms authentication (SSL protected login page) for
other pages. I have to submit to the side that will be dumping data login
credentials, domain name, and the page that will execute scripts.
Please assist on how to handle setting the credentials and how to use
asp.net when they call the page on the other side.
Do I have to put the code for inserting values into database on page_load?
How do I grab this values from code-behind? How do I set the username and
pwd?
Thanks
asp.net.
I have an asp.net application with one idc script.
I know .Net, but I've never worked with IDC, so bear with me. The server
calls my web application to dump data into database.
That's somewhat like the IDC file looks like:
Datasource: MyDatabase
Username: sa
Password: mypassowrd
SQLStatement:
+ INSERT MyTable
+ (transaction_number, receipt_number)
+ VALUES
+ (%transaction_number%, %receipt_number%)
I also submit to the party that will dump data the password and the user
name and protect this page. How do I
do it in .NET? I use forms authentication (SSL protected login page) for
other pages. I have to submit to the side that will be dumping data login
credentials, domain name, and the page that will execute scripts.
Please assist on how to handle setting the credentials and how to use
asp.net when they call the page on the other side.
Do I have to put the code for inserting values into database on page_load?
How do I grab this values from code-behind? How do I set the username and
pwd?
Thanks