Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
i have three texbox under two heading like this...

Stock Name                        qty

TextBox 1                       TextBox 2

Textbox 3                       TextBox 4

TextBox 4                       TextBox 5

In sql server i have a table code

Create table billing
(
   SID int primary key identity(100,1)
   Sname varchar(250) unique,
   Qty varchar(250)
)


Is it possible to take all the texbox values to the table and insert as they appear in front end if yes then i just want to know the logic..........

Thank you.......sir/ma'am
Posted
Updated 28-Mar-13 3:06am
v4
Comments
bbirajdar 9-Mar-13 8:15am    
Learn the basics of asp.net and ado.net first.. Is it possible to teach english poems to a person who does not know alphabets ?

1 solution

It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


For now, to start with, steps:
1. Design a webpage that thats ItemName and quantity
2. Save the Item with quantity in database, where you maintain every entry via BillID

Following will help you to learn on how to talk to DB: Simple ADO.NET Database Read, Insert, Update and Delete using C#.[^]
 
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