Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Newbie: Datagrid ghost won't die

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mahalie@gmail.com - 01 Mar 2006 20:47 GMT
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!
mahalie@gmail.com - 01 Mar 2006 20:50 GMT
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

maha...@gmail.com wrote:
> 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
[quoted text clipped - 14 lines]
> Anyone know how I can kill the datagrid and get my program working
> again?  Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.