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

Search:

Type: Posts; User: gggram2013

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Issue displaying a dataset unto a dataviewgrid

    Hey I figured it out. I was missing this:
    dataGridView1.DataMember = "Debit";
    Thanks a lot!
  2. Re: Issue displaying a dataset unto a dataviewgrid

    It still doesn't display anything on datagrid...gives no errors...basically I choose all(*) columns from that table and it doesn't display anything
  3. [RESOLVED] Issue displaying a dataset unto a dataviewgrid

    My code looks like this:

    SqlDataAdapter da = new SqlDataAdapter();
    SqlCommand cmd = dbConnection.CreateCommand();
    cmd.CommandType =...
  4. Re: Error in connection...The ConnectionString property has not been initialized

    Hi mites! no problem, It was a matter of accesing the files. I open sql server 2005 configuration manager, services and in properties in logon I changed network services to local services and it...
  5. [RESOLVED] Error in connection...The ConnectionString property has not been initialized

    Error in connection...The ConnectionString property has not been initialized
    --------------------------------------------------------------------------------

    Hi, I'm using visual studio 2005...
  6. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    Hey never mind...I solved the problem, thanks for all your input! I ended up using a datagrid, much simpler than trying on a text Box, although it's possible, it'll be too tedious. I have two...
  7. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    I'm trying to use a datagridview to display the two tables but I get this error:

    This constraint cannot be enabled as not all values have corresponding parent values.
    My code looks like this:

    ...
  8. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    I'm not quite sure how to apply it,
    textBox1.AppendText("GuestFirstName") = dt1.Rows[0]["GuestFirstName"].ToString();
    textBox1.AppendText("GuestFirstName");
    //And
    textBox1.AppendText("");Do not...
  9. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    My code for that is very tedious...let me show you.


    textBox1.Text = dt1.Rows[0]["GuestFirstName"].ToString();
    textBox1.Text += " ";
    textBox5.Text +=...
  10. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    There's no TextArea control in the toolbox, and yea I have multiple lines but it doesn't skip to the next, let me show u how it looks when i use different textboxes;
  11. Replies
    17
    Views
    2,418

    Re: Trouble obtaining database table values...

    Ok I have tested it and I do get all the values...the problem would be when I have hundreds of rows(Sales) which will then be too tedious for me to code in on and on the same thing. Does anyone know...
  12. Replies
    1,291
    Views
    498,697

    Re: Who is the Sexiest Actress¿¿

    Well all she's really got are those exceptionally large lips. Besides that, she doesn't have hips, or a really nice ***, her breasts may be a little bit too big for her skinny body...but when we...
  13. Replies
    17
    Views
    2,418

    Trouble obtaining database table values...

    Ok, since i'm not sure how to obtain all values (Select *) I'ved selected all the columns that I really need, my code looks like this:



    textBox1.Text =...
  14. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    I still get the same error using +=
  15. Replies
    17
    Views
    2,418

    Re: Failed to convert value...Need some help!

    Yea, I'm not sure if that is a correct way to create a parameter where all the values from string Sql will be retrieved into "Details" and then display them on a text box.
  16. Replies
    17
    Views
    2,418

    Failed to convert value...Need some help!

    I have this form below in which I choose a start date and an end date on a dateTimePicker. My code looks like this:

    string sSQL = " Select * From Guest g, Sales s Where s.Date >= '" +...
  17. Replies
    6
    Views
    1,042

    Re: Need SQL Function Brainwave

    Hey well, I don't believe that it's possible for two separate rows to partially join because with the things I need to retrieve it will cause the rows to break...I think it's gonna be very tedious...
  18. Replies
    5
    Views
    1,244

    Re: How do I create a refresh button?

    Ok, thanks for the lesson. i knew there was something I wasn't doing...
  19. Replies
    5
    Views
    1,244

    Re: How do I create a refresh button?

    When i check the design view of the tab control to double-click it so that it automatically goes into the SelectedIndexChanged code it doesn't seem to direct me to the code, it simply does nothing...
  20. Replies
    6
    Views
    1,042

    Need SQL Function Brainwave

    To Make it clearer, I would like GuestID '129", since it's the same Guest twice, I would like to retrieve the sales part of it together, so that when i print it...it shows the Guest with both sales...
  21. Replies
    6
    Views
    1,042

    Re: Need SQL Function Brainwave

    Well something like that I would want because basically the Guest information should remain the same, can u show me an example if it were just the Sales table?
  22. Replies
    6
    Views
    1,042

    Need SQL Function Brainwave

    I have this function in sql server 2005:

    ALTER FUNCTION dbo.fnGuestID()
    RETURNS TABLE
    AS
    RETURN SELECT...
  23. Replies
    5
    Views
    1,244

    How do I create a refresh button?

    (I'm using Visual Studio 2005 with C-Sharp language)

    Hi, I wanted to know if anyone can help me out creating a refresh button because i have a form with a tab control...when i do something in tab...
  24. Replies
    12
    Views
    1,350

    Problem with SQL Update

    Hey I found the reason why it did not want to update! Since i had more than one comboBoxes, it seemed one was making conflict with the combobox for date since they were using the same last name...
  25. Replies
    12
    Views
    1,350

    Re: Problem with SQL Update

    Nope, it still doesn't update...I'm gonna vary the spaces to see if it does anything
Results 1 to 25 of 66
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured