Ekrem Tapan

Ekrem Tapan

  • NA
  • 967
  • 81k

vb connection to c#

Dec 30 2015 3:30 AM
Hi everyone
anybody can i help me ? how can i convert to C# this VB code 
thanks~
 
Public Sub New() 
MyBase.New(ConnectionStrings("Conn").ToString, "")
Me.SelectCommandType = SqlDataSourceCommandType.StoredProcedure
Me.InsertCommandType = SqlDataSourceCommandType.StoredProcedure
Me.DeleteCommandType = SqlDataSourceCommandType.StoredProcedure
Me.UpdateCommandType = SqlDataSourceCommandType.StoredProcedure
End Sub

Answers (2)