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

Search:

Type: Posts; User: da_cobra

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. write() to serial port (Bluetooth) does not always work except when debugging

    It's sunday again so time to work on my robot project again... :)

    I have a problem that I can't seem to figure out :

    I have a serial communication through Bluetooth between my Raspberry Pi and...
  2. Replies
    1
    Views
    826

    saved to database or not?

    I use this code to save a new word to my database :



    private void btnOpslaan_Click(object sender, EventArgs e)
    {
    System.Data.SqlClient.SqlCommandBuilder cb;
    ...
  3. Replies
    0
    Views
    774

    [SOLVED] string.contains problems

    Why doesn't this if-statement return as true :




    if (txtWoord.Text.Contains(txtLaatsteLetterIngedrukt.Text) == true)



    If I debug, then txtWoord.Text = "word" and...
  4. Replies
    2
    Views
    960

    Re: using the same code in 10 checkboxes

    thx alot, that helped me alot

    now my code is much clearer now!
  5. Replies
    2
    Views
    960

    [RESOLVED] using the same code in 10 checkboxes

    I have 9 checkboxes in which I use the same code again :



    private void chkGHS01_CheckedChanged(object sender, EventArgs e)
    {
    ImagesCheckBoxes();
    }

    ...
  6. Replies
    3
    Views
    995

    Re: greying out a pictogram

    I solved it like this :

    - I use checkboxes with the property : button
    - The checkbox uses a imagelist to display the a picture
    - the listbox also has the same picture, but which I changed the...
  7. retrieving other data then strings from a database

    I'm currently retrieving data from an access database this way :



    txtNaam.Text = dRow.ItemArray.GetValue(2).ToString();


    but what if I want to retrieve a boolean or an integer or floating...
  8. Replies
    3
    Views
    995

    [RESOLVED] greying out a pictogram on a checkbox button

    I'm currently trying to find a way to do the following :

    I retrieve a boolean from database and when the boolean is 1 (yes) a pcitogram should be shown.
    If the boolean is false then the pictogram...
  9. Replies
    4
    Views
    944

    Re: date not shown correctly

    thx!

    how do I rate up?

    edit : found how to rate up, but didn't have any point over, sorry
  10. Replies
    4
    Views
    944

    Re: date not shown correctly

    thx for the help Quinn, but I found another workaround, which I'll explain in a second, but I have question first : How exactly can I find out what is stored in the GetValue() ?

    My solution :
    ...
  11. Replies
    4
    Views
    944

    date not shown correctly

    I'm trying to read out an access database in visual C#.
    One of the columns is a date.
    When I try to retrieve it and put it into a textbox, It gives me a long format date, like this :

    30/09/2011...
  12. Replies
    0
    Views
    697

    concurrency error in tutorial

    Hello,

    I'm following a tutorial on this link :

    http://www.homeandlearn.co.uk/csharp/csharp_s12p11.html

    I find the tutorial very good and easy, but at the stage where we try to delete a...
  13. Re: Added a new record in my database, but after rebuild, the record is gone

    ok, maybe I'm stupid but where can I find that code?

    I added my dataset through the "add new item" => "sql database".
    (Right mouse button on my project name in the solution explorer.)
  14. Re: Added a new record in my database, but after rebuild, the record is gone

    How do I change the connection string by setting the property @ runtime?
  15. Re: Added a new record in my database, but after rebuild, the record is gone

    thx for the reply, but I have 2 comments :

    1) since english isn't my mother language : persistent = ???

    2) Like I said in my first post : I can't change the connection string through the...
  16. Added a new record in my database, but after rebuild, the record is gone

    I once had this problem but I can't seem to fix it again :

    When I run my database-application and in a certain table I add a new record.
    The record stays in the table, even when I exit the...
  17. Replies
    1
    Views
    2,474

    Re: DataRow.RowState

    Noone out there that can help me or point me in the right direction? :(
  18. Replies
    1
    Views
    2,474

    DataRow.RowState

    I'm trying out this article on codeproject for my DataGridView: Autosaving

    http://www.codeproject.com/cs/database/DataGridView2Db.asp?df=100&forumid=261351&exp=0&select=2075150

    But none of my...
  19. Using a default value in a cell in the datagridview

    I have a datagridview in which the user can add freely new rows.
    But in the row there is one hidden cel which holds the ID of an installation.
    That cell should automatically have the ID filled in...
  20. Replies
    5
    Views
    10,192

    Re: exception : The value for column is DBNull.

    it seems I still have the problem.
    I thought it was solved but I already changed the values in my row to "" and therefore the ".tostring()" solution worked.

    But now I added another column and...
  21. Replies
    5
    Views
    10,192

    Re: exception : The value for column is DBNull.

    thx alot for the help

    by adding the ".tostring()" the problem is solved!
  22. Replies
    5
    Views
    10,192

    exception : The value for column is DBNull.

    I'm writing a database in Visual C sharp express and came upon this small problem.

    I've just added a new column in my table, but now when I try to retrieve the data from the previous rows (where...
  23. Replies
    3
    Views
    855

    Re: database not saved anymore

    thx jmcilhinney,

    that was the right solution

    sorry for the misleading thread title
  24. Replies
    3
    Views
    855

    database not saved anymore

    Hi,

    I once changed an option somewhere so that my database file isn't saved anymore

    example : When I press "Start debugging" and do some changes to my database and when I stop debugging and...
  25. Replies
    11
    Views
    2,458

    Re: Failed to add a new row to a table

    CJard? jmcilhinney? pls?
Results 1 to 25 of 151
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured