You can create Sql job which executes in every say 5 minutes and fetch entry from database which mail to send.
To send the mail, you can use Clr Stored procedure.
Another approach is:
send mail using Windows/Other scheduler.
Hi, I was creating a login form in visual web developer express. In my web.config, I have inserted these codes for the connection of my database:
The problem is when I add a Login control on my page, and click on the ASP.Net configuration website for the security to add roles, I got this error:
The connection name 'ApplicationServices' was not found in the applications configuration or the connection string is empty. (c:\documents and settings\ali\my documents\visual studio 2010\Projects\Youtube\Youtube\web.config line 25)
Here is my entire web.config below:
Help me, I'm a beginner..
I am developing a website. The start page is index.html, it redirects a user to the 'destination.aspx' page.
While the site is in development I have a 'coming soon' page that has a login form to restrict access to the main page.
I set windows forms authentication in web.config and the user is redirected to 'destination.aspx' page after login and the default login page is the 'coming soon' page.
when I ented the sitename intothe addressbar I see the 'coming soon' page. Then I login but instead of seeing the 'destination.aspx' page it opens the login page again instead and opens the 'destination.aspx' page after the second-time login.
How to fix it?
how to change how the address of the site looks in the address bar?
- I need it to be sitename.com instead of www.sitename.com
- I need it to look like sitename.com/itemname instead of sitename.com/destdir/destination.aspx?itemname
- need sitename.com instead of sitename.com/destdir/destination.aspx
How to do that?
I am using asp.Net framework 4.0 and windows hosting/Plesk control panel.
my web.config login part:
<forms name=".ASPXAUTH" loginUrl="./ComingSoon/index.aspx" timeout="180" requireSSL="false"
defaultUrl="./Destination/destination.aspx" protection="All" cookieless="UseUri" >
Clarification on problem 1:
I enter the sitename and index.html opens 'coming soon' login page http://www.sitename.com/ComingSoon/i...?ReturnUrl=%2f. I enter the password and instead of being redirected to 'destination.aspx' main page the login page is opened again. (http://www.sitename.com/ComingSoon/i...stination.aspx) Then I enter the password again and after this attempt it redirects me to the main page - 'destination.aspx'.
we have 8 usercontrols on .aspx page and we are getting data through restapi(Webservice Htttp singel Url for all 8 user controls) once we get the data from restapi and we are storing data into "Session" .Session data will be loaded for all user controls,We need to improve performance of page , how can we achieve this .Please suggest me better way.
You have left many question unanswered. What type of data? How much? How often is it used/accessed? What are your metrics for performance? How will you tell if there is an improvement? Is the data shared by users or unique to an individual user? Are the servers load balanced?
hi,i have a Grid view with 3 textbox in it and put iy in a Update Panel.When User Pressed Tab Key In current Text Box Of Grid View,Onblur Event Runs And In this Case According to my Java Script Function,Page Get Refresh,hence,GridView Lose Its textbox Focus.I Want When User Pressed Tab Key And Page Get Refreshed,Next TextBox In Gridview Get Focus.Can Help Me whats The Easiest Way To DO It?
I'm necessary need to create a project that only display CCTV in a webPage, please help me that i must what to do and need it and if you have any article about this i will happy for give me.
Thank you for all.
I have a C# 2010 web forms application that uses master pages, themes, and cascading styles sheets on the same web pages. Since I am new to master pages, can you tell me how I would know what part of the web pages uses css and what part uses master pages, and the base master page, and what part uses themes? If there some kind of a rule on what takes precedence if the same part of the master page is access? Does css, theme,and or master page precendence. If there is no precendence, can you tell me how I would knowwhat part uses css, what part uses themes, and what part uses themes?
If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun