By Wayne Plotche, on February 10th, 2012%
Sending email via SMTP in ASP.NET is a really painless experience. However, there are a couple of hoops to jump through if you want to use Google’s GMail SMTP servers. The following example shows a really simple function to get the job done.
The Google support page for configuring a mail client gives us a good starting . . . → Read More: ASP.NET Hosting :: How to Send Email in ASP.NET with GMail SMTP Server
By Stephen Jackson, on January 16th, 2012%
I’ve recently ran into a bit of trouble with maintaining the aspnet session state across a subdomains of the same application. The main problem was that the ASPNET SessionID cookie by default points to the full web address, meaning that when you navigate to a subdomain, aspnet creates a new SessionID cookie for that subdomain and . . . → Read More: ASP.NET Hosting :: ASP.NET Session State, Cookies and Subdomains
By Stephen Jackson, on January 10th, 2012%
Here i will shown how to upload a file using c#.Sending file from client system to server system called “file uploading” .this implementation is required in certain website like uploading resume,image and attachment towards email.File uploading control is provided asp.net to implement file uploading
The properties and methods of File upload:
*has file–true–>File is upload
false–>File is not uploaded
*posted . . . → Read More: ASP.NET Hosting :: How to Upload File Using c#
By Wayne Plotche, on January 6th, 2012%
This is an error message that sometimes you might find on the server:
The requested page cannot be accessed because the related configuration data for the page is invalid
To solve the problem, you can follow this steps:
We need to change the config section applicationHost file
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find . . . → Read More: ASP.NET Hosting :: Tutorial – How to Solve The requested page cannot be accessed because the related configuration data for the page is invalid problem in IIS
By Wayne Plotche, on December 20th, 2011%
I needed to access a SQL 2008 database from my codebehind without a control like a gridview. After scouring the internet I put together the pieces to do so.
If you were familiar with the (oldschool) “non .NET” scripting you remember doing something like the following:
Conn = Server.CreateObject(“ADODB.Connection”)
Conn.Open(“ODBC-DSN”, “sa”, “**********”)
rs = Server.CreateObject(“ADODB.Recordset”)
rs.Open(StrSQL, Conn)
Do While Not rs.eof
Urvariable=rs(“whs-num”).value
rs.movenext()
Loop
You can . . . → Read More: ASP.NET Hosting :: ASP.NET Accessing SQL Data From Codebehind Without A Control
By Wayne Plotche, on December 7th, 2011%
Visual Studio 2010 has some inbuilt functionality as a tool to compare the different schemas .Schema comparison is a powerful tool that is used to compare database schemas. In tips I will give some basic step to compare schemas in Visual Studio 2010
First launch the Schema Comparison tool from Data > Schema Compare > New Schema . . . → Read More: Visual Studio 2010 Hosting :: Data Schema Comparison in Visual Studio 2010
By Wayne Plotche, on November 14th, 2011%
Introduction
The Email is important in the web site. When you are create a new website you have to implement in the email sending features as well. So in this article I will explain how to send email using ASP.NET with SMTP.
Implementation
As usual create a simple asp.net web project and then add following html code to design . . . → Read More: ASP.NET Hosting :: Email Using ASP.NET
By Wayne Plotche, on November 8th, 2011%
In this article I will show how to check username with jQuery and ASP.NET. This will let the users know if a particular username is available or not during the process when they are filling out the registration form. In tradtional way if you are going with normal postback , that will irritates the user as the passowrds . . . → Read More: ASP.NET Hosting :: Check username availability using jQuery and ASP.NET
By Stephen Jackson, on November 7th, 2011%
Have you looked for a car recently? Visited a used car website lately? noticed how they had a dropdown menu?
Well they were using a CascadingDropDown or a variation of it.
The CascadingDropDown Extender is a Drop down menu where you can categorize your data, and by using a Web Service Method, you can avoid PostBack and have . . . → Read More: ASP.NET Hosting :: AJAX Control ToolKit Tutorial CascadingDropDown Using ASP.NET C#
By Wayne Plotche, on November 1st, 2011%
I will explain how to disable right click on website using Javascript. One day I got requirement like do not allow users to right click on website to see source code of page for that I written JavaScript functionality to disable right click on website to achieve this create new website and design your Default.aspx page . . . → Read More: ASP.NET Hosting :: How to Disable Right Click on ASP.NET Web Page Using JavaScript