Getting the string value

Last Reply on Mar 26, 2012 01:48 AM By vinayak

Posted on Mar 26, 2012 01:39 AM

Hi

I need to get the string value from another method.how to do?

Thans

Posted on Mar 26, 2012 01:48 AM

create method like

 

private string GetStringValue(){  return "hi vinayak";}
and call this method in another method like
 

 

protected void SetStringValue(){ string UserName = this.GetStringValue;}

 

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html?aff_id=108