.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

need help to create log in page

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :ASP.Net

greeting to the senior programmers , 

i am a fresh person into asp.net programmings, and i have designed a signup page using stored procedures, and its executed successfully, but i have tried it by myself by reading tutorials on the internet, and now i am going to design a log in page, that need to check the username and password that i have already used in signed up page, and need to use it to check the data source. 

i think you people can understand what it is. i have attached the code and sql details 

i have created a stored procedure for sign page too here i have attached the code, do i use stored procedure to do this thing, or how do i do this thing. please help me people. please.

this is the code for the signup page 


using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class _Default : System.Web.UI.Page 
    protected void Page_Load(object sender, EventArgs e)

    protected void btnSubmit_Click(object sender, EventArgs e)

View Complete Post

More Related Resource Links

Want to create Page URL rewrite based on Users GUID and Display name?



I am using the asp.net membership. 

On my site I have a Profile.aspx page.

In the code behind of this page,  i get the logged in UserId (Guid) and pass

this to a method in my DAL. GetUserByUserId()


In my database I have a Table called Member which the method gets the data from

and displays details on the page about  the user.


What I want to happen is when they have logged in and are diverted to Profile.aspx,

the page URL shows www.MyWebSite/Profile/UsersName 

for example



is this possible. In my Member table I have FirstName and LastName columns or do I get the

name from the membership table.


even better would be they go straight to www.MyWebsite/JohnSmith.aspx


thank you for any help






I want to create registration page and login page


I have design form layouts for signup and login pages 

Please provide me the step by step code for sign up and login pages using c# with validation.

waiting for urgent reply

How to create a single entry page for site collections in MOSS 2007



I have  7 site collections containing a few hundred team collaboration sites. Some users are internal (intranet) but most are external (extranet). Extranet users are experiencing problems with losing links to their sites and forgetting which URLs to use. So I would like to create a single entry page that all users can enter after the logon process, which shows a list of sites they have permission to access, and other user-specific information. Perhaps relevant documents, tasks, recently modified documents etc.

I know this sounds like a 'My Site' but we want to use use a general welcome page instead. We use Windows authentication.
What is the best way of doing this and is it something that can be done in SharePoing Designer or does it need to be done in Visual Studio?

Many thanks in advance.

how to create a wiki as page link

hi i want to create a page which should display all wikis and im looking to create a button which should redirect to the page tab with all wiki's

How to Create Page layout only for webpart zone

HI Guys, I want to Create Page layout for Publishing site in SP2010 so do i need to create Page Layout Based on Page content Type ? i have created page layout based on Page content type but when i save page i got error Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page. Please assist me.   Thanks Ronak Thanks Ron

How to create a custom webpart - similar to page viewer webpart but one that will be able to get a p

we want to pass a link to moview items from a list, the page viewer seems god to display the movies but it doesn't support connections....?

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

How to Create a Curriculum Vitae For every user on there profile page?

Hi, I have to create a Curriculum Vitae on everyones users profile page so they can fill it in and afterwards we can do searches on it to see the experience of our people. This has to be done in a webpart. All ideas are welcome... i have no idea how i need to start on this.. i was thinking of making a list and saving all data of everyuser in the list (but if i put a webpart on the profile page i guess i will only have 1 list for all users or not?). Or maybe creating a wiki with all the userprofiles and then a webpart that query's the wiki.. but will the search work then?   What would be the best sollution?  I'm working with sharepoint 2010 Enterprise Thanks a lot!!!   TIM

Create buttons for "new item" which create a new page of a specific content type

We have a Pages library (wiki) which supports a few content types (and page layout associated). We want to enable users to click a button for example of "new custom enterprise wiki page" - so a new page of content type article will be open in edit mode. Can someone help how to develop? (it has to mimic the behavior that happens when user creates new page from the Ribbon or Site actions and has to choose the content type, it also has to keep the new page in edit mode and not just create it).  

How to create a master page.

