473,382 Members | 1,657 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Link button Problem

I have a table called Student in my Database

StudentID, Firstname, Lastname, Email, City
Now I have created a webpage to retrieve all students. First I have a
datagrid that only display the student firstname and lastname

Secondly, when I click on any of the student, the information about
that particular student will be displayed in labels including his/her
email address.
Now I want to able to simply click on his email address open up email
client example outlook express.

In my asp.net code

I have the following to display the student info.

datarad = ds.Tables(0).Rows(0)

lblfirstname.text = datarad.item(1)
lbllastname.text = datarad.item(2)
linkbuttonemail.text = datarad.item(3)
lblcity.text = datarad.item(3)

I just need the code that will open my outlook express and place the
email address on the send to :

Thanks in Advance
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 19 '05 #1
1 1028
<a href="mailto:my*****@server.com">my*****@server.co m</a>
opens your email client.

"blackg" wrote:
I have a table called Student in my Database

StudentID, Firstname, Lastname, Email, City
Now I have created a webpage to retrieve all students. First I have a
datagrid that only display the student firstname and lastname

Secondly, when I click on any of the student, the information about
that particular student will be displayed in labels including his/her
email address.
Now I want to able to simply click on his email address open up email
client example outlook express.

In my asp.net code

I have the following to display the student info.

datarad = ds.Tables(0).Rows(0)

lblfirstname.text = datarad.item(1)
lbllastname.text = datarad.item(2)
linkbuttonemail.text = datarad.item(3)
lblcity.text = datarad.item(3)

I just need the code that will open my outlook express and place the
email address on the send to :

Thanks in Advance
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stanimir Stamenkov | last post by:
Here's an example: <form action="bogus" method="post"> <p> <a href="prev.cgi"><input type="submit" name="prev" value="< Back"></a> <a href="next.cgi"><input type="submit" name="next"...
3
by: VIJAY KUMAR | last post by:
Hi pals, I am using 2 web forms (pages). In first page, i have Datagrid control and on second page i have a hyper link control to the first page and Add value to the data grid/Database. ...
8
by: dev | last post by:
hey all, i have this demo code: <script> tog=0; function setvalue(id){ if(id){ tog=1 }else{ tog=0;
0
by: Dailan | last post by:
Hi, I create a tree view. Each node has link button associate with it, which includes add, edit, delete buttons. The way I did is for users who have very low capablity of using computer. Now I...
3
by: Shimon Sim | last post by:
I put linkbutton in a repeater header. I attached event handler in makeup as onclick="btnSort_Click". Made btnSort_Click method public. It doesn't fire if I click on it. I tried to attach it in...
26
by: Mica Cooper | last post by:
Hi, I need to pass some info in a javascript submit. <a href="javascript:document.formName.submit();">Submit Form</a> Normally a link would do page.jsp?x1=1&x2=2&x3=3 and you would pull x1,...
2
by: mick79 | last post by:
hello, here's my problem, I'm using navigationbuttons in html code with the tag <button> in order to use them as a link to a new website I should use Java. I've succeeded in making the link work...
1
by: phopman | last post by:
Hello lads! And ladderettes of course :-) I have a serious issue: I have a table. It consists of: ID Name Link ContentID ID is primary key, and ContentID is the foreign Key. What my...
0
by: Ty | last post by:
I have a page that has three gridviews on it. In each gridview the first column is a link button representing a Database ID field. What I'm trying to accomplish is to email that page and click on...
5
by: developApps | last post by:
This problem only occurs in Firefox.... I have a page (page 1) with a link button. The link button uses response.redirect to pass parameters and take me to a second page (page 2) when the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.