Newbie: Datagrid ghost won't die

  • Thread starter Thread starter mahalie
  • Start date Start date
M

mahalie

I am reading a book and doing example exercises. I had a working
program that I'd rather not recreate and messed it up by adding
(experimenting with) db connections and a datagrid to a VB web forms
project.

I deleted the datagrid in the GUI, the dbConnection, dataadapter and
datagrid thing and can't find any traces of it in the code behind page,
even in the 'Windows Form Designer Code' section.

But when building the proejct I get a 'Sub Main' was not found in
project1.form1 and the datagrid still shows up on the main form.

There are references to $this.Grigdsize and other dataset properties
in the form1.resx file (I don't even know what a .resx file is but it
came up in the errors list.

Anyone know how I can kill the datagrid and get my program working
again? Thanks!
 
Oops, I think I found it. Wouldn't you know clicking on the error
actually provided a clue!

My main form's 'Public Class Form1' was changed to 'Public Class e'
somehow....

Problem solved but I would certainly still learn much from any
explanation of what happened. Tx again.

~mahalie
 
Back
Top