Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I have three Fields item no, Description and Quantity in one row of my invoice. what is the best way for user interface and entering to database.could you pls help me how do i do this?

Thanks


Regards
Lancy
Posted

There is no "Best way" when it comes to user interface - it is a very subjective thing. It may be that you have a company "look and feel" which you need to follow, or it may be that it needs to look like the rest of your application. Sorry, but I suggest you look at other similar examples, and decide what fits in with your application.

Similarly, there is no "best way" to enter information in the database - it may be that you want to use a DataAdapter, it may be that you have a database layer with appropriate classes, it may be that you want to do in it terms of an SQLConnection/SqlCommand pair. To a large extent, this will depend on how you design your user interface!
 
Share this answer
 
Comments
Joshi, Rushikesh 10-Nov-11 13:55pm    
totally Agree with you
Agree with Griff. You should the decide the things.
Anyway here a sample.

Master Detail CRUD Operations Using ASP.Net[^]
 
Share this answer
 
Comments
Lancy.net 10-Nov-11 22:50pm    
thanks a lot this is the one what i am looking.but since i am new feeling some difficulties in adding references like System.Web.Mvc.dll(dont have in my Microsoft ASP.NET folder), Jason and Datatable could you please guide how to do that?

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