Search results for query: *

  1. T

    Adding rows to a databound DataGridView

    Does any know how to add rows to a Data bound DataGridView. 1. the .rows.add method doesnt work because its for unbound datagridviews Currently i am calling the addnew() method of the BindingSource connected to the DataGridView but this solution gets me into much more trouble. Any other...
  2. T

    DataGridView behaves weird on programmatiaclly adding rows.

    I have made a user control which is inherited from DataGridView(DGV). Depending on certain conditions i have to add data to DGV, for which i add more rows to the DGV. I have the following code in a function in the inherited class. 'currentBindingSource is of type BindingSource For i = 0 To...
  3. T

    Weird Custom Combo Box behaviour ??? Confused. ...

    I have the following code for a custom combo box that i have created. It is inherited from System.Windows.Forms.ComboBox In the first messagebox, i dont get anything from Me.SelectedText, where i get the correct text in the second messageBox. Does anyone know why is this happening...
  4. T

    DateTimePicker in DataGridView ??

    Hi, I have a DataGridView object in a form. One of the columns is of type date. I want to replace the type of the column to DateTimePicker. I read through a few examples, all of which involve adding DataGridColumnStyles to the DataGridTableStyle. Also i need a DataGrid instead of DataGridView...
  5. T

    Cant bind radio button to a text column

    Cant bind radio button to a text column [RESOLVED] Hi, I have two radio buttons in a group box in my form which i want to bind to a text column in my database. The column can have two text values "Share" or "Bond". I want the first radiobutton to be checked if the clumn has a value "Share" and...
  6. T

    How to create excel 2003 spreadsheet from vb.net

    I have this code which used to work perfectly with Excel 2000 /////////////////////////////////////////////////////////////////////// Dim xl As New Excel._ExcelApplication xl.Workbooks.Add() Dim dc As DataColumn = New DataColumn Dim i As Integer = 0 For Each dc In ds.Tables(0).Columns...
Back
Top