Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 address.at the end i am having a submit button.when ivl click the submit button it vl link the database and fetch details of customer.how can i do this?i am abeginner.please give me adetail idea.
Posted
Comments
ZurdoDev 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.
bbirajdar 7-Dec-12 8:59am    
No intention to demoralize you. But frankly speaking; you need to learn asp.net, C#/VB.NET, SQL and ado.net to achieve this. Get started as early as possible...Otherwise you will loose your job...

1 solution

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.

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


Thanks & Regards
Sisir
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900