Search results for query: *

  1. R

    Resolved why is date from table not displaying properly

    i have a datagrid view that displays the information in a table, there is a created row which stores dates how ever when the information is loaded into the datagridview only the first number is displayed, currently the format of the date is yyyy-MM-dd, if you change the format to say dd-MM-yyyy...
  2. R

    Question why am i getting insufficient parameters supplied to the command error

    Hey I really appreciate you going into hat much detail, ill go through it when I get a chance and take a look at the link provided, everything I've done so far is based on what the college is teaching and I'm slowly learning that what they teach isn't great lol
  3. R

    Question why am i getting insufficient parameters supplied to the command error

    i have trying to read a database and display it into a datagridview but i keep getting the error private void nameSearch() { using (SQLiteCommand cmd = connAccount.CreateCommand()) { connAccount.Open(); try { connAccount = new...
  4. R

    Question sqlite multiple tables with calculations and save back to tables

    i have a database with multiple tables, i have created a sql select statement using 2 tables to make a calculation. the return works and displays the calculation correctly. what i need to do next is take the results of the calculations and save them back into the correct table. my other question...
  5. R

    Question how to update database row by row while doing a calculation for each row

    i have an application that takes data from a table and displays it into a datagridview. the table is for accounts and includes an accrued column. i have a button that i want to use that when pressed will calculate the daily accrued amount and add it into the accrued column for each account. so i...
  6. R

    Question calculating interest amount based on values from datagridview

    ok its for a college course so they havent gone over anything like that and we are using sqlite is this doable using sqlite? but i will take a look into it and see if i can get it working, thanks
  7. R

    Resolved calculate days between two dates

    Ok awesome thanks for the notes, I'll make the changes later
  8. R

    Question calculating interest amount based on values from datagridview

    hi i have an application that displays customers accounts in one table and products information which includes the interest rate for that specific product in another table, both tables get displayed inside a datagridview. for my accounts database there is an accrued column which i need to code...
  9. R

    Resolved calculate days between two dates

    as the title says imtryign to calculate the number of days between 2 dates, now this is where im at atm and this works ok so far, but this results with 365.75 but if i change the difference to int as i just want whole number i get a conversion error on span.totaldays DateTime start = new...
  10. R

    combobox inside datagridview

    Well thats what I have in another form on anther table , I just thought something like a checkbook to select might look a bit better
  11. R

    combobox inside datagridview

    No I'm not actually using the checkbook for anything atm what I want to use them for is to select one then on button click open a new form that will display all info that is relating to the selected row so ideally I'd only like to be able to select a maximum on 1 checkbox
  12. R

    combobox inside datagridview

    well i have added a checkbox to my datagridview but im trying to figure out how to set it so i can only check one box at a time // adds a checkbox to each row so user is able to select specific rows DataGridViewCheckBoxColumn dgvCmb = new DataGridViewCheckBoxColumn()...
  13. R

    combobox inside datagridview

    i have a datagaridview that on form load loads details from a database into it, what id like to do if possible is add a combo box to one of the columns(status) andbe able to change this from either closed or open. private void showProducts() { try {...
  14. R

    Resolved 'SQL logic error near ")": syntax error'

    Thats how the college showed us to do it. But ill go through it and remove them tomorrow thanks
  15. R

    Resolved 'SQL logic error near ")": syntax error'

    For god sake cant believe I missed that, stared at that line for ages aswell ??? working now thanks
  16. R

    Resolved 'SQL logic error near ")": syntax error'

    i have a basic app in visual studio that is connected to a database, im trying to add a new antry into the account table but i get the error 'SQL logic error near ")": syntax error' for this line: int recordsChanged = cmd.ExecuteNonQuery(); private void btnAdd_Click(object sender...
  17. R

    Question retrieving information from sqlite database

    Ok I will look into the shown event, I've never used it, just following what my college course is teaching atm
  18. R

    Question retrieving information from sqlite database

    Hi i have a basic application that is used to display customer information from a sql database, i am using a datagridview to display the information, i also have a form that has texboxdes on it to enter customer information for adding to that database which currently works. what i need to do now...
Back
Top Bottom