Buy Questpond's video subscriptions on
huge discount
.
Online: 1158
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
how to get notification on data insertion for approval in asp.net C#
Posted by
Arvindtomar
under
ASP.NET
on 1/8/2014 |
Points: 10
| Views : 7414 | Status :
[Member]
| Replies : 4
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
I want to get notification like facebook, when any person insert data or register and admin get notification for approval in asp.net or aspx page npt on email id
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
vishalneeraj-24503
on: 1/8/2014
[Member]
[MVP]
Platinum
|
Points: 25
0
You can implement email logic,when insert operation happens.
In btn_save event,if record successfully inserts into DB,then write email logic.
for email:-
http://www.codeproject.com/Tips/371417/Send-Mail-Contact-Form-using-ASP-NET-and-Csharp
http://www.aspdotnet-suresh.com/2010/11/introduction-this-article-i-will.html
Arvindtomar
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Arvindtomar
on: 1/8/2014
[Member]
Starter
|
Points: 25
0
Thanks Vishal@Neeraj .But sir email logic work on smtp but when i use aspx page for data insertion and second page on admin side how get notification and approve data(publish) when data is valid other wise data data is pending
Arvindtomar
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
vishalneeraj-24503
on: 1/8/2014
[Member]
[MVP]
Platinum
|
Points: 25
0
Then,take a
status column as varchar(10)
in your table.
1st time when you are inserting data,then set status = '
Pending
'.
when on another page will populate,the record will be displayed as Pending in the gridview. take one button inside gridview as Approved,click on this button,
update your status column as '
Approved
' based on primery_key value.
next time the same record will be displayed as Approved in gridview.
Arvindtomar
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
kgovindarao523-21772
on: 1/8/2014
[Member]
[MVP]
Bronze
|
Points: 25
0
Hi,
In your database table, take a flag column and when user clicks on activation link,
you have to set flag for that user by using your code. If user doesn’t click on activation link, the flag is not set and user is in pending state.
Thank you,
Govind
Arvindtomar
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...