Search results for query: *

  1. A

    retrieving data in a list box control

    Hi, First clear the lisbox cotrol and then requery the database. If you dont clear, the items will be added to the existing items. listboxname.items.clear() Hope this works out.
  2. A

    query regarding parameters(in crystal reports)

    Hi, since you are trying to retreive records with specific value, I think you have to use RecordSelectionFormula. see example below: rpt.RecordSelectionFormula = "{tbl_UC142_4.UC142_4_ContributionYear}=" & cboYears_P4.Text & " AND {tbl_A_Assignments.A_AssignmentID}=" & gintAsgnID give the...
  3. A

    Dataview & Relationships

    check this Function: Friend Sub GetMediaINABatch() Call Connection() Try Cursor.Current = Cursors.WaitCursor ' To clear the tables and relation each time this function is called so that after deleting a batch, the grid is updated sqlDataSet.Relations.Clear() sqlDataSet.Tables.Clear()...
  4. A

    DatePicker and DB

    You coulc use : MonthCalendar1.TodayDate.GetDateTimeFormats().GetValue(7) This will give you the current date in "MM/dd/YYYY" format. You can store this in a date variable or You can assign this to your column in the database. Hope this works out.
  5. A

    AutoDetect on ComboBox

    In design mode, change the "Drop down style" property of the combo box to "Dropdown List". Now when u hit A apple will be automatically populated. If you have two members with A , then keep hitting A so that the combo box automatically shows u members with A one by one. This should work out..
  6. A

    Multi-Threading in vb.net

    Hi, I have a question. The thread.abort() method raises an exeception. Is therea any way not to show the message "Thread is being aborted". I am creating a new thread for a method and when user clicks the stop button, I am aborting it. Everything works fine except that the message pops up two...
  7. A

    Need help in Datagrids

    Hi I need help in datagrid. I want a particular row (entire row not single cell) to be colored based on particular row number.. I can know the row number while programming. I want that specific row font color to be red. Does anybody have any ideas?? Thanks in advance.. Angitapalli.
Back
Top