One application have three forms for registration .submit
button is at third form.after filling three forms only u
have to click submit button.After clicking the submit
button all the values in first,second& third form saved on
sql server.how to handle this situation .
Answer Posted / sujatha
Create One Class File add Property to set the values
like that
Public Class cls
Private _Customerid As String
Public Property Customerid() As String
Get
Return _Customerid
End Get
Set(ByVal Value As String)
_Customerid = Value
End Set
End Property
end class
in the coding side
we can create instance for that class assign the given
values
Public Install As New clsInstall
Install.Cutomerid= txtAddress.Text
we can assign all values in one class after that click
submit button we can get values from the class and store it
in sql server
Dim custmerid as string
customerid = Install.Address
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Elaborate differentiation between Cache and Application?
How does session id work?
How do you sign out from forms authentication?
Explain how cookies work.
What is cross page posting? How is it done?
What are the namespace classes used in asp.net mvc? : asp.net mvc
What are the 3 types of web?
Write a code for passing ArrayList in Web API?
Differentiate between file-based dependency and key-based dependency.
Why is the standalone environment only useful during the development process?
What is a runtime version?
Can we have a web application running without web.config file?
How can you handle exceptions in asp.net?
To load your generated dataset with data which method do you invoke?
What is http post and http get?