|
Hello,
I am currently doing online service log where users can post their messages.
Just want to ask how I can make an email notification to the user if their message has a new post message? Just like what we have in this forum where link to the site is also included.
Thanks in advance.
|
|
|
|
|
try this send mail code.
Dim client As New SmtpClient(host as string,port as integer)
Dim message As New MailMessage(from as string,to as string,subject as string,body as string)
client.Send(message)
Sathesh Pandian
|
|
|
|
|
Hi.. thanks for your reply. I really appreciate if you could be more specific with the code. Thanks in advance.
|
|
|
|
|
Dim EmailFrom As New MailAddress("send email address", "Web site name")
Dim EmailTo As New MailAddress("users email address", "Users name to send to ")
Dim message As New MailMessage(EmailFrom, EmailTo)
message.Subject = "Web Site Error"
message.IsBodyHtml = True
message.Body = "This is a new email for you"
Dim Client As New SmtpClient("Your SMTP Server")
Client.UseDefaultCredentials = False
Client.Credentials = Creds
Client.Port = 25
Client.Send(message)
|
|
|
|
|
Hi,
We have developed an application and for security reasons the browser 'back' button should be disabled.
Are there any ways to disable the browser history i.e. when the user clicks the back button in the browser the previous page should not be displayed.
Thanks
Gautham
|
|
|
|
|
Play with it
if(window.history.forward(1) != null)
window.history.forward(1);
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Unclear! and when to call this code snippet?
Gautham
|
|
|
|
|
in the page load
or call this from one antoher page i.e add new web form write a javascript function in aspx page and call your application first page in page load or
function load()
{
window.open('http://localhost:4828/CheckJavascriptClick/Default.aspx','TheNewpop','toolbar=0,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');
self.close();
}
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Hi,
I am new to Datagrid, Could any one suggest me the best link where i could get all information about datagrid usage in asp.net with samples.
Thanks in advance.
Be simple and Be sample.
|
|
|
|
|
|
|
This site has lot of examples of datagrid programming
http://datagridgirl.com/
Thomas
|
|
|
|
|
I went to that site the other day and it looks like it isnt as good as it used to be like it is focused on selling something now instead of just providing information.
Cleako
|
|
|
|
|
I am creating a word document in paragragh form..The field is named as datasource+column name.But in some fields value is replacing along with the fields.Result appears as 'Mergefield Fieldname +value'..Please suggest a solution for this..
Regards,
Lea
|
|
|
|
|
i want to trigger button click event of other site through coding.
for example
in gmail v ill give the username & password and click submit button it ill get login and display the second page.
i want i.e the process enter userid & password and click the submit button in some other site through coding.
if u want to know anyother details plse let me know.
|
|
|
|
|
you can use several methods to achieve this.
1. you can use ajax for login if the parameters are welknown like(txtUserName,txtPassWord)
2. you can use a iframe with the username textbox, userpassword textbox
and a button for login submit.pass the parameters to the main login page of the destination page.
3. you can use the destination page in the current page.
Sathesh Pandian
|
|
|
|
|
Hai all,
we all know the concept "overriding" is the example of runtime polymorphism.
now in .net 2.0, Look at this..
<br />
DataSet ds = new DataSet();<br />
DataTableReader DSdr = ds.CreateDataReader();<br />
DSdr.NextResult();<br />
DataTableReader DTdr = ds.Tables[0].CreateDataReader();<br />
DTdr.NextResult();<br />
here DSdr and DTdr has the method Next Result();
the reference given by dataset will work for NextResult and the reference given by datatable will return nothing. both the methods returns the datatablereader object reference and the the reference returned by dataset will only work for Next Result.
I think this can be a example of Runtime Polymorphism
Cheers
asithangae
|
|
|
|
|
Hi there,
i want to create a shopping cart in asp.net 2.0,the problem is that i want to create aspx or html pages dynamically agaisnt each product or item or category.
Like if have three products in Cat1, i wnat three html pages pointing to the same link(to the same shopping cart), please let me know any helpful link or practical expample of that.
many thanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Do you really have to generate separate pages? You can have one page that displays different information depending on any parameters that you send to the page.
---
single minded; short sighted; long gone;
|
|
|
|
|
Actually for better seo results i have to create seperate pages for each product.
Many thanks, adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Hello,
You can use the httpHandlers, you can do it by two one with support of web config file and another is only using coding for that you must know httpHandlers class. Also you need to knowlage how to utilize it.
For that you have skill of XML, Asp.net and Sql server.
Regards
Nimit Patel
|
|
|
|
|
Well, can your give on practical example, code sample or usefull links, i have basic knowledge of XML, good with ASP.Net, and good with SQL Server as well.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
hai all,
Can anyone guide me how to perform calculations in a datagrid by row wise as well as column wise.... Its urgent....plz
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
|
ya i already tried that.. but the calculation has done only for columns... there is no calc for rows....Do u have anyidea about this....
with Regards,
Imthiyas Ahamed.A
|
|
|
|