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
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
Explain why datareader is useful?
What is the difference between rest and restful?
Difference between application events and session events
How do you store a value in viewstate and retrieve them?
Will session work if cookies is disabled?
What are the new login controls in asp.net 2.0?
What are query strings used for?
Define a web service in .net?
Mention the execution process for managed code?
How many types of triggers are there in update panel?
Define xmlreader class.
Describe the master page.
what is command line compiler.what are the steps and how it is related to debugging.
What is meant by ispostback in asp net?