Dim cmd As New SQLCommandDim ds As Datecmd.Ccmd.CommandText = "Select GetDate()"ds = cmd.ExecuteScalar()Return ds
原来函数是这样的 现在怎么办