Forum: C# Aug 3rd, 2009 |
| Replies: 12 Views: 322 Thanks, that helps - we don't have any inserts that will be affected that I can think of so it's not a huge deal. I think what I was thinking was he just wanted to get the last record regardless of... |
Forum: C# Aug 3rd, 2009 |
| Replies: 12 Views: 322 Can you find an example? on MSDN here http://msdn.microsoft.com/en-us/library/aa933217(SQL.80).aspx
it looks like it is similar to @@IDENTITY AND SCOPE_IDENTITY but just returning the last id... |
Forum: C# Aug 3rd, 2009 |
| Replies: 12 Views: 322 Intersting, thank you - and what was your take on using
SELECT IDENT_CURRENT(’tablename’) |
Forum: C# Aug 3rd, 2009 |
| Replies: 12 Views: 322 If you want to get technical, you're advice is bad as well, as scope_identity will:
"SCOPE_IDENTITY(), like @@IDENTITY, will return the last identity value created in the current session, but it... |
Forum: C# Aug 3rd, 2009 |
| Replies: 12 Views: 322 To get the last record in a SQL database you simply type
SELECT TOP 1 * FROM tableName ORDER BY columnWithYourID DESC
or if you just need the id then
SELECT TOP 1 (columnWithYourID )... |
Forum: C# Jul 31st, 2009 |
| Replies: 5 Views: 259 You don't say if you have any programming experience at all. So the answer could be different. I think the O'Reilly books have a lot of good information in them but there is a lot of stuff on the web... |
Forum: C# Jun 9th, 2009 |
| Replies: 7 Views: 3,663 Did you realize this was a 9 month old post? |
Forum: C# Mar 11th, 2009 |
| Replies: 14 Views: 595 so much is either wrong with this code, or I am too new to understand. For instance, the array declaration is unlike anything I've ever used. It tries to take Last_Number and make it a const int with... |
Forum: C# Mar 11th, 2009 |
| Replies: 14 Views: 595 I'm willing to help you with this under a couple of conditions (I reserve the right to add more later)
#1 - Please tell me where you got the code and why you want to know. Don't lie, if it sounds... |
Forum: C# Mar 6th, 2009 |
| Replies: 3 Views: 388 Did you have further questions? It seems as though sknake answered the question quite completely but you didn't mark the thread as solved. If you just mean add variables he put it right out there,... |
Forum: C# Mar 3rd, 2009 |
| Replies: 13 Views: 1,687 I guess my replies are either completely wrong or not worth looking at - seems to me on that link I posted was this
//Create a connection to the SQL Server; modify the connection string for your... |
Forum: C# Mar 3rd, 2009 |
| Replies: 13 Views: 1,687 There and you can check here
http://support.microsoft.com/kb/320916 |
Forum: C# Feb 20th, 2009 |
| Replies: 4 Views: 624 Thanks LizR - this will work perfectly for what I need to do. |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 624 I thought it was more than a mail merge, fields I need to merge are in our database based on a contract table, a customer table, and a claims table. I didn't think all that was possible with mail... |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 624 Hey all,
I have been tasked with figuring out a way to automate a form letter process that currently is done mostly by hand with a lot of copy/paste. We have letters that need to get sent out... |
Forum: C# Feb 16th, 2009 |
| Replies: 10 Views: 738 Well bummer, I was hoping I could edit my previous post and take out my suggestions.
NOBODY will do your work for you. First of all the forum rules prohibit it, secondly it doesn't help you learn... |
Forum: C# Feb 16th, 2009 |
| Replies: 10 Views: 738 Is this complete?
if not - on #2 see Class Derivation about halfway down on
http://functionx.com/csharp/Lesson14.htm
partial start of code
using System; |
Forum: C# Feb 16th, 2009 |
| Replies: 1 Views: 460 I don't see it just reading it quickly, however I do have a suggestion. Set a breakpoint near the top and step through slowing looking at the value of each variable as it moves through. See if you... |
Forum: C# Feb 13th, 2009 |
| Replies: 4 Views: 2,327 Personally I like the required field validators for this sort of stuff, but if you wanted an if statement you can also combine them into one
If(textbox1 == "" || textbox2 == "" || textbox3 ==... |
Forum: C# Jan 26th, 2009 |
| Replies: 7 Views: 1,110 Bob - your response could have been, can you tell me how to open exe/DLL ?
Just because someone assumes you know doesn't mean they are trying to be a jerk.
I'm glad you found it, if you have... |
Forum: C# Jan 22nd, 2009 |
| Replies: 7 Views: 554 Danny,
You know I'm new and you're way beyond me, however; I don't see how you could change it other than to use 'less than' along with 'and' for your first statement or to use case statements . .... |
Forum: C# Jan 22nd, 2009 |
| Replies: 15 Views: 1,035 how many ways do we have to tell you that we can't help you in this area? Search final project ideas in daniweb and see the hundreds of exactly the same posts or search google
IS final project... |
Forum: C# Jan 22nd, 2009 |
| Replies: 13 Views: 1,330 I guess I'm not sure what the main goal is . . . you want on startup a combobox to show parent folders of a selected file? I guess the reason for this just baffles me, but I'm easily baffled. :)
... |
Forum: C# Jan 20th, 2009 |
| Replies: 15 Views: 1,035 k4kasun,
I'm currently a junior working on a dual degree in systems administration and information systems with a concentration on web programming. I have a full time job an hour away from home,... |
Forum: C# Jan 19th, 2009 |
| Replies: 21 Views: 1,046 if that fixed your problem then mark the thread as solved for him |
Forum: C# Jan 19th, 2009 |
| Replies: 21 Views: 1,046 hmm, well then ddanbe I am fast on my way to becoming an expert in everything! |
Forum: C# Jan 19th, 2009 |
| Replies: 21 Views: 1,046 Tobbek
Maybe you're used to working with global variables? |
Forum: C# Jan 19th, 2009 |
| Replies: 4 Views: 367 That makes sense, I thought you meant batch the updates in the trigger at first. :)
I'll start looking into that more, thanks again |
Forum: C# Jan 19th, 2009 |
| Replies: 4 Views: 367 LizR
We can probably batch it as we only cut checks twice per week as it is and the other info could be shared at that time I suppose.
Any ideas why people would say to shy away from... |
Forum: C# Jan 19th, 2009 |
| Replies: 13 Views: 1,330 yea, your link is no good |
Forum: C# Jan 19th, 2009 |
| Replies: 3 Views: 306 Does this help you?
http://www.syncfusion.com/faq/windowsforms/faq_c4c.aspx |
Forum: C# Jan 19th, 2009 |
| Replies: 4 Views: 367 Hi all,
I'm researching how to move data from a C#.Net web program into our accounting MAS90 database and back. I can do this manually, what I want to attempt to figure out is how to make the... |
Forum: C# Jan 16th, 2009 |
| Replies: 15 Views: 1,134 ahhh, I have to sign in. Smart thinking ddanb |
Forum: C# Jan 16th, 2009 |
| Replies: 15 Views: 1,134 Mine at work is just black, I'll try when I get home too |
Forum: C# Jan 16th, 2009 |
| Replies: 10 Views: 2,037 your 'from' is a valid email address as well not just a name? |
Forum: C# Jan 15th, 2009 |
| Replies: 4 Views: 312 I was going to add that the two outputs are the same . .. |
Forum: C# Jan 14th, 2009 |
| Replies: 8 Views: 657 lol - wrong page . . I'll get the correct one
http://lisa.uni-mb.si/osebje/bonacic/predmeti/orodja_za_razvoj_aplikacij_in_vs3/CSharp/Serialization_CSharp.htm
That's what I meant to post a link... |
Forum: C# Jan 14th, 2009 |
| Replies: 8 Views: 657 Does this site help you enough
http://www.perlmonks.org/?node_id=477517 |
Forum: C# Jan 13th, 2009 |
| Replies: 11 Views: 524 That wasn't easy for me to see and if you hadn't pointed it out I don't know if I would have caught it.
how in the world did you see that randomly? |
Forum: C# Jan 12th, 2009 |
| Replies: 10 Views: 1,336 We need a way to "force solved" any thread that is either open for too long or solved but the poster won't mark it . . . |