Anne,
I actually did try that, but it didn't compile. I did find a way to set the column widths of the grid and I then set the column that I wanted to hide to 0, but it seems to me there has to be an easier way.
I had to create a TableStyle and then ColumnStyles for each column. Then I...
I have read that the easiest way to hide a datagrid column is to set its width to 0. I am working on a Windows App and have tried several ideas that I have found, but none seem to work. Any help is greatly appreciated.
//error: "Index was out of range. Must be non-negative and less than...
Try something like this:
strSQL = "Select MAX(CustomerID) from Customers";
objcommand = new System.Data.OleDb.OleDbCommand(strSQL);
objcommand.Connection = this.oleDbConnection1;
objcommand.Connection.Open();
int result = 0;
try
{
objAdapter = new System.Data.OleDb.OleDbDataAdapter()...
Thanks everyone for your ideas. I did figure out what was wrong with my RegExp constructor, the backslashes in the regex variable have to be escaped in order for it to work.
I put in the extra backslashes and it worked fine.
I am trying to validate a form field which needs to be a date in a specific format. I am new to javascript and I need a little help with the javascript synax. The regular expression does work, that I tested. I think it is a problem with how I am using the RegExp constructor. Thanks in...
I have some Access queries that I am using with Word Mail Merge. All the queries work great with mail merge except for the ones where there is a “*”. When I change the “*” to a “%” the mail merge then works, but then the query will not run in Access.
For example:
This does not work with...
I am running Windows XP and using Outlook 2003. I was wondering if there was a way to post a calendar in the "ALL PUBLIC FOLDERS" and have it send reminders for upcoming appointments to my other co-workers. Is this even possible? If it is, I would also like to know how to tell this public...
I have a form and within the form there are links that pop-up another window to display information. When the pop-up is closed, all the previous information in the form is erased because the page reloads. I am wondering how to do this so that the page does not refresh when the pop-up is...
I have a form and within the form there are links that pop-up another window to display information. When the pop-up is closed, all the previous information in the form is erased because the page reloads. I am wondering how to do this so that the page does not refresh when the pop-up is...
I am trying to use the replace function to replace a single quote " ' " with a backwards single quote " ` ".
tempT := replace(SRCSTR => tempT,OLDSUB => ''',NEWSUB => '`');
This code produces a compile error:
Error: PLS-00103: Encountered the symbol "`" when expecting one of the following...
Below is a query and it is not displaying the count for authors who do not have any books. I understand why, but I do not know how to fix it. I need it to return 0 for authors with no books.
select lastname, count(ba.isbn) from author as a, bookauthor as ba, book as b where b.isbn = ba.isbn...
I am using StringTokenizer to parse a text file. The file contains items with different attributes, delimitated by commas.
An example line is:
0001,"Abbot, Baker, and Miller”,4444,"fiction",,06182000
I have 2 questions. First, using StringTokenizer, is there a way to differentiate between a...
Hello,
I'm trying to get a reference to an applet from a frame. here is the frameset:
<frameset id="MainFrame" rows="120,*,12" border="0" framespacing="0" frameBorder="0">
<frame id="Header" name="Header"...
Thanks! This code works on the UNIX command line, but I get a "Internal Error or Misconfiguration" error when I try and run it on the web. My permissions are set on this file at 755. Any suggestions would be great. Thanks in advance.
#!/usr/local/bin/perl -w
use CGI;
use strict...
I figured it out.
use File::Find;
find(\&wanted, 'blosxom');
sub wanted{
#print substr($_, -3)."\n" ;
if (substr($_,-3 )eq "txt"){
-f $_ && print "$File::Find::name\n";
#print substr($_,length -4)."\n";
}#END if
}
I want to add these files to a...
Is there a way to get all the files in a directory with an extension of .txt?
I used opendir to get all the directories and I want to do something like this to get all the files with extension .txt. Thanks in advance.
I have a simple html form that when the user hits "Submit" goes to a cgi file. The cgi file makes a new text document and write the info from the form. When I run it from the command line it works fine, when I run it from the web I get an error that there is a configuration problem...
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.