|
In my Page i am having buttons.when clicking on that button the events not firing.i am doing URL rewriting in begin_request.for the same page i am doing the rewrite.i want to fire the corresponding events when clicking on the button.please help me on this.
|
|
|
|
|
hi all,
i am using authyorize.net(sim) payment gateway for my shopping cart.previously i used arvic payment gateway.I am new to this .
my requirement is after completing the payment successfull i want to redirect the page from authorize.net to my site with transaction results.
how can i do this in c#?
|
|
|
|
|
I suggest reading the link in my sig. You may also want to read the docs from authorize. You shouldn't have to leave your site at all, unless you're using some sort of cheaper option with them.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Christian Graus wrote: You shouldn't have to leave your site at all, unless you're using some sort of cheaper option with them.
Actually, there are systems like 3D-Secure (think Verified by Visa) that take you off the original site (albeit in an IFRAME!) to complete a transaction. This is proper expensive stuff that many banks now demand as part of the PCI compliance agreements they have with their merchants.
However, you are right, it looks cheap. The problem is that Finance departments are demanding it because if they don't the merchant becomes liable for any fraud* (risk shifting by the banks). Marketing/Sales departments are resisting it because it will lose them sales (because it is anothe password to remember, and most people forget)
* An agreement I've seen on a project I'm working on means that without PCI Compliance and 3D-Secure, etc. the bank can charge £25K + cost of fraud investigation + other costs to the merchant. The cost of implementing this extra security in the website is over £25K - Not a cheap solution!
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
Hi,
I need to create custom control. But option to add "Web control library" is not appearing in my VS 2.0 framework. Can you told me the link to download the "Web control library", so that I will be able to create my own custom controls.
thanx...
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
|
Hi Goalie,
thanx for your reply. But this link is not accessible. Can you provide me some other link.
thanx...
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
 That's odd. The link opened for me. I'll just post his article here instead:
Visual Studio 2005 is one the coolest Development Tools available today for developing applications targetting .NET Framework 2.0.
In Visual Studio 2005, there have been a lot of changes, compared to the way Windows Applications and Web Applications were created using Visual Studio .NET 2003 and earlier versions.
For more details, please check my following articles:-
Quick Facts about Visual Studio 2005 - Did you know?
Visual Studio 2005 Web Application Projects and Web Deployment Projects
When developing with Visual Studio 2005, we might have noticed that all the web related templates are moved under "File - New - WebSite" option.
However, creating a Web Control Library is an exception to this. The Web Control Library Template still lies in the "File - New - Project" Option. It is a little suprising and tricky to find the option to create a Web Control Library.
The steps are
1. Click "File" - "New Project"
2. The "New Project" Dialog opens up with the installed templates
3. Select the preferred language "Visual Basic" or "Visual C#" under "Project Types"
4. Expand the preferred language Node.
5. Select "Windows" under the preferred language Node.
6. The available templates are listed under "Templates"
7. Select the "Web Control Library" and click "Ok" to create a Web Control Library Project.
This might be a little suprising since all the Web related projects are moved under "File - New - Website" option whereas the "Web Control Library" still remains here and particularly under "Windows" option.
In short, the answer for the question, from my understanding is that, all Project type templates are moved under "File - New - Project" and the Website related ASP.NET Website, ASP.NET WebService are under "File - New - Website" option.
Cheers and Happy Programming !!!
|
|
|
|
|
Hi Goalie,
thank u very much. But problem is that template option "Web Control Library" is not in my copy of Visual studio. Can you tell me that from where I can download it.
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
|
Hi Goalie,
thanx dear for your reply. Also i found the solution. In my copy of Visual studio instead of "Web control library", "Class library" template is available. In this object after adding System.web.dll, i m able to develop web custom control.
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
Great Vijay! Glad it worked out for you!

