Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to add Link button control or hyperlink to table cell Dynamically . Pin
Abhijit Jana7-Aug-08 2:29
professionalAbhijit Jana7-Aug-08 2:29 
QuestionApply theme to website but not to masterpage Pin
AlexeiXX36-Aug-08 14:32
AlexeiXX36-Aug-08 14:32 
AnswerRe: Apply theme to website but not to masterpage Pin
Abhijit Jana6-Aug-08 17:37
professionalAbhijit Jana6-Aug-08 17:37 
GeneralRe: Apply theme to website but not to masterpage Pin
AlexeiXX37-Aug-08 6:27
AlexeiXX37-Aug-08 6:27 
Question[Message Deleted] Pin
excaliber6-Aug-08 11:17
excaliber6-Aug-08 11:17 
AnswerRe: GRIDVIEW HELP Pin
AlexeiXX36-Aug-08 14:14
AlexeiXX36-Aug-08 14:14 
GeneralRe: GRIDVIEW HELP Pin
excaliber7-Aug-08 3:32
excaliber7-Aug-08 3:32 
GeneralRe: GRIDVIEW HELP Pin
excaliber7-Aug-08 4:02
excaliber7-Aug-08 4:02 
I converted the code over to c# as best i could, but i'm getting some errors. any ideas? The error is:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'System.Data.DataRowView' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Data.DataRowView' could be found (are you missing a using directive or an assembly reference?)

Source Error:



Line 126: }
Line 127:
Line 128: if ((row.Item("expdate") > Now.AddMonths(-3)))
Line 129: {
Line 130: e.Row.CssClass = "expDomains";


& the code is:

if (e.Row.RowType == DataControlRowType.DataRow)	
{
			
    System.Data.DataRowView row = (System.Data.DataRowView)e.Row.DataItem;
			
    if ((row == null)) 
    {
	return;
    } 
			
    if ((row.Item("expdate") > Now.AddMonths(-3))) 
    {  
	e.Row.CssClass = "expDomains";
    } 
}


thanks.
GeneralRe: GRIDVIEW HELP Pin
AlexeiXX37-Aug-08 6:25
AlexeiXX37-Aug-08 6:25 
QuestionMoss Ajax WebService Pin
Member 36653156-Aug-08 11:10
Member 36653156-Aug-08 11:10 
QuestionHost Website Pin
niravpatel016-Aug-08 8:52
niravpatel016-Aug-08 8:52 
AnswerRe: Host Website Pin
Abhijit Jana6-Aug-08 17:41
professionalAbhijit Jana6-Aug-08 17:41 
AnswerRe: Host Website Pin
nibinki3336-Aug-08 22:44
nibinki3336-Aug-08 22:44 
QuestionMissing parameter values. Crystal Report in ASP.NET 2008 Pin
judoh6-Aug-08 8:16
judoh6-Aug-08 8:16 
AnswerRe: Missing parameter values. Crystal Report in ASP.NET 2008 Pin
janakinandhu6-Aug-08 23:14
janakinandhu6-Aug-08 23:14 
GeneralRe: Missing parameter values. Crystal Report in ASP.NET 2008 Pin
judoh7-Aug-08 7:28
judoh7-Aug-08 7:28 
GeneralRe: Missing parameter values. Crystal Report in ASP.NET 2008 Pin
janakinandhu7-Aug-08 18:54
janakinandhu7-Aug-08 18:54 
QuestionWebservice on multiple servers Pin
balu123456-Aug-08 7:23
balu123456-Aug-08 7:23 
QuestionAttempted to access an unloaded AppDomain Error Pin
Tomb4216-Aug-08 5:18
Tomb4216-Aug-08 5:18 
AnswerRe: Attempted to access an unloaded AppDomain Error Pin
Tomb42115-Aug-08 4:20
Tomb42115-Aug-08 4:20 
Questionerror with image button Pin
eyeseetee6-Aug-08 4:14
eyeseetee6-Aug-08 4:14 
AnswerRe: error with image button Pin
Bardy856-Aug-08 4:23
Bardy856-Aug-08 4:23 
AnswerRe: error with image button Pin
eyeseetee6-Aug-08 4:36
eyeseetee6-Aug-08 4:36 
GeneralRe: error with image button Pin
Bardy856-Aug-08 4:42
Bardy856-Aug-08 4:42 
GeneralRe: error with image button Pin
eyeseetee6-Aug-08 5:12
eyeseetee6-Aug-08 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.