I have a form that was more or less automatically generated by C# Express 2005 by dragging the "details" view of a SQL table onto a form. I have a bunch of textboxes connected to a dataset and the corresponding toolbar.
I don't want the user to play around with the primary key, so I have the...
It gets stranger and stranger. int[] b is not used anywhere at all. In the actual code there is a different array declaration, and I stripped down the code to see what was actually causing the error, and it turns out that if I declare a variable there--doesn't even matter if it's an array--the...
...another process." When I run the following code:
DirectoryInfo di = new DirectoryInfo(Path + "\\customers\\");
FileInfo[] fi = di.GetFiles("cust.*");
int[] b;
foreach (FileInfo f in fi)
f.Delete();
However, the files will delete just fine with this code:
DirectoryInfo di = new...
There's no file manipulation in DObjects.
class DObject
{
Object[] objects;
public DObject()
{
}
public void AddObject(object o)
{
int x = objects.GetUpperBound(0);
if (x == -1)
{
objects = new object[0];
objects[0] = 0;
}...
const string Dellstring = "MarkedForDeletion";
private void RefreshFiles(string Path, Customer[] Cust)
{
DirectoryInfo di = new DirectoryInfo(Path);
FileInfo[] fi = di.GetFiles("cust");
DObject doFilenames = new DObject();
foreach (FileInfo f in fi)
if (new...
I would like to put a page on my website wherein there are many drop-down boxes with options in them. These options would have different prices associated with them, and there would be a total at the bottom. It would look basically like any custom-computer screen. Radio-buttons would also be...
I have a web page that I need to print as a brochure. The problem is that when I convert it to a PDF (via CutePDF), the file either isn't complete if background images are turned off, or it's too complex to open if they're turned on. However, the web page itself will print just fine... with...
Skip, your answer (now that I understand a little better) is obviously the way to go about this... but I'm pretty inexperienced with this and I'm having difficulty with implementation.
When I go to Data/Get External Data/New Database Query/Excel Files/File.xls, it says "This data source has no...
I might be understanding wrong, but I don't think that will work (speaking of both solutions). Worksheet B will have to fill itself by adding only lines with quantities greater than zero.
I would be okay if the method wasn't fully automatic. For instance, if another sheet copied all the...
..."part #" column is already filled in with part numbers, and the unit price already has the prices. The total price calculates itself as Quantity * Unit Price.
The quantities are all set at 0. When I set the quantity to a number greater than zero, I went it to send that part number's...
I currently have an excel spreadsheet with one page on which you enter information, and another page that is a quote-form and fills itself in based on the information from the first page.
I also have a number of other pages in the workbook with products, costs, prices, and descriptions. What I...
How might I refer to the row in which a cell is? If I want to reference the F column in row 43 from C43, how could I use the fact that C is in row 43 to get F43? The application would be equations that could be reused in inventory-type spreadsheets.
Thanks,
Dan
Either I'm doing something wrong or it won't work. I tried selecting a group, but it can't find the correct row to put the total in even though I select it. Is there a way to refer to the row that a given cell is in? That way I could just copy the formula (b(thisRow)+c(thisRow)) all the way...
I'm sure this has been asked before, but I couldn't find the post.
I was the have three columns (Item#, Price, Quantity) inputted and then have the fourth column automatically multiply price by quanity to get a subtotal. Then I'll be able to easily add all the subtotals. Is there any way to...
How do you nest namespaces? I'm working on something that will require a hierarchy of namespaces, sort of like the System namespace in .Net. System.H1.H2.H3... etc How do I create those nested namespaces so that I can
1) use the hierarchy to find my class and
2) inherit from higher level...
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.