|
|
|
|
|
|
please try one thing.
just set the viewstate property false.
Rajeev Kr. Sharma
Sr. Software Engineer
E-Meditek Solutions Ltd.
http://www.emeditek.co.in/
|
|
|
|
|
Hello,
This question straddles the Oracle and ASP.NET worlds -- I hope this is the right place for it:
I'm trying to understand a legacy ASP.NET 2.0 website that uses an old Oracle database on the back-end. There is also an admin console wepapp which services the main website, but is a separate application, not an Admin subfolder.
The Oracle database has two "schemas", named WEBSITEADMIN and WEBSITEUSER, which have identical tables and stored procedures. Oracle seems to use the word "schema" to refer to groups of tables within a database - i.e. the two schemas seem to actually be distinct and seperate, as when I add columns to a table in the WEBSITEADMIN schema, the additions do not appear in the same table under the WEBSITEUSER schema.
The main webapp has an <appSettings> key pointing only towards the WEBSITEADMIN schema in the Oracle database, and indeed it appear to read and write only to that schema.
The admin console website, however, has the following in its web.config folder:
<appSettings>
<add key="connectionString" value="user id=websiteadmin;data source=DATABASE;password=xxxxxx"/>
<add key="DataConnection" value="user id=websiteadmin;data source=DATABASE;password=xxxxxx"/>
<add key="domainName" value="adminsite.company.com"/>
<add key="MachineName" value="mbd01235pd"/>
<add key="Administrator" value="COMPANY\myemail"/>
<add key="AdminAddress" value="myemail@company.com"/>
<add key="ServerSideViewState" value="true"/>
</appSettings>
<connectionStrings>
<add
name="ConnectionString"
connectionString="Data Source=DATABASE;User ID=WEBSITEUSER;Password=xxxxxxx;Unicode=True"
providerName="System.Data.OracleClient"/>
</connectionStrings>
...so, the admin console webapp has an "appsettings" key referring to the WEBSITEADMIN schema, but the <connectionstrings> tag refers to the WEBSITEUSER scheme... erm... why?
Any idea why this app would have connections to both schemas if the main website appears to be only displaying data from one of those schemas?
Thanks for any advice.
|
|
|
|
|
Nostrom0 wrote: ...so, the admin console webapp has an "appsettings" key referring to the WEBSITEADMIN schema, but the <connectionstrings> tag refers to the WEBSITEUSER scheme... erm... why?
This is a question for the person that built the application. We cannot answer this. You might get some speculation about why, but not a definitive answer.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
How to Authenticate Users with the SQL Server database table. I am using ling to entity data model.
|
|
|
|
|
I suggest you read the link in my sig. Or just buy a damn book instead of asking us to do your work for you.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
database tables are not an authenticaion mechanism. You can store data that can be used by your authentication mechanism, but it isn't a mechanism per se.
Your question, therefore, is larger than the scope of a forum reply. You would do well to find a tutorial on authentication in what ever OTHER technology (e.g. ASP.NET, WinForms, etc.) you are using and how to do that with SQL Server.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
have two tables. Roles and Users. In Roles I have three columns iID(PK), Role(varchar), Description(varchar).
In User table I have columns ID(PK,FK), Username(varchar), Password(varchar), Role(int).
First I fill data in Roles table then now I am trying to insert data in User
table it is giving me following error.
Msg 547, Level 16, State 0, Line 1
The INSERT statement conflicted with the FOREIGN KEY constraint
"FK_User_Role". The conflict occurred in database "DataFeed", table
"dbo.Role", column 'Id'.
The statement has been terminated.
|
|
|
|
|
The reason you're posting a ton of questions, is that you have no idea what you're doing. Add a book on SQL to your list. Do you know what this error means ? If not, you should NOT be working on database code. But, that's the point, isn't it ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
I have read this and you have not asked a question. You have supplied a series of incomplete, random and contradictory statements.
In one statement you say that in the table "Roles [you] have three columns iID(PK)...". However, the error message says the conflict is on "table
"dbo.Role", column 'Id'."
Please provide the CREATE TABLE statement for the Roles and Users tables, also provide the INSERT statement that failed.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
Just realised I'm in the ASP.NET forum - Why are you asking this here? It is a database question!
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
Hi,
I am using Login control in my login.aspx page. I have a user table in my sql databas where user name and password are stored. After filling username and password in login page I want to check if it matches with the username and password with the data in the user table. How can I do that.
Regards,
|
|
|
|
|
Use SQL
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|