| Thread | Last Post | Replies |
|
| Simple DataRelation not working between 2 DataGridViews - Help | 29 Apr 2006 05:07 GMT | 2 |
I even started off with a new project and a blank form. In design view I created a DataSet, 2 tables within the DataSet, 2 TableAdapters, and 2 BindingSources. One tableadapter and one BindingSource for each table. The tables have the following key
|
| Get object which DataGridView row is bound to | 28 Apr 2006 11:09 GMT | 4 |
VS 2005 winforms project: I have a DataGridView bound to a list of business objects. On it's RowEnter event I want to get a reference to the business object that row of the DataGridView is bound to. How can this be done? // Persons_BLL obj
|
| Changing Combobox from DropDown to DropDownList | 27 Apr 2006 20:23 GMT | 1 |
Why does my field not save when I change the combobox from DropDown to DropDownList? I used the data from wizard. Thanks.
|
| Get the selected value from a combo box in .Net 2.0 | 27 Apr 2006 17:56 GMT | 2 |
I am developing the windows application using .Net 2.0. I am binding the dataset to the combo box like, this.statesCB.DisplayMember = "Name"; this.statesCB.ValueMember = "Code";
|
| Bind toolstrip buttons to props in a class | 25 Apr 2006 10:15 GMT | 1 |
I have a c# 2.0 app and want to bind the buttons on a toolstrip to properties in a class which will manage the state of these buttons. How can this be done? Thanks.
|
| Multiple fields as displaymember (combobox or listbox) | 25 Apr 2006 09:17 GMT | 2 |
I need to populate a combobox and/or a listbox with several fields as displaymember. Both controls allow only one field as displaymember. I need the display member to look like this (the columns should be left aligned), where each columns represents a field in the underlying ...
|
| how to copy data fom a gridview to another. | 23 Apr 2006 11:13 GMT | 1 |
I have 2 DataGridViews( gridSrc, gridDst), their datatable(DataSource) have same columns. DataGridViewRow srcrow = gridSrc.CurrentRow; How to insert srcrow into gridDst?
|
| why not show in grid & textbox synchronous | 20 Apr 2006 23:22 GMT | 1 |
I use .net 2003, In form I have a grid and some textboxs. DataView view = ...... grid.DatSource = view; and add binding for textBox, like :
|
| DataGridView not updated when Empty | 13 Apr 2006 03:04 GMT | 2 |
I have a window form with a drop-down list and a datagridview. The user gets to choose the table that he wishes to see from the drop-down list, and the datagridview will show the results. Whenever he select a different table, the code just changes the datasource.
|
| BindingSource and DAL classes (Visual Studio 2005) | 12 Apr 2006 08:20 GMT | 2 |
I am writing a Windows Forms Application. I have SessionDAL class (Data Access Layer), which has such method: public DataTable GetSessionsContent(Nullable<int> sessionId, out int retcode, out string retmsg) {
|
| AddNew row event help | 11 Apr 2006 21:08 GMT | 1 |
I have a form with a few fields (textboxes, comboboxes, etc), a dataset, a bindingsource, a table adapter, and a bindingnavagator on it. I am trying to understand the way the updates happen to deal with the add new error.
|
| DataGridView and custom collection databinding | 06 Apr 2006 09:56 GMT | 3 |
I have a BindingList<T> which is bound to a DataGridView. The class used in the BindingList implements IEditableObject, INotifyPropertyChanged. I use a BindingSource to expose the collection to a grid and a property of the current object to a textbox.
|
| TableAdapter do not generate update and delete commands | 06 Apr 2006 09:09 GMT | 1 |
I follow the wizard in the designer and I get a "generated updata methods" success message but when I go back to the TableAdapter only the Insert and Select methods are created ...... The select is very simple: select col1 from table1
|
| Trapping AddNew | 05 Apr 2006 18:56 GMT | 2 |
Is there a way to tarp the AddNew event on the BindingNavigator to do some checks before allowing BindingNavigator to add a new record? Thanks Regards
|
| Object Data Source Edit in Gridview | 05 Apr 2006 18:49 GMT | 2 |
I am trying to use a strongly typed BusinessObject Data Source with a GridView on an asp page. By using the same example that was given on MSDN Walkthrough: "Using a Business Object Data Source with the ReportViewer Web Server Control in Local Processing Mode"
|