1

こんにちは、私のAndroidアプリケーションが私のサムスンギャラクシータブ2で非常にうまく動作していたので驚いていますが、今はlogcatでこのエラーがあります.

org.json.JSONException: Value <.doctype of type java.lang.String cannot be converted to JSONObject

ファイアウォールへのポートを開き、mysql を youtube ビデオに基づいてリモート アクセスおよび phpmyadmin に構成しました。

どうすればいいのかわからないので、助けが必要です!!?

JSONException: Value of type java.lang.String cannot be convert to JSONObjectの応答が表示されます

tks

http 403のようなエラーがあります


DataGridView または DataGridView1.CurrentRow が null です ...

エラーを回避するには、アクセスを試みる前に null でないことを確認するだけです。

Dim a as Integer = 0
If DataGridView1 IsNot Nothing AndAlso DataGridView1.CurrentRow IsNot Nothing Then 
 a = DataGridView1.CurrentRow.Index 'this certain line contains the error
EndIf
4

2 に答える 2