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

Search:

Type: Posts; User: rockking

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    641

    working with classes and variable types

    hey guys

    i need to know how do i make a class full of variables and use them in various forms? in other words what variable type do i need to use so that they are able to be accessed and modified...
  2. Thread: pass values

    by rockking
    Replies
    8
    Views
    1,477

    Re: pass values

    so here is what i am trying. i now have the 3 forms and another class named variables

    variables has all the variables needed to be used between all the forms
    so how do i make the values of the...
  3. Thread: pass values

    by rockking
    Replies
    8
    Views
    1,477

    Re: pass values

    okay so i have it working between form1 and form3

    so how do i get it so that form2 tells form1 the value for form3 to read?

    form1


    public partial class frmMain : Form
    {
    ...
  4. Replies
    0
    Views
    1,015

    missing xml comment?

    hey everyone,

    i seem to have about a dozen of these warnings



    Warning 1 Missing XML comment for publicly visible type or member...
  5. Thread: pass values

    by rockking
    Replies
    8
    Views
    1,477

    Re: pass values

    how do i make object references? i cant get them to work correctly, here is the code i have so far:



    string connectString = ConfigurationSettings.AppSettings["DbPath"];
    string...
  6. Thread: return data

    by rockking
    Replies
    1
    Views
    773

    return data

    hey,

    so i have a C-Sharp application that uses stored procedures to access data, how do i get the data to return found values to the application? i know it is a C-Sharp app, but the trouble is in...
  7. Thread: pass values

    by rockking
    Replies
    8
    Views
    1,477

    Re: pass values

    so, now could i create a partial class that was spread across all three forms in use? or would that be a little to risky?
  8. Thread: pass values

    by rockking
    Replies
    8
    Views
    1,477

    pass values

    hey everyone,

    okay, once again with the application. i think i should just make one thread for this thing, but the question today is: how do i send out a request to an SQL database from a form,...
  9. Replies
    3
    Views
    1,400

    [RESOLVED] close original form

    hi everyone,

    so i have a question. i have an application that uses multiple forms. but on the second form(form2) i have in the menu, an option to quit the application. how can i set the action to...
  10. Re: change icon, based on given path

    hey

    thanks for the help boudino, that worked perfectly and is great for using several icons in one project. thank you
  11. [RESOLVED] program messagebox button actions

    hey everyone,

    so the title is the question really. hwo can i open a message box and then program the buttons to have specific actions? or would it be best to create my own form and use it as a...
  12. [RESOLVED] change icon, based on given path

    hey everyone,

    so i have this program i am workikng on, and i created a custom icon for it. i know that in visual studio i can just change the icon setting on the form to whatever icon i select and...
  13. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    alright everyone. i have gotten the "config" file working. i have all my stored procedures created. now the ultimate part.

    i need to select data in the database and return the data received. once...
  14. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    not sure. i was looking for something to take the stress away from trying to get this working. i did make a SProc for inserting data into a database. i need to create a few more, one to update and...
  15. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    haha queries, database humor. lol
  16. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    alright so when i make a SProc, where do i store it exactly? in the database itself? or where?
  17. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    what is the purpose of a stored procedure? and do i need parameters for inserting data? wouldn't i only want parameters when i am selecting rows to be updated or deleted?
  18. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    awesome. thank you Arjay! that worked perfectly. i had to add some characters so it would use variables from the program but here is what it is now.


    using (var conn = new SqlConnection("Data...
  19. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    okay now it is going weird. i made my dataset with all the adapters it wanted and etc etc but it still throws this at me when i run it


    ExecuteNonQuery: Connection property has not been...
  20. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    i got it working. sorry. something with my connectionString was not good enough, bcuz i copied and pasted the string to the same database(the MSVS data connection) and it went right though. then it...
  21. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    alright so now that error is fixed. now how do i fix the connection issue i am having. all the information is valid. i used the management studio to verify all of it. the server is set to accept...
  22. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    alright. so i made a mock up of what i want to do with my application. so now i have the main one waiting for me to get this stuff understood. in the mock up i have a problem and i dont what the...
  23. Replies
    24
    Views
    7,192

    Re: Write data to SQL database

    i have heard of them and glanced through them, but i will go see if i can find them.
  24. Replies
    24
    Views
    7,192

    Write data to SQL database

    hey supercoders.
    the title says it all. i am working on an application that requires the writing of data to a database. i have gotten the database connection working but i need to know how i write...
  25. Replies
    3
    Views
    731

    Re: SQL Connection testing

    well i run the application, but until i dont seem to be able to get data sent to the database.. and when i do run the application, it crashes if the button used for submiting data is doing something...
Results 1 to 25 of 79
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured