Click here to Skip to main content
12,702,455 members (35,969 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET4
i want to have a customer table where i am having three textboxes and 1 button.1 text box is for name 2 nd is for phone no and 3rd is for email the end i am having a submit button.when ivl click the submit button it vl link the database and fetch details of can i do this?i am abeginner.please give me adetail idea.
Posted 7-Dec-12 2:31am
ryanb31 7-Dec-12 8:08am
This it one of the most basic concepts in web development, yet it takes a good amount of code and design to do it, more than can be explained here. I am sure there are plenty of articles on this site on how to do that.
aspnet_regiis -i 7-Dec-12 8:59am
No intention to demoralize you. But frankly speaking; you need to learn, C#/VB.NET, SQL and to achieve this. Get started as early as possible...Otherwise you will loose your job...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

HI shakti,

As you are the beginner I am advising you to do the following steps.

1. Add the text boxes and buttons that you need for your requirement.
2. Add a button click event to your submit button.
3. In the Submit button you can have the database operations and access the database and do your work that you want to do.

protected void lnkTransferFunds_Click(object sender, EventArgs e)
            ErrorResult errorResult = null;
                 //Do your db connection and access the data here.
            catch (Exception ex)
                errorResult = new ErrorResult();
                errorResult.ErrorMessage = ex.Message;
                errorResult = null;

Thanks & Regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100