2
Answers

C# "contains no aruguments'

dc

dc

11y
819
1
In a C# 2010 desktop application, I am getting the error message. "contains no aruguments'.

The error message comes from the line of code that says,

RPTProxy rptProxy = new RPT.RPTsample.RPTProxy();

Can you tell me what to look at to help to determine what is causing the problem?
Answers (2)
0
karthick t

karthick t

NA 2 0 9y
Hi,
   I have one doubt in export pdf in ASP.net c#.I do not know how to export textbox,label,gridview controls  in pdf format with different alignment.i tried to bind all controls in pdf but i cannot  arrange the controls in pdf format  when am i using gridview. can you give code for that.
0
Sanjeeb Lenka

Sanjeeb Lenka

NA 22.1k 1.3m 11y
Hi,

Take a table and put the controls within that in two columns.

try this sample:

<table>
            <tr>
                <td colspan="3" align="right">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 184px;">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
                <td rowspan="2" align="right">
                    <asp:Image ID="Image1" runat="server" Height="42px" Width="62px" />
                </td>
                <td style="width: 64px;">
                </td>
            </tr>
            <tr>
                <td style="width: 184px;">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
                <td style="width: 64px;">
                </td>
            </tr>
            <tr>
                <td style="width: 184px;">
                    <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </td>
                <td style="width: 64px;">
                </td>
            </tr>
            <tr>
                <td style="width: 184px;">
                    <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                </td>
                <td style="width: 64px;">
                </td>
            </tr>
            <tr>
                <td style="width: 184px;">
                    <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                </td>
                <td style="width: 64px;">
                </td>
            </tr>
        </table>

Any problem reply