c# Pass parameter value

Hi, I have a problem to pass value. I have already read the documentation. But I did not solve this problem.

My database is mysql, and it is sql query
SELECT Q.name, Q.surname FROM `table1` Q where Q.id = @id

This is parameter properties

                report1.Load("C:/Users/Administrator/Desktop/20.01.2015 - Demo v1.20/rfcontrol/rfcontrol/reports/table1.frx");
                report1.SetParameterValue("id", textBox.Text);
                report1.Show();

What is my mistake? I have made efforts for 3 days but not any result > Please help me

Comments

  • edited August 2015
    Hi,
    DataType of 'id' in Fast-Report-Designer is Int32, but DataType of 'textBox.Text' ist string.



    But: my problem ist, that the parameter-passing does'nt work, even though the data-types are matching. [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" /> Sloving the problem: The paramter has to be passed as type[/img]Object....

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.