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

Search:

Type: Posts; User: da_cobra

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    350

    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;
    ...
  2. Replies
    0
    Views
    330

    [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...
  3. Replies
    2
    Views
    598

    Re: using the same code in 10 checkboxes

    thx alot, that helped me alot

    now my code is much clearer now!
  4. Replies
    2
    Views
    598

    [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();
    }

    ...
  5. Replies
    3
    Views
    544

    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...
  6. 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...
  7. Replies
    3
    Views
    544

    [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...
  8. Replies
    4
    Views
    547

    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
  9. Replies
    4
    Views
    547

    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 :
    ...
  10. Replies
    4
    Views
    547

    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...
  11. Replies
    0
    Views
    246

    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...
  12. 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.)
  13. 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?
  14. 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...
  15. 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...
  16. Replies
    1
    Views
    1,764

    Re: DataRow.RowState

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

    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...
  18. 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...
  19. Replies
    5
    Views
    4,313

    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...
  20. Replies
    5
    Views
    4,313

    Re: exception : The value for column is DBNull.

    thx alot for the help

    by adding the ".tostring()" the problem is solved!
  21. Replies
    5
    Views
    4,313

    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...
  22. Replies
    3
    Views
    521

    Re: database not saved anymore

    thx jmcilhinney,

    that was the right solution

    sorry for the misleading thread title
  23. Replies
    3
    Views
    521

    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...
  24. Replies
    11
    Views
    1,402

    Re: Failed to add a new row to a table

    CJard? jmcilhinney? pls?
  25. Replies
    11
    Views
    1,402

    Re: Failed to add a new row to a table

    Pain in the arse is back :D



    ok, I did what you told me and now I have created a method InsertRow() which (still) accepts all those variables as arguments



    INSERT INTO [dbo].[tblMachines]...
Results 1 to 25 of 150
Page 1 of 6 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center