Good afternoon
How to call My Function with two parameters of type string?
I've done this way:
DataTable dt = new DataTable();
dt.Columns.Add("CODIGO", typeof(int));
dt.Columns.Add("TIPO", typeof(int));
dt.Rows.Add(1, 1);
dt.TableName = "TABLE";
//Create text
StiText dataText = new StiText(new RectangleD(0, 0, 5, 0.5));
string tableName = "People";
dataText.Text = "{new ClsClass().RetornaDescricao(tableName, TABLE.TIPO)}";
dataText.Name = "DataText";
But it returns the following error: "Invalid expression term"...
Anyone know what is wrong and how to solve this problem?
Thank you for the help and attention of all...
How to call My Function with two parameters
Re: How to call My Function with two parameters
Hello,
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.