Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: QuinnJohns

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How can I round this Convert.ToInt64 number that will be returned

    Are you trying to round up? You could always use Math.Ceiling.

    See the below link, http://msdn.microsoft.com/en-us/library/zx4t0t48.aspx.
  2. Replies
    1
    Views
    462

    Re: Console. Convert int to time

    We're not in the business of doing homework problems. If you make an attempt to do this on your own, we'll be more than happy to help if you get stuck on certain parts.
  3. Replies
    12
    Views
    872

    Re: Problem with getting output in C#

    Are you just trying to create a text file with some output?

    Can you please expand on what you're doing?

    Thanks,
    Quinn
  4. Replies
    1
    Views
    904

    Re: Select date from database

    What is the masked text pulling in when you debug your code? I'm assuming you are doing some sort of globalization/localizing. Convert.ToDateTime naturally assumes the date format is in "mm/dd/yyyy"....
  5. Replies
    2
    Views
    330

    Re: date only to be selected

    I'd suggest trying something similar to the following:



    DateTime dtFromSQL;
    sqlCommand = new SqlCommand("SELECT date FROM Transactions", sqlConnection);
    sqlDataReader =...
  6. Re: Cannot implicitly convert type "string" to "int"

    Why are you using the goto? This isn't basic. remove them. Your code should work fine.
  7. Re: Looking for C# books (form tutorial books)

    Personally, I'm a fan of http://www.amazon.com/2010-NET-Platform-Andrew-Troelsen/dp/1430225491/ref=sr_1_11?ie=UTF8&qid=1321754136&sr=8-11.

    Hope it helps. :)

    Regards,
    Q
  8. Replies
    2
    Views
    439

    Re: To call a Dialog Window

    If you are wanting to create child forms for a MDI container, or hide/show, I'd suggest reading http://msdn.microsoft.com/en-us/library/7aw8zc76(v=vs.80).aspx.

    Enjoy,
    Quinn
  9. Replies
    2
    Views
    595

    Re: xma character firing a gun help?

    If you can't find any help in C# Programming category, check out http://www.codeguru.com/forum/forumdisplay.php?f=60, it's the Graphics Programming category. If that doesn't work check over at...
  10. Re: Multiple Listviews - Drag and Drop / Reordering

    Resolved.



    ListView.SelectedListViewItemCollection myList = this.listView1.SelectedItems;
    foreach (ListViewItem myItem in myList)
    {
    ListViewItem lvi = newListViewItem(text: myItem.Text,...
  11. [RESOLVED] Multiple Listviews - Drag and Drop / Reordering

    I'm wanting to drag and drop, between listviews, and allow re-ordering. Currently, I can drag and drop items to an alternate listview, and can re-order within the same, however, when I drag and drop...
  12. Replies
    0
    Views
    300

    [RESOLVED] ListView + ImageList

    Please delete this post.
  13. Re: .net v3.5 readline errors when user submits null or string

    In your submit, I'd do a check with the following:


    if (String.IsNullOrWhiteSpace(txtValue.Text))
    {
    // Display MessageBox -- indicating null
    }
    else
    {
    // Perform non-null checks...
  14. Replies
    2
    Views
    466

    Re: session variable help?

    If it's a multiselect listbox, I'd simply create a session variable, that had your selections, as a comma delimited string on the changed events, and doing a string split in your current page, and...
  15. Replies
    2
    Views
    623

    Re: Cant figure out simple console app

    Please edit your post, after reading the following, in particular regarding posting code. Thanks.

    Regards,
    Quinn
  16. Replies
    9
    Views
    774

    Re: Restrict text input

    You need to learn how to access a public function in another class, please see google for help.

    Regards,
    Quinn
  17. Replies
    9
    Views
    774

    Re: Restrict text input

    Wherever, you intend on populating this content into the control. So, a Form_Load for example.
  18. Re: Help: My C# Program is 250x Slower Than My C++ Program!

    Should be an edit button, at the bottom of each post, then you can include the tags, before and after code blocks. Thanks for being willing to update your code samples. They work similar to pre-tags,...
  19. Re: Help: My C# Program is 250x Slower Than My C++ Program!

    Please read, http://www.codeguru.com/forum/announcement.php?f=11, before posting anything else, especially the content regarding Including Code. Thanks.
  20. Replies
    5
    Views
    1,336

    Re: Your favourite interview question?

    Yeap, the answer was the one lug from each of the other wheels. :)
  21. Replies
    2
    Views
    571

    Re: creating a window application

    When you are saying pages - are you referring to web pages with input buttons? or a windows form application, with multiple buttons?

    Thanks for the clarification.

    Regards,
    Quinn
  22. Replies
    5
    Views
    1,069

    Re: student violation monitoring

    What in the world are you talking about? You are giving no context except student violations. Please elaborate...
  23. Replies
    4
    Views
    830

    Re: Problem in displaying text

    I've mentioned it in another post to him, please use the [ code ] tags, as it makes your code and posts easier to read.
  24. Replies
    9
    Views
    774

    Re: Restrict text input

    Well, assuming you have the control, usually you can just set the Datasource element in code, to that of the Dataset.

    See the following:



    DataSet ds = PMEWDirectorates_GetAll();
    if...
  25. Replies
    9
    Views
    774

    Re: Restrict text input

    Hello Nmohammed, the following code will allow only a-z and A-Z characters to be entered into the textbox. You'll need to create the KeyDown event for the textboxes, in order to utilize the code. In...
Results 1 to 25 of 208
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center