Search:
Type: Posts; User: fcronin
Search :
Search took 0.01 seconds.
October 31st, 2011 11:10 PM
You should be able to just not include an auto-number field in your insert ...
If your table has fields ID, NAME, and AGE ... where ID was the auto-number field...
INSERT INTO [TABLE] (NAME,...
September 30th, 2011 12:56 PM
Change your current code from what you have to this:
private void Form1_Load(object sender, EventArgs e)
{
listView1.Scrollable = true;
listView1.View = View.Details;
for (int i=0;...
September 29th, 2011 01:34 PM
This method should provide you with what you're looking for... you will need to tweak it to fit your exactl XML layout/needs... but the basic idea is here.
XmlDocument sourceDoc =...
September 29th, 2011 11:52 AM
Are you using Visual Studio? Try F5 to start debugging...(start the application in debug mode).
September 29th, 2011 11:14 AM
This seems to work... there may be a better/more efficient way, I just don't know of it...
Dictionary<DateTime, string> SampleDict = new Dictionary<DateTime, string>();
...
September 22nd, 2011 11:27 AM
Are you hosting the browser? If so... just capture your form image and save it as TIFF...
Rectangle form = this.Bounds;
using (Bitmap bitmap = new Bitmap(form.Width, form.Height))
{
...
September 22nd, 2011 10:49 AM
How are you currently creating the XML from your query results?
There would be many ways to approach this, without knowing what you are currently doing, I'm not sure if I have any new thoughts for...
September 22nd, 2011 10:24 AM
The feature you are talking about is "AutoComplete", and the TextBox control has AutoComplete properties in the Form control as well as the Web control... more so on the Form control though. I...
September 21st, 2011 03:35 PM
I've never had the need to do this, so I don't have a wealth of knowlege to help you out, but I did run accross what seems to be an interesting page covering your topic.
...
September 14th, 2011 10:42 AM
You don't need the two lines that initiate the strings.. remove those as I showed earlier.
When you set string num1 = "0"; and string num2 = "0"; you are replacing your textboxes with strings, thus...
September 14th, 2011 10:15 AM
Ok... I used two strings (num1 and num2) to represent your textbox values... YOU should use your actual textbox values instead of those two strings.
int num1 = 0;
int...
September 14th, 2011 09:53 AM
When the user clicks your "Go" button, you will need to use the TextBox.Text to reference what they typed in each textbox...
This would show what the user typed in the textbox called "num1".
...
September 9th, 2011 04:19 PM
Do the applications save files using unique extensions?
If they do, you could create a windows service using a file watcher to detect new files, then pass the extension and app name to your web...
September 9th, 2011 12:38 PM
Greetings,
First, set your progress bar properties (min,max,step) on the control in design view, or set them during your form initialization (load)... no need to set them with each tick of the...
September 2nd, 2011 12:29 PM
Yeah... depending on how you deploy your application, your XML file is not being created for you in the folder your application is deployed to.
Either create/copy the XML file to whatever folder...
September 1st, 2011 05:30 PM
I'm thinking this should do what you want...
TableCell tc = new TableCell();
tc.Font.Bold = true;
tc.Font.Underline = true;
August 31st, 2011 10:09 PM
Greetings...
On you masked edit box, check the property "TextMaskFormat", play around with the other properties also... PromptChar, AllowPromptAsInput, etc...
Best of luck!
August 31st, 2011 09:56 PM
That is a strange exception to receive regarding that particular object... I would expect something like 'using a variable like a method' in your case....
To access an array item, use brackets [ ]...
August 30th, 2011 05:45 PM
You could try...
string result = workingString.Replace(workingString.Split(',')[1], String.Format("\"{0}\"", workingString.Split(',')[1]));
...or the more verbose...
August 26th, 2011 09:46 AM
Rather than adding items to the group, you should add items to the listview and set the item's group property appropriately.
http://msdn.microsoft.com/en-us/library/ezh1batz%28VS.90%29.aspx
...
August 25th, 2011 01:53 PM
:) It happens...
The next questions that would come to my mind would be...
Can other application(s) access that file while my class has it 'open' (not sure what state...
August 25th, 2011 12:23 PM
Could you do this... ?
[Guid("5B2DBDD4-B763-428a-B48F-2E148138E7A4")]
[ClassInterface(ClassInterfaceType.None)]
[ProgId("Analyst_UserIDA.UserIDAObject")]
public unsafe class...
August 25th, 2011 10:58 AM
Is this method you have the ability to modify in your own project? I'm not sure I understand why you would have access to modify only a single method, unless this third party API merely executes a...
August 24th, 2011 01:35 PM
August 24th, 2011 01:34 PM
I believe the 9/5 result of your calculation is being used as an int... try
dubCelsius = (dubFarenheit - 32) * ((double)9/5);
Click Here to Expand Forum to Full Width