What is operator used in ASP.NET2.0 instead od "& _"
-
Hi, I am working with Visual Web Developer 2005(c#.net). I want to pass more than 15 parameters to a function. So,for clarity i wrote the function in multiple line using the operator "& _". But,it doesn't work and i get an error message as 'The name '_' doesn't exist in the current context. Can anybody help me in this?.
-
Hi, I am working with Visual Web Developer 2005(c#.net). I want to pass more than 15 parameters to a function. So,for clarity i wrote the function in multiple line using the operator "& _". But,it doesn't work and i get an error message as 'The name '_' doesn't exist in the current context. Can anybody help me in this?.
-
Hi, I am working with Visual Web Developer 2005(c#.net). I want to pass more than 15 parameters to a function. So,for clarity i wrote the function in multiple line using the operator "& _". But,it doesn't work and i get an error message as 'The name '_' doesn't exist in the current context. Can anybody help me in this?.
-
in vb.net there is no End of the line character ";" so if you want to break a single line into 2 you have to use "-". In C# we have ";", so we can split a line into 2. Ex: Response.Write ( "Hi, Like this" ); :)
//you can use like this also Response.Write("hi,"+path+"");
Padmanabhan
-
in vb.net there is no End of the line character ";" so if you want to break a single line into 2 you have to use "-". In C# we have ";", so we can split a line into 2. Ex: Response.Write ( "Hi, Like this" ); :)
objIncidentBL.UpdateIncidentDetails(Convert.ToInt32(txtIncidentNo.ToString()), txtApplicationName.ToString(), txtIncidentType.ToString()); I have to pass 15 more parameters in this function.if i use '+' as below,i m getting an error message such as operator '+' cannot be applied to operand of type string. objIncidentBL.UpdateIncidentDetails(Convert.ToInt32(txtIncidentNo.ToString()), + txtApplicationName.ToString(), + txtIncidentType.ToString());
Yazhini
-
objIncidentBL.UpdateIncidentDetails(Convert.ToInt32(txtIncidentNo.ToString()), txtApplicationName.ToString(), txtIncidentType.ToString()); I have to pass 15 more parameters in this function.if i use '+' as below,i m getting an error message such as operator '+' cannot be applied to operand of type string. objIncidentBL.UpdateIncidentDetails(Convert.ToInt32(txtIncidentNo.ToString()), + txtApplicationName.ToString(), + txtIncidentType.ToString());
Yazhini