I am making a simple contact us page for myslef as whomever wants to contact me can contact me on my gmail or at yahoo.com my
[Code]...
[IMG]http://i40.tinypic.com/2yufwhl.jpg[/IMG]Whenever i run this code it gives me the following error [IMG]http://i39.tinypic.com/2roglja.jpg[/IMG]Language-VS2008 ASP.NET(C#)i simply want all these details which are filled by anyone should come to my mail.
am looking to add a contact page to my asp site that I am running vie IIS6.0I have created the page but just need help with the code i would also like to send the user to a thanks page once the Web Form has been sent.It also has a drop down menu and the email is sent to that address! If someone could help with the coding ect that would be a massive help. The codeing I have so far:
We have a site that upon every page load, it tries to contact a sql server on the local machine. It does not contact localhost, but the actual IP of the local machine. It fails, then contacts the correct DB server for membership information. In dev, apparently the server was contacting the local sqlexpress server, then contacting the correct DB as well. Only when we stopped the localmachine dev SQLExpress could we recreate the issue. We had removed entries in machine.config, and web.config to .sqlexpress, but the problem still persists.
I want a to put a contact us page in my website and I am a novice. I will want to be recieving the information in my email box. But I also like to see another method other than recieving in my mail.
Leaving the plain <form> code in there actually seems to work, except for in IE, where it adds a ~200px margin underneath the </form> (and using CSS to remove the margin and padding doesn't help).
I read about the HtmlForm class, but can't find examples of how to send data for the form above.
I have created the page after watching this video [URL] , but my problem is at the end after sending the email I get a blank screen. So, after I click the Finish button and how do I put in a message like "Thank you for submitting you question" ?
I found the video for creating a Contact Us page using the 2005 Express Edition of Visual Web Developer, but I got stumped when he dropped a table onto the wizard. I can't figure out how to do that in the 2010 version. Is there a video for creating a Contact Us page using the 2010 version?
I'm preparing a contact page and would like to have one of those fields where the user inputs the characters which are displayed in a distorted way above the field. I would greatly appreciate some general comments on the techniques used to create the display of distorted characters and some pointers to where I can obtain further information.
I want to generate "contactus.aspx" using database. I tried gridview,detailview to display all details from contact us table, but its not looks good like any other site's contact us page. What are the other options to display the contact details?
I am trying to add a new text box in a contact form that I use, but I know 0 C#. I know this is probably easy once you know how to do it but I don't. I have posted my code below.
i am tring to connect to my db in sql server 2005 :) and have some problem with it.the error that i get is : Keyword not supported: 'datasource'.the line that i have an error is :
i have some web site with one page call genPage.aspx for all regular site pages, the title and the content of the page is changing by the pageId on the url (queryString). All the page looks the same (title, content and images and the same structure)im want to add contact form to the page with the pageId=7 only and dont have idea how to do this. (i know in classic asp it was : <if pageId = 7> html code and then <end if> but in asp.net i cant find the way. [Code]....
I'm wishing to display a contact number in my page title so that if any user have the skype he have the option to call me directly instead of going into further details.
I'm looking to create a page with version and contact info. I want the page to open in the parent page and to be smaller than the main page. I also want the focus to be on the "about" page till it's closed..
I was just typing on an old site of mine that requires the constant contact method that uses threading and an update panel to prevent users from being logged out since despite setting the timeout period in web.config to what mathematically should be millions of minutes people still seem to get logged out after like 5 minutes. I tried the web service method, but it was ineffective.
The constant contact with an update panel accomplishes its primary objective well, however when a user clicks on their keyboards back button at the wrong time they get redirected to the previous page and if they click the forward button in their browser the page contains none of their typed data.
Is there a way to override whatever causes the backspace button to do this?
I have a label within my master page that is part of our footer. In the footer, we are wanting to display page specific information. So as you make your way around the site, the footer will contain content about that page along with other data that is universa on the entire site.I had a somewhat similar question some time back that i posted here..
http://forums.asp.net/t/1615850.aspx it was for a shopping cart of sorts..
cartct.Text = ShoppingCart.Instance.Items.Count().ToString() + " Items In Cart";
If Label is in master page, you have to use FindControl to get the Label and udpate its text
((Label)Master.FindControl("cartct")).Text=String.Format("{0} Items In Cart",ShoppingCart.Instance.Items.Count() );
once you select another page, you dont have it anymore,If you want to share data across different pages, consider using Session to save Items count.
I'm using MS VS 2010 and my controls have already been created on the aspx page. i just need a sample code to send the email to my exchange server in VB.net side of things.