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
Explain asp.net web forms.
What are the Difference between asp.net and asp ?
Where the assembly is stored in asp.net?
List the asp.net validation controls?
What is protected configuration?
Can you explain autopostback?
Describe the difference between inline and code behind - which is best in?
What are the types of caching in asp.net?
How is session id generated?
What are the authentication types in asp.net?
Explain asp.net application life cycle?
How to implement role based security in asp.net mvc? : Asp.Net MVC
Explain the different parts that constitute ASP.NET application?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What is session management in web application?