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 about solution explorer window?
What are session and cookies?
how to include timer or counting time to display next page in asp.net
How does session work in asp net?
What is the life cycle of an asp.net page?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
What are the elements of a website?
What is a global postback url?
What are the types of caching in asp.net?
What is caching in asp.net?
How asynchronous call can be implemented using delegates?
What are the different types of sessions in asp.net? Name them?
What is difference between cache and session?
In which event of the page life cycle, is the viewstate available?
What is the function of the ViewState property?