I created website in ASP.NET 2.0 and MYSQL.
MYSQL data base is at remore server. I can connected to MySQL successfully but when I upload my site to Share hosting, it throws following error.
I think ,On my local m/c I have installed MYSQL management tool so I can connect successfully but on shared hosting, it may not so this error is coming,
Any clue how can we enable our remote shared host to connect to MYSQL.
I am having a simple web application.In it there i a link got online payment(a link is for some bank login).After clicking on that link u will be redirected to a some xxx bank.After finishing the successful transaction what will be the process for redirecting to our web application ?
So far I have found PayPal Sample[^], There's a lot of code written for each step. At last you will find a logic on redirecting back to your webpage after completing transaction. I think There's same idea as in page for all transactional websites.
I've got a DropDownList on a web page (C#, but that doesn't matter)
It is set to AutoPostback & ViewState is turned on.
IF there are duplicate Values in the dropdown (not the Text, just the Values), it will NOT maintain its selected index, but rather return from the postback with the first of the duplicate Values selected.
Example: This is what it looks like after a postback from selecting "CHAPLAIN"
AFAIK its know behavior. Selected status is stored based on the value not the ordinal, hence the SelectedValue property. With duplicate values it just picks the first one as you can see. It just doesn't make sense to have the same values for multiple items.
It just doesn't make sense to have the same values for multiple items.
Sure it does, in circumstances a DropDownList is apparently no good for.
For instance, a list of Names, with their gender in the Value.
It's the other way around that wouldn't make sense. A list of 47 Bobs...you wouldn't know which one to pick even if their Values were different.
But Bob Smith, Bob Dobbs, Bob1 and Bob2 could all be male in Value.
No matter. I found a diffent way of doing what I was doing.
It simply means you are using the value field for something that it isn't intended to be. The value field meant in theory to be used like the key in a hashlist or the primary key in a table. If you have another value that you'll need, you can always add a custom attribute to each ListItem, but at the end of the day a single-selectable item control should have unique ids for each item...
I want to ask where is the best place to save the web application version? because i want to show the version on my default page but I thought if there is a specific place to save other than Global file?
I am developing a simple online DBMS to browse my database online.... the main concern for me is to clear everything from the PC when the user disconnect so no body can go and click (Back) on the browser and see the pages if the user forgot to close it.. what I have done so far is :