Hi,
I have a table with 7 columns. One column name is Class. It works fine with my gridview and Crystal Reports. But Stimulsoft report is showing error message. It seems to me that the Class column is creating the problem. How i can resolve it? The exception details:
System.Exception: C:\Documents and Settings\Shaoun\Local Settings\Temp\sxpfbnmw.0.vb(573,0) : error BC30183: Keyword is not valid as an identifier.C:\Documents and Settings\Shaoun\Local Settings\Temp\sxpfbnmw.0.vb(625,0) : error BC30183: Keyword is not valid as an identifier.C:\Documents and Settings\Shaoun\Local Settings\Temp\sxpfbnmw.0.vb(701,0) : error BC30183: Keyword is not valid as an identifier.C:\Documents and Settings\Shaoun\Local Settings\Temp\sxpfbnmw.0.vb(777,0) : error BC30183: Keyword is not valid as an identifier.C:\Documents and Settings\Shaoun\Local Settings\Temp\sxpfbnmw.0.vb(835,0) : error BC30183: Keyword is not valid as an identifier.
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile()
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Show()
at LandManagement.Prottapon.ButtonX2_Click(Object sender, EventArgs e) in C:\Documents and Settings\Shaoun\My Documents\Visual Studio 2005\Projects\LandManagementNew\LandManagement\Prottapon.vb:line 55
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.PopupItemControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Getting Error while showing the report
-
- Posts: 4
- Joined: Sat Mar 12, 2011 2:46 am
- Location: Bangladesh
-
- Posts: 4
- Joined: Sat Mar 12, 2011 2:46 am
- Location: Bangladesh
Getting Error while showing the report
Any workaround for me?
Getting Error while showing the report
Hello,
Sorry, but in the designer, it is not possible to use keywords (in this case "Class").
Thank you.
Sorry, but in the designer, it is not possible to use keywords (in this case "Class").
Thank you.
-
- Posts: 4
- Joined: Sat Mar 12, 2011 2:46 am
- Location: Bangladesh
Getting Error while showing the report
My column name is class. Is it possible to use it through code? Or what is the way of using these types of keywords?
Thanks in advance.
Thanks in advance.
Getting Error while showing the report
Hello,
Unfortunately, using keywords is not admissible.
You can either rename this column, or, in the designer, set an Alias to it, and set the "Uses Aliases" option.
Thank you.
Unfortunately, using keywords is not admissible.
You can either rename this column, or, in the designer, set an Alias to it, and set the "Uses Aliases" option.
Thank you.