Click here to Skip to main content
16,014,294 members

Comments by codemagpie (Top 8 by date)

codemagpie 18-Nov-10 5:08am View    
Hi
Just found a problem with this code. If there's more than 1 row it doesn't populate the date correctly, it just enters a blank date (I assume this is because of the foreach statement).

When ther is just 1 row, then the code works fine.

Would you be able to offer me an improved method?

Thanks

Pete
codemagpie 18-Nov-10 4:43am View    
Thanks SChristmas, worked like a charm, excellent thank you so much
codemagpie 28-Oct-10 10:32am View    
Hi
Still getting the red underline with that, full error is below:

Error 20 'System.Web.UI.WebControls.GridViewRow' does not contain a definition for 'cell' and no extension method 'cell' accepting a first argument of type 'System.Web.UI.WebControls.GridViewRow' could be found (are you missing a using directive or an assembly reference?) C:\Connect\Connect Solution\Connect V1 Source\crm\addactions.aspx.cs 107 39 C:\...\Connect V1 Source\

HTH

Thanks again

Pete
codemagpie 28-Oct-10 10:22am View    
Hi Imdadhusen

I tried as you suggested but get a red underline under the cell entry and then the following error:

'System.Web.UI.WebControls.GridViewRow' does not contain a definition for 'cell' and no extension method 'cell' accepting a first argument of type 'System.Web.UI.WebControls.GridViewRow' could be found (are you missing a using directive or an assembly reference?)

I would appreciate if you could offer any further help.

Thanks for the speedy answer.

Pete
codemagpie 25-Oct-10 7:02am View    
Thanks guys for all your answers, most appreciated as usual