datagrid runtime error

Posted on 2005-04-19
Last Modified: 2008-01-09


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 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

Question by:asatish11
    1 Comment
    LVL 5

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now