|
I want to send email for each user automatically. for example 3 days befor their birthday.
|
|
|
|
|
Sending an email is trivial. What you need to do is decide when you send it, in response to what event ( even if it's a windows service that has a 24 hour timer ), and where the data comes from to tell you who you are emailing today. An ASP.NET app can't do it, as it has no state as such. A windows service is a good approach.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Adding to Christians post, if your server provider doesn't allow you to install windows service, You can create a web service which sends the mail and call the web service from a windows application. This windows application should run on background(on any machine) and make calls to the webservice.
|
|
|
|
|
How to do the one to one chat?
Thanks in advance
|
|
|
|
|
Have you tried to check this in Google.[^]
Apurva Kaushal
|
|
|
|
|
In ASP.NET you'd need to use AJAX, a la gchat.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I want to read the url address of the website. Can you please tell me which reader is used to Read URL addrss. I tried StreamReader which is included in System.Net but its not used to read url address. please guide me in this.
thanks in advance.
|
|
|
|
|
URL address of which website?
Apurva Kaushal
|
|
|
|
|
using System.Net;
use HttpWebRequest
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I load the datagrid based on a condition. If i load the datagrid by the first condition then i need to visible false some TemplateField in grid. Can i achieve this, any solution available for this.
Thanks in Advance.
|
|
|
|
|
You can use onitemdatabound event of the datagrid for this purpose. In that event based on your criteria you can show or hide your columns.
Even directly also you can hide the columns by dg.columns[0].visible = true/false.
Apurva Kaushal
|
|
|
|
|
Hi Friends
I have one doubt using "substring"..
For example
i need to split the words..
i contain 50 words get in one string..
string str1-> get 50 character..
string str=str1.substring(0,25).
string strs=str1.substring(25,30).
but here "string strs" get 1 to 30 character..
I need only 5 characetr in "string strs"..
how can i achive this
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
|
This is an ASP.NET forum. C# has its own exclusive forum. Hence this should actually default to JavaScript.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
saravanan05 wrote: string str=str1.substring(0,25).
You had asked for length 25 and hence it had returned that much. If your intention was only 5, can you put 5 as the second argument.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i use like this..it is not working
string str = "saravanakumarvedhagirijayaprakash";
string str2 = str.Substring(0, 15);
string str3 = str.Substring(15, 20);
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Did you not listen to what you were told? The second argument indicates the number of characters to fetch. If you specify a value of 30, 30 characters will be fetched from the specified start position.
BTW, this is the kind of question that you could have answered yourself if you had consulted the documentation[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi Friends,
I have one doubt,suppose i m having two text boxes and one button that is search button when i enter the id corresponding data should display in another textbox we have used by database query,but how to do using XML,Can anyone help me please?
Thanks & Regards
Senthil Kumar
|
|
|
|
|
If you want to use XML to store data, you'd search it with XPath
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am working on SEO based project. how can I find reciprocal url from my site. (searching my website name in reciprocal URL)
|
|
|
|
|
swguy23 wrote: (searching my website name in reciprocal URL)
Use HTTPWebRequest class to send a request to reciprocal URL, get the Response and use Regular expressions to find a match.
|
|
|
|
|
Is it possible without using Datatable, dataset or datareader , retrive
records from database. We can use SqlConnection. Can we retrive using System.Object array. Try read whole databas ,from table retrive one record and display or modify
|
|
|
|
|
Dharti Gajjar wrote: from table retrive one record and display or modify
ExecuteScalar() ?
|
|
|
|
|
but to retrive all records , not one row from databse,but retive table it's row
from database and store into system object array
|
|
|
|
|
Why do you want to do this ? You can feth data into any of these (Reader/Datatable), and loop through each rows and put it in an array.
|
|
|
|