2
Answers

cannot implicitly convert type string to int

suhas setty

suhas setty

11y
1.3k
1
 public int GetChannel(string mac)
        {            
            while ((netshline = sr.ReadLine()) != null)
            {
                if(netshline.IndexOf("Channel") > 0)
                {
                   mac = netshline.Substring(netshline.IndexOf(":") + 1).ToString();            
                    
                }               
            }
            return mac;
        }

in return mac i am getting error
Answers (2)
0
Pankaj Gupta

Pankaj Gupta

NA 118 0 16y
hi,
As I understand your prob, you can put the RFV on the user control itself. if it is conditional according to page on which you are using web user control then please describe your prob in more detail.


0
Bechir Bejaoui

Bechir Bejaoui

NA 20.1k 5.3m 16y

are the textboxes within the webuser control or independant from it?