Not not quite what I wanted but it did give me some ideas so thank you for that
After some time on the web I got a idea of what I whould like but can not find out how to do it
What whould like is to have a the bottom of every page(Know how to do that) or on one page(Have to see what happens) is comment box were people type in there comment and it shouws up in the box along with all the other ones. I whould like this all stored
in a SQL database and I need to edit and delete the comments. I do not need to setup login for this they can just type a name in I don not care excpet I whould like it so that the name admin can not be typed in because I whould like it reserved for me.
So here is my problem:
I need to use AJAX so that it refersh every time the button comment is hit but I do not know any thing about AJAX
Also I have no idea how to use SQL and have never worked with a database in my life.
Also I whould like this self coded and not downloaded
I whould like to have a comment box in my web site.
Hi,
We can store content in a XML file. There is a very simple sample from the following link for you to learn how it works, then you can do it by yourself.
It looks cool but some of the code is broken and is writen in VB wich I know little about so it will take me some to time to fix it and he/she did not explain very will what they were doing. So if some like this that is writen in C# that whould be most helpful.
Thanks though for the data acces tutorial I am going to start looking at and see if this will give me some Ideas.
dr1134
Member
1 Points
7 Posts
ASP.NET Comment Box
Nov 20, 2010 11:45 PM|LINK
I have a website that is selfhost by me using IIS 5.1 and I whould like to have a comment box in my web site.
I do not have IIS setup for php and I whould like to avoid AJAX but I will do it if I have to.
My web site is setup for asp.net 4 and only that.
I whould like this to be self code so some kind of tutorial that use what know which is html, asp.net, and some javascript whould be nice.
ajax .NET Tutorials <asp.net>
sreejukg
All-Star
27493 Points
4094 Posts
Re: ASP.NET Comment Box
Nov 21, 2010 03:09 AM|LINK
If you mean something similar to pop up window using script, you can use jquery for this.
see the samples here
http://www.clientsideasp.net/2009/06/16/showing-beautiful-message-boxes-in-aspnet-web-forms-using-jquery-impromptu/
My Blog
dr1134
Member
1 Points
7 Posts
Re: ASP.NET Comment Box
Nov 21, 2010 01:47 PM|LINK
Not not quite what I wanted but it did give me some ideas so thank you for that
After some time on the web I got a idea of what I whould like but can not find out how to do it
What whould like is to have a the bottom of every page(Know how to do that) or on one page(Have to see what happens) is comment box were people type in there comment and it shouws up in the box along with all the other ones. I whould like this all stored in a SQL database and I need to edit and delete the comments. I do not need to setup login for this they can just type a name in I don not care excpet I whould like it so that the name admin can not be typed in because I whould like it reserved for me.
So here is my problem:
Any help will be much appreciated
"visual studio" .Net 4.0
Wenchao Zeng...
Star
14673 Points
1496 Posts
Re: ASP.NET Comment Box
Nov 24, 2010 02:01 AM|LINK
Hi,
We can store content in a XML file. There is a very simple sample from the following link for you to learn how it works, then you can do it by yourself.
# XMLMessageBoard.Net – A SIMPLE XML Message Board written in ASP.NET (w/ Ajax & CAPTCHA)
http://www.leonamarant.com/2008/04/25/xmlmessageboardnet-a-simple-xml-based-message-board-written-in-aspnet-w-ajax-and-captcha/
Also, if you want to learn how to work with database, please have a look at this link (http://www.asp.net/learn/data-access/).
Hope this helps you.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
dr1134
Member
1 Points
7 Posts
Re: ASP.NET Comment Box
Nov 25, 2010 12:02 PM|LINK
It looks cool but some of the code is broken and is writen in VB wich I know little about so it will take me some to time to fix it and he/she did not explain very will what they were doing. So if some like this that is writen in C# that whould be most helpful. Thanks though for the data acces tutorial I am going to start looking at and see if this will give me some Ideas.
<asp.net>
ankum16
Member
141 Points
106 Posts
Re: ASP.NET Comment Box
Dec 28, 2010 04:10 PM|LINK
Hello , I have made a comment box :
http://www.dotnetsnippets.co.cc/2010/10/comment-box-in-aspnet-xml.html I hope u like it . It uses XML to store values . I have also made one letter Captcha . Nice Na :)
It's Ready 2 download code snippet
dr1134
Member
1 Points
7 Posts
Re: ASP.NET Comment Box
Jan 04, 2011 06:37 PM|LINK
Thank you for this it is what I need
abhishekshar...
Member
3 Points
26 Posts
Re: ASP.NET Comment Box
Jul 18, 2012 05:00 PM|LINK
hello ankum i also working on making social networking site in asp.net can you provide your commentbox code i click on your code but it gave error
anoopksh
Member
21 Points
19 Posts
Re: ASP.NET Comment Box
Jul 27, 2012 12:19 PM|LINK
Hi Ankum,
Your link does not work can you please update it or send the code.
anoopksh@hotmail.com
thanks in advance :-)