2
Answers

vb connection to c#

Ekrem Tapan

Ekrem Tapan

8y
299
1
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)