I'm trying to pop up a confirmation dialog box in a Windows Forms app, but I keep getting an error at compile time.
Here's the code snippet:
using namespace System::Windows::Forms;
.
.
.
int Form1::myMethod(void)
{
.
.
.
if...
RTomes -
Thanks for the attempt, but it doesn't solve the problem. DataBinder.Eval(e.Item.DataItem,"DOCNUM") will still return a different DOCNUM than the one the user sees. I'll try to describe the situation more clearly.
Let's say there are 3 records in the datagrid with DOCNUMs "BETA"...
I have a datagrid and a means of inserting a record into it using separate fields and an insert button. When I insert a record, it goes to the last row of the datagrid, although its sorted position would be the first row. If the user then clicks the delete button (template column in the...
I've noticed in several different scenarios over the last few years that when data is updated through a TCursor in OPAL, it may take hours for the change to become apparent in other instances of the application referencing the same tables. In earlier cases this was difficult to see because it's...
I developed and am just starting to use a web forms application in asp.net as a remote front end for my paradox (BDE) database. This is through ODBC using the Intersolv driver. It works fine, except I did notice that if I try to edit a table through the web app while the same table is open in...
I have a datagrid with a button in a template column. I want the button to open a dialog box to prompt the user for a value. The value is then used in the aspx.vb (code behind) file.
To pop up the dialog box, I use the following:
Sub DataGrid1.ItemDataBound(...)...
I have a field I'm trying to update in objectPAL but it won't change. No error message is generated. The field is a link between an ORDERS table and a packing list (PL) table. It keeps track of which line item in the order a particular line item on the PL fulfills.
When someone edits the...
The ODBC driver will not work with remote database files, not even on mapped network drives. You have to create the ODBC data source on the same machine where the paradox data files are, and that means it also has to be the same machine that runs MSSQL.
I'm not very experienced with MSSQL, and...
I've got a datagrid with a HyperLinkColumn in it. What I want to do is take a part number (in another column) and link to an image of the part by adding .jpg to the end of it. I'm using "/images{0}.jpg" as the URL format string.
The problem is that the result I get has the part number padded...
I've got a datagrid with a HyperLinkColumn in it. What I want to do is take a part number (in another column) and link to an image of the part by adding .jpg to the end of it. I'm using "/images{0}.jpg" as the URL format string.
The problem is that the result I get has the part number padded...
In this case the DataAdapter lives in a web service, so it doesn't have access to the visual elements. But I think I've done basically what you're suggesting. I let the DataAdapter.Update() do its thing, which inserts the record into the detail table, plus who-knows what else in the background...
I'm using a web form in MS Visual Studio 6.0 to view a list of specifications related to a particular part number. The specification files are in one table, and the mapping from part number to filename is in another. I filled a dataset with a JOIN in the SELECT statement and filtered the files...
Yep, .NET. Thanks for the hint. I don't know how to do what you're suggesting from within MSVS, but I'll pursue that over on the InterDev forum.
- John
OK, we've gone around in a circle back to the original problems. I can't use the Paradox mail object because it uses Outlook, and Outlook insists on popping up a dialog to ask the user if it's OK that another app is trying to use the account.
I can't let the microsoft SMTP server run openly on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.