Thank you JC and DaZZleD. I am trying both approaches now and trying to work on implementing them. There are still some things in both approaches that I have to work out. Firstly, DaZZleD's approach is clean and good, but the point of trying to remove the DataRow array and NOT delete them, was...
(sorry if I am doing this wrong but I dont know how to edit my post)
I noticed that the code is mostly links to my own functions, so let me explain a breif bit. The MySQL class sets up a connection to the server and implements some container functions. The MySQL.FillDataTable function fills a...
Here is the code I am talking about:
MySQL con = new MySQL();
DataTable dt = new DataTable( "TEST" );
con.FillDataTable( "SELECT 1 AS ID, \"Name1\" AS Name;", ref dt, true );
con.FillDataTable( "SELECT 2 AS ID, \"Name2\" AS Name;", ref dt, false );
con.FillDataTable( "SELECT 3 AS...
Thank you for testing it tgreer. At least i know its not just me. Is there a better way to get my images into the document? It doesnt seem right to add them as a comment, but I am fairly new to PDF creation so I dont really know how everything works yet.
Adobe Version 6.0.0.5/19/2003
1. Started with a pdf that my employer wants edited which has a background image and some other text links.
2. Using the "Select Image" tool, select a box (any size will do, something defined like a logo). The image will be written to the clip board.
3...
I have looked all over the internet and I seem to be the only person who has image attaching problems so here it is: When I attach an image to the PDF it is always bigger than it should be. I have tried many different dpi settings and file formats but they all produce the same result. I even did...
Okay I made a small function that draws a 3d box by getting the bottom left corner, and then defining height, width and depth. It draws a _3dpoly then extrudes it to the proper depth. This function works most of the time but sometimes it messes up drawing the 3dpoly because of an unknown reason...
I am trying to get a running total (sum) of some numbers but I do not get the option of using sum as a summary type. I think it has something to do with all the XML data being treated as string fields. Can someone help me get this working? Thanks
This one has got me in a pickle. I have a context menu assigned to a treeview on a form. When I bring up the context menu overtop of a node, it selects the node and shows the menu. Unfortunatly, I cannot find which node is selected progmatically.
Can someone help me out please?
Thanks.
Is there a built in expression parser (much like the VBScript Eval function) in C#? What I mean is something that will evaluate string functions as if they were an expression. ie:
int i;
i = 0;
i = Eval("1+1");
Console.WriteLine(i.ToString());
//Output: 2
I would rather not write one...
Hi. I do not have much experience making custom controls in C# (or C++ for that matter) and would like a basic rundown of how to do it. For example, if I wanted a TreeView that is identical to the original except that each node has 1 extra string property called "Tag2". How would I go...
How would I go about Iterating through all the elements of an enumeration in C#? Something like so:
public enum Test{One, Two, Three, Four, Five};
foreach(Test t in Test)
{
MessageBox.Show(t.ToString());
}
This doesnt work unfortunatly :(
Yes it does accept a string. It also accepts an integer specifying the character to check. So you DO have to do it a character at a time;
From the Help:
Indicates whether the character at the specified position in a specified string is categorized as a decimal digit or hexadecimal number.
[C#]...
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.