Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Unable to assign value to a textbox property in c#

$
0
0

Hi,

string stEx = cr.Text;
txtbox.Paragraphs[0].TextRuns[0].Value.Expression = stEx;

I have a value in stEx and I need to assign it to `

txtbox.Paragraphs[0].TextRuns[0].Value.Expression

`Now I am getting the below error.

Cannot modify the return value of TextRun.Value because it is not a variable

Really appreciate any suggestions on this.


Viewing all articles
Browse latest Browse all 1418

Trending Articles



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