Forum: C# 7 Days Ago |
| Replies: 3 Views: 166 Either the record doesn't exist (the dfSicilNo.Text does not exist) or if the record does exist, the field is null.
You should be able to ask the query how many rows (records) it returned (if it... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 412 So what you really want is a verification that a specific record (license) exists and you would never want anyone to be able to list or add records.
I'm not sure what resources you have available,... |
Forum: C# Apr 9th, 2009 |
| Replies: 5 Views: 412 Will the users of your application be connecting to your SQL server or is the intent for them to connect to their own server?
The following presumes they will be connecting to your server:
Hard... |
Forum: C# Jan 15th, 2009 |
| Replies: 38 Views: 3,109 I thought we were trying to hint you toward a ShowPage(int pageno) type of implementation.
Then inside ShowPage, you could determine the start and end indexes for the page. (I'm presuming here... |
Forum: C# Jan 13th, 2009 |
| Replies: 38 Views: 3,109 If the page starts with n+15, then page 1 starts with 16, page 2 with 17, page 3 with 18?
Doesn't seem quite right somehow.
Do we want to number the pages from 0 like we did the pictures, or do... |
Forum: C# Jan 12th, 2009 |
| Replies: 38 Views: 3,109 Let me ask this a slightly different way to see if it helps you think about it.
You have 200 pictures, numbered 0 to 199. (I chose those numbers because that matches the index in almost all... |
Forum: C# Dec 15th, 2008 |
| Replies: 10 Views: 841 Maybe you should look for a method to disable a control.
(second big hint) |
Forum: C# Dec 15th, 2008 |
| Replies: 11 Views: 1,296 I was trying things in a test application.
DateTime.Now.ToString("HH:mm:ss") and DateTime.Now.ToString("hh:mm:ss tt")
both seem to produce valid output.
Does SQL like one format better than... |
Forum: C# Dec 15th, 2008 |
| Replies: 11 Views: 1,296 Is time a reserved word? Could you name the column qtime like you did qdate? |
Forum: C# Dec 10th, 2008 |
| Replies: 11 Views: 1,296 The current database search uses where qdate = #" + DateTime.Now.ToString("dd-MMM-yyyy") + "#" which limits the search to only find records for the given date.
You could extend that to have a... |
Forum: C# Dec 9th, 2008 |
| Replies: 11 Views: 1,296 The current implementation only looks at the first record returned and builds an output string with the question and answer options.
If there was more than one question matched, how would it work?... |
Forum: C# Dec 8th, 2008 |
| Replies: 39 Views: 2,763 In your description of MyEvent, I didn't see where any data from the background worker was transferred to the form.
Could you describe a little more about that, maybe it will have a clue. |
Forum: C# Dec 2nd, 2008 |
| Replies: 39 Views: 2,763 So if I understand it correcly, your application has 4 windows. The main window and 3 other forms. The 3 forms are updated by backgroud worker threads.
Does the program always create all 3 forms,... |