- Mesajlar
- 494
Slm.Bu hafta veri tabanına bağlantıyı anlatacam etkileşimli web uygulamaları modülünde sayfa 77'deki database örneğini yaptırcam.Aşlağıdaki hatayı veriyor.Application panelinde baglantiyi tıklayınca tablonun ismi gözükmüyor.Çalışmış bir örneği olan varsa gönderebilir mi?Ya da hata nerde olabilir.
Fill: SelectCommand.Connection property has not been initialized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Fill: SelectCommand.Connection property has not been initialized.
Source Error:
Line 12: adaptor.SelectCommand=komut
Line 13: Dim kisiler As New DataSet
Line 14: adaptor.Fill(kisiler,"tkisiler")
Line 15: datagrid1.DataSource=kisiler
Line 16: datagrid1.DataBind()
Fill: SelectCommand.Connection property has not been initialized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Fill: SelectCommand.Connection property has not been initialized.
Source Error:
Line 12: adaptor.SelectCommand=komut
Line 13: Dim kisiler As New DataSet
Line 14: adaptor.Fill(kisiler,"tkisiler")
Line 15: datagrid1.DataSource=kisiler
Line 16: datagrid1.DataBind()