dissumbioというストアドプロシージャがあり、これは何らかの値を返します
今、私は自分のasp.netプログラムでこれを呼び出したいと思っています。戻り値はテキストボックスに表示されます
私のコードは次のとおりです
Dim admdate As String
admdate = Mid(txtadmdate.Text, 4, 2) + "/" + Left(txtadmdate.Text, 2) + "/20" + Right(txtadmdate.Text, 2)
Dim cmd As New SqlCommand
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.AddWithValue("@strId", txthospno.Text)
cmd.Parameters.AddWithValue("@strfromdate", admdate)
cmd.Connection = sqlConn2
cmd.CommandType = CommandType.Text
cmd.ExecuteNonQuery()
これはarjentです。助けてください
前もって感謝します
シュバ