By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,520 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,520 IT Pros & Developers. It's quick & easy.

Someone 'splain this to me

P: n/a
I left a message here yesterday asking why the paging and sorting of my
datagrid wasn't working. Today, I created an identical datagrid and
associated code for paging and sorting called DataGrid2. The new datagrid
works perfectly with nearly identical code as DataGrid1. What would cause
this behavior? In a couple of other programs I've had that mysteriously
stopped working, I could comment out the line of code that stopped working,
re-type it verbatim and the program starts working again.

Mark
Jul 12 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Mark Brown wrote:
I left a message here yesterday asking why the paging and sorting of
my datagrid wasn't working. Today, I created an identical datagrid
and associated code for paging and sorting called DataGrid2. The new
datagrid works perfectly with nearly identical code as DataGrid1. What
would cause this behavior?
Nearly identical isn't identical...
In a couple of other programs I've
had that mysteriously stopped working, I could comment out the line
of code that stopped working, re-type it verbatim and the program
starts working again.
Are you using Option Strict On?

Are you switching into the design view? I find that sometimes severely
messes up html in VS2003, and if AutoEventWireup="false" gets changed, that
can be confusing.

Have you tried waving a large instruction manual at the monitor? :-)

Andrew
Jul 12 '07 #2

P: n/a
Are you working with multiple projects in a single solution?

I've found that occasionally VS will be helpful and not rebuild all projects
if it doesn't think it's necessary. This doesn't seem to work correctly
100% of the time. If you choose to "clean" you solution, and rebuild - does
that solve the issue?

"Mark Brown" <mb****@echd.no-spam.orgwrote in message
news:eV**************@TK2MSFTNGP03.phx.gbl...
>I left a message here yesterday asking why the paging and sorting of my
datagrid wasn't working. Today, I created an identical datagrid and
associated code for paging and sorting called DataGrid2. The new datagrid
works perfectly with nearly identical code as DataGrid1. What would cause
this behavior? In a couple of other programs I've had that mysteriously
stopped working, I could comment out the line of code that stopped working,
re-type it verbatim and the program starts working again.

Mark

Jul 13 '07 #3

P: n/a
Have you tried waving a large instruction manual at the monitor? :-)

Andrew
LOL! I think that's what I NEED to do just about everyday when something or
another stops working here...just wave a large instruction manual at the
monitor (and possibly some co-workers too!).

Mythran

Jul 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.