User Profile

Collapse

Profile Sidebar

Collapse
sql2020
sql2020
Last Activity: Dec 10 '08, 09:19 AM
Joined: Dec 3 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Actually what i want to do is, display a table content to the grid view and allow user to delete from the grid view.

    For the delete function, i am thinking about having a checkbox and a button outside DataGridView. After the user check the data they want to delete(s), they will click the delete button. When the button click, it will check the checked checkbox and delete. That's why i assign the ID value to the checkbox, so it could...
    See more | Go to post

    Leave a comment:


  • C# APP, Assign value from database to checkbox in DataGridView

    Hi, i am new to windows application.
    I have successfully list DataGridView with contain in a table.

    Code:
    SqlConnection conn = new SqlConnection(map);
    string sql = "Select * from Table_Name";
    SqlDataAdapter adap = new SqlDataAdapter(sql, conn);
    SqlCommandBuilder build = new SqlCommandBuilder(adap);
    DataTable dt = new DataTable("Table_Name");
    adap.Fill(dt);
    dataGridView1.DataSource
    ...
    See more | Go to post

  • sql2020
    started a topic C# APP "CheckedListBox to array"
    in .NET

    C# APP "CheckedListBox to array"

    Hi, i am fresh grad and having some problems. the problems as below and iIt is quiet urgent.........

    i have two CheckedListBox (CLBa and CLBb) , and i want the user selected CheckedListBox is assign to two dimension array.

    Objective:
    There is a sql statement (select * from tblname where field1= ' ' OR field2=' '),
    i want to allow user to choose the data for filetring,

    where
    - field1...
    See more | Go to post

  • C# - APP 'CheckedListBox into array'

    Hi, can anyone help me on this problem. It is quiet urgent......

    i have two CheckedListBox (CLBa and CLBb) , and i want the user selected CheckedListBox is assign to two dimension array.

    Objective:
    There is a sql statement (select * from tblname where field1= ' ' OR field2=' '),
    i want to allow user to choose the data for filetring,

    where...
    See more | Go to post

    Leave a comment:


  • Solved

    Hi,

    Somehow i manage to solve the previous post problem....
    not sure whether it is long or what....
    but it is working and able to generate the sql statement perfectly from the list box 2......

    Thank You
    ..............
    See more | Go to post

    Leave a comment:


  • sql2020
    started a topic C# APP Generate Dynamic SQL Statement from ListBox
    in .NET

    C# APP Generate Dynamic SQL Statement from ListBox

    hi, i am fresh grad and wondering whether this idea can be done..

    i have 1 ComboBox and 2 ListBox. ComboBox contain list of table, when user select a table, it will list the field name for selected table in ListBox1. The ListBox2 will list the selected field name by user. It will display in list box with this format "tablename.fiel dname". So far i have done until this.

    Now i am wondering whether can create...
    See more | Go to post
No activity results to display
Show More
Working...