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
Can you explain how ASP.NET application life cycle and page life cycle events fire?
How do you identify that the page is postback?
Why should i prefer JSP over asp.net or any other web development language..??
Explain the difference between the web config and machine config.
Is asp.net mvc front end or backend? : Asp.Net MVC
Why do we need a web application session?
What are different methods of session maintenance in asp.net?
What is Web Server Control Templates.?
How to create multi language website in asp.net mvc? : Asp.Net MVC
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
What are the Types of object in asp
What is repository pattern in mvc.net? : asp.net mvc
How asp.net mvc differs from asp.net web forms? : asp.net mvc
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
Describe Segmentation With Paging?