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 / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

rowupdating- I cant get values of columns - blanks- please advise

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
maggie - 25 Oct 2007 18:14 GMT
hi there,
I think this is the 3rd forum where I have posted this question, but so far,
I guess I haven't explained myself well enough.  Anyway,  I have an unbound
gridview that uses a stored procedure to fill it.  It is working fine and
fills the grid ok, but when I try to refer to the columns of the row I am
editing, I cannot get anything.  I can display values from the row I didn't
click on though, which is really weird to me. I tried to look for
newvalues,but newvalues.count is zero.  I saw an article where I should go
through the idictionary (e.keys.keys), but I dont get anything there either.
Am I checking for things in the wrong event?  I'm really frustrated, can
somebody shed some light for me?  This is how I am checking for my column
values :
Dim x As String = GVTimeSheet.Rows(e.rowindex).Cells(14).Text
I am setting the e.neweditindex to e.rowindex in the rowediting event , then
calling my binding procedure. I have enabled rowupdating,rowediting,
rowcanceing,etc. I have set my datakeynames up. What did I miss? I look
forward to your reply.

thanks a lot.
maggie - 25 Oct 2007 19:25 GMT
hi,
I found a posting that talks about the problem I have. It's some code by S.
Cheng, where he uses ExtractValuesFromCell.  I tried this, but it never goes
beyond two columns( I have 20). So, that doesn't work for me. Is it because I
am not using templates?

> hi there,
> I think this is the 3rd forum where I have posted this question, but so far,
[quoted text clipped - 15 lines]
>
> thanks a lot.

Rate this thread:







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.