How can I allow user to create posts in website using ASP.NET?

how can i allow user to create posts in website using ASP.NET

  • I am making a website "Online voting system" a part of my academic project ... besides allowing the registered voters to vote on the posts that I have created while developing the voting system ... I want to allow users to create polls by themselves too regarding any thing How can I implement this scenerio using ASP.NET and c# in VS 2010 .. with the user posting polls having: Post title label Description about poll Radio buttons for displaying various options to allow voting process to be carried out when user selects one option and submit his vote...

  • Answer:

    Which part do you not understand? Because you have two basic questions here. First, how to create a poll site. For that, you'll conceptually need a HTML template that includes a poll title, description, and a generator for multiple radio buttons, and a form submission button to send it to the server. You'll also want some way to keep people from voting twice in the same poll, which involves identifying them (either by a registered username or by IP address) and storing in the database a description of who has already voted on what. Actually creating the polls is fairly simple: just set up a static form. (It gets trickier if you don't have a preset maximum number of answers to the question, of course.) It posts back to the server, which stores the new poll in the database. And then you need some sort of home page. It should have a login link (if applicable), a link to the poll creation form, and some way to view different polls, either a list or (if you have enough to make a simple list impractical) a search interface of some sort. Conceptually, that's pretty simple. The second question is "how do I implement that concept in ASP.NET?" That part I can't really help you with. But the concept itself is fairly simple, so if you understand ASP.NET you shouldn't have too much trouble translating it to code.

Sana at Programmers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.