TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
anitha r
NA
20
20.6k
How To Send Email Using DomainServiceClass in Silverlight
Apr 23 2011 2:37 AM
I Have a Data Grid as Follows:
CheckBoxField,EmployeeName, EmployeeId,LeaveStatus,SubCode
* , XX , 1 , Pending ,2
and i have 2 tables They Are Employee table, and Leave Table...
Employee Table Have Following datafields:
Employee Id,EmployeeName,Email
1 , XX ,
[email protected]
2 ,YY ,
[email protected]
Leave Table Have The Following Fields :
EmployeeId,EmployeeName,LeaveStatus,SubCode
1 ,XX ,Pending ,2
And My DataGrid ItemSource=Leavetable
Am Using DomainServiceClass and Ado.NetDataEntityModel
My Question Is?
When User Check The CheckBox In DataGrid And Click The Cancel Button The LEaveStatus Will Be UpDated As "Cancelled" And Mail Whould Be Automatically Send To The Employee
In This The Mail FromAddress Would Be TakenBy EmployeeTable Which One Is Equal To Current User Based On That Id The From Email Address Would Be Taken
and To Address Is Which One Is Equal To SubCode ThatMeans
From LeaveTable SubCode=EmployeeTable EmployeeID Then The Email Address Of Equal To SubCode Will Be taken as To Address
Finally My Question Is
How To Send a Mail From:
[email protected]
Mail To:
[email protected]
Reply
Answers (
1
)
Hide Mdi Parent form
How to take 2 argument from textbox to method