Hi, I am in the process learning to create a master page through asp.net tutorial provided in this web site.I am able to understand all the concept but i am having problem in few area:(1).How do i to have the left div to be fill fully on the left. REfer to pic Left.jpg(2).How do i to have the bottom div at the bottom always at the  bottom and not affected by the length of the content page. REfer to bottom.jpgMy master page code behind is <body> <form id="form1" runat="server"> <div id="topContent"> <a href="Default.aspx">Master Pages Tutorials</a> </div> <div id="mainContent"> <asp:ContentPlaceHolder id="MainContent" runat="server"> </asp:ContentPlaceHolder> </div> <div id="leftContent"> <p style="text-align: center;"> <asp:Label ID="DateDisplay" runat="server"></asp:Label> </p> <asp:ContentPlaceHolder ID="QuickLoginUI" runat="server"> <asp:Login ID="QuickLogin" runat="server" TitleText="<h3>Sign In</h3>"

Unable to Edit or Create Page under new subsites Moss 2007

I have created new subsites and trying to create a page, but it shows access denied error. Eventhough i have logged in as site collection administrator and given access as full control for subsite and also tried giving master page and style library read access. when i click on create page, I can enter the page name and after that it shows ACCESS DENIED . but the page is physically created and unable to edit.... Appreciate your help on this Issue....    

Does anyone know how to create a page that has Code behind in Sharepoint.

I am creating a page that will need some controls for dropdowns and radio buttons etc and I need to know if and how to setup and create a page in Sharepoint that has the code behind to handle click events, onselectedchange like .NET does.

unable to create wiki library with bulagarian name via custom ASPX page

hi, I am using one Aspx page where it takes the input from user and create the wiki library with the name entered by User. The issue is , when I am creating name in Eglish it is creating properly. but suppose I give library name  ¿¿¿¿¿¿¿ TEXT 4, I get the following error http://vm2003/ ??????? TEXT 4/Forms/AllPages.aspx?PageView=Shared ?? ??????????. which means ttp://vm2003/ ??????? text / AllPages 4 forms /. Aspx? PageView = shared does not exist. I dont know hwy it is redirecting to this page. but when i check on site , the library gets created with name ??????? TEXT 4 and its URL is http://vm2003/TEXT%204/Forms/AllPages.aspx if you see the bulgarian part is missed, please help.

"File Not Found" Error when Trying to Create a New Page

I have installed SharePoint 2010 Foundation with a Server Fram Configuration (in order to integrate it with the installed SSRS). On top of the foundation, I have created a site collection on port 80 (with business intelligence template). The site collection is running fine, as I could add web parts and edit the default page, however, when I try to create a new page from "Site Actions -> New Page" and then I put a page name like "NewPage" and click on "Create" button, I get the following error message: +++++ START OF ERROR MESSAGE +++++ Error File Not Found. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: efcb0dde-66ea-46df-b3a1-59a9918f6cb4 Date and Time: 9/12/2010 11:50:41 AM +++++ END OF ERROR MESSAGE +++++ Other error messages when I create site within this site collection and try to edit their pages. The steps I followed to do so are: "Site Actions -> New Site" Select "Business Intelligence Center" and put a title and URL name, and then click on create. The error message I get when I try to edit the defaul page on these newly created sites: +++++ START OF ERROR MESSAGE +++++ List does not exist. The page you selected contains a list t

Create a Page Layout for Enterprise Wiki with content

I need to create a Page Layout that for an Enterprise Wiki Page that already has content in the Rich Text HTML Field so when people go in to create a new page based off of the Page Layout they can go in and just replace the text with their own. Can this be done?

create a form to create an ascx page and code behind for it

Is is possible to build a form, accept parameters and from THAT construct a new .ascx page AND the code behind for that page? What I'm proposing is having some code snippets that just need parameters added and can then be used to create a web user control that can be added to existing pages. This .ascx file would be a real file after creation, not dynamic every time.I don't know if I'm describing it very well, maybe someone could point me in the right direction.

How to create CAB file and use ActiveX/ocx on ASP web page in VS2008

Hello, I have spent last couple of days on this subject but no luck :) I want to achive following using VS2008/C# - 1. create a cab file using existing AciveX/ocx control, 2. use the ActiveX on ASP.NET WebForm.   3. deploy the app and cab file on web server 4. Test/verify that the cab file get downloaded, and IE can use my ActiveX/ocx I found one nice tutorial on this but it is with VB.Net (not VS2008) - http://msdn.microsoft.com/en-us/library/aa291417(VS.71).aspx (the problem I get with VS2008 - can's see Authenticode Signing check box, or add ActiveX to Toolbox). I am newbie on this ActiveX stuff. Can anyone help/send me the link for tutorial or provide steps to acieve this. Thanks NC  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend