New Message on dotNET User Group Hyd

namespace common to sqlserver & oracle

Reply
  Reply to Sender   Recommend Message 2 in Discussion
From: johnsonsmithy2k2

Babu,
 
  I would like to answer your questions one by one.
 
 Qn 1: If you are using both SQL Server and Oracle, you can use both the namepaces. System.Data.SqlClient as well as System.Data.OracleClient. but my professional solution is, you better to use OleDB namespace, so tat, you can write custom function to generate/establish the connection for your different DB servers.
 
Qn 2: Viewstate comes in Two different phases, 1. Load View State (next to initilialize phase), 2. Save View State(next to prerender phase)
Load View State
At the end of this phase, the ViewState property of a control is automatically populated as described in Maintaining State in a Control. A control can override the default implementation of the LoadViewState method to customize state restoration.
Save View State
The ViewState property of a control is automatically persisted to a string object after this stage. This string object is sent to the client and back as a hidden variable. For improving efficiency, a control can override the SaveViewState method to modify the ViewState property.
 
Qn 3: You can convert Reference type into value type(Unboxing) in terms of explicit manner.
Qn 4:  You can convert you variable into DateTime using System.DateTime before pass the parameter value into SP.
 
Thanx,
Smith

 


View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to