[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 647
  • Last Modified:

datagrid runtime error


hi

i am facing a problem using datagrid controls. My problem is that

i am using Adodc to display data into datagrid control . As  requirements of my client i am hiding some colums in the datagrid control in run time specify that "DataGrid2.Columns(1).Visible = False"in my code. I am compiling it and executing in my system.It is working well. but when i am creating an exe file and running that exe file on my client system then i am getting error as
WARNING: contains banned part
7005 runtime, rowset not available.
Why is this happening.how can i over come from this error what should i do.I will be very thankful if u suggest me with porper code or idea

0
asatish11
Asked:
asatish11
1 Solution
 
joboyCommented:
Sounds like it's a problem with the database connection not the datagrid control itself.  Has the client got the necessary access to the database that's the source of the datagrid control.

One quick way of debugging applications on a client machine is to add a few message boxes at suspect points in the application and then see what message box the application gets to before terminating.  Alternatively consider writing a log file.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now