查看完整版本: asp.net & gridview

highst 2008-2-4 01:02 PM

asp.net & gridview

i am wondering if anyone knows about this?

i have a gridview in a page, after the databinding i was able to access to the controls using the findcontrol features in the ItemTemplate, but the problem is that i received a null references error when i tried to access to the controls in the EditItemTemplate.

has anyone experienced anything like that? or know anything about how to solve the problem?  thanks!

cheerychums 2008-2-5 01:42 PM

usually i'll check if any data value of the dataset will be null before i return the dataset and do the databinding....

highst 2008-2-20 03:28 PM

the issue here is not that the dataset is empty, since i was able to see all the records on the page.  the null reference error shows up when i click on the [edit] button for one of the records....

Network 2008-4-8 11:14 PM

is it DBNull error ??

gravija 2008-4-9 04:29 PM

how to run asp files without IIS? i'm using winxp home,so i didnt have IIS support.

Network 2008-4-9 10:37 PM

I use the Visual Studio can run the aspx
頁: [1]
查看完整版本: asp.net & gridview