Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1270 | Replies: 1
![]() |
•
•
Join Date: Mar 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Morning
am a beginner in (programming)asp.net(vb).Please help me with the code,After the user selected the value from the dropdownbox,and enter some in the textboxes,when the user click add entry(button),the values to be anded to the database and be displayed in the datagrid,for modification.
Thank you in Advance
am a beginner in (programming)asp.net(vb).Please help me with the code,After the user selected the value from the dropdownbox,and enter some in the textboxes,when the user click add entry(button),the values to be anded to the database and be displayed in the datagrid,for modification.
Thank you in Advance
•
•
Join Date: Feb 2007
Posts: 29
Reputation:
Rep Power: 2
Solved Threads: 1
I think you have found a solution.but,any way
I am assuming these dd,tb are not it the edittemplate of datagrid.
code looks like this
// FillDataGrid()
here you have total code for filling datagrid
like
connection,fill. etc..
in button click()
VALUE =val(dd1.selectedvalue)+val(tb1.text)
here write command obj update query by setting the required field with VALUE.
obj.ExecuteNonquery() will update the database.
the call again FillDataGrid()
I am assuming these dd,tb are not it the edittemplate of datagrid.
code looks like this
// FillDataGrid()
here you have total code for filling datagrid
like
connection,fill. etc..
in button click()
VALUE =val(dd1.selectedvalue)+val(tb1.text)
here write command obj update query by setting the required field with VALUE.
obj.ExecuteNonquery() will update the database.
the call again FillDataGrid()
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode