Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Text is not Displaying

$
0
0

Hai

I am trying to fill one textbox with some concatenated  string fetched from  database on leave of another textbox and this is using in many forms.So i want to make it common function. I wrote  a function in common class like

 public void FillpartyAddress(string Partycode, TextBox txtAddress)
 {

 string strAddress;

// some codes.

txtaddress.text=strAddresss.

}

My problem is While running ,the corresponding textbox is empty. i check the text of the corresponding textbox text after calling this function, it has some text but when the form load its not there.

Please some one help me

thanks



Viewing all articles
Browse latest Browse all 12583

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>