15,888,401 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by hasan25x (Top 4 by date)
hasan25x
7-Jan-23 9:42am
View
I want to add that values with textbox.thank you.
hasan25x
3-Jan-23 1:39am
View
I want to add an information about my request.
I have 3 different textboxes for serials.
And when I click the button I want to save them for each row in database table.
Textbox1.Text="HP" ==> STOCKID
Textbox2.Text="İ5" ==> MODEL
Textbox3.Text="3" ==> QUANTITY
Textbox4.Text="11231231"; ==> SERIAL-1
Textbox5.Text="11231231"; ==> SERIAL-2
Textbox6.Text="11231231"; ==> SERIAL-2
Button click event...
Result should be as below.
FIRST GRIDVIEW
STOKID MODEL QUANTİTY
HP I5 3
SECOND GRIDVIEW
STOKID MODEL SERIALS DELETEBUTTON
HP I5 32165161 BUTTON
HP I5 12313223 BUTTON
HP I5 16516516 BUTTON
AND When I delete from serials one bye one the first gridview QTY should decrease 1 for each serials...Is it possible ?
hasan25x
3-Jan-23 1:08am
View
Hi again, that's my problem. I mean I knot that ı have to do it with loop and textbox array.
I think ı have to create an array for textboxes and use it in for loop.
But I have also store procedure that means when I insert that I have to make it in store procedure.
I have a stock program.In a page I have two gridviews.First gridview shows StockID,Model,Quantity...
and second gridview shows StockID,Model,serials(Which relation with stock id from first grid.)
first gridview
HP i5 3 (QTY)(AT service for repair) Date....
CASPER i3 1 (QTY)(AT service for repair) Date....
Second gridview
HP i5 2112412421 (Delete button here row. When i click to button first Gridview QTY
decreasing )
HP i5 1242421424
HP i5 1421421421
CASPER i3 2532535323
hasan25x
30-Dec-22 11:00am
View
Hello, thank you for your answer. How can I insert values with 3 insert statements?
I use visual studio for asp.net . I have 6 textboxes and 3 of them for serials, 3 of them for their problems. After check textboxes with button click event I want to see the result as above. ex: FOR same ID : HP 3 serials enter at the same time with button. I use store procedure.Thank you.