Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sbdSolna

    RFSQL Event error

    Hi We have BT2002 with Bt sql server adapters, that uses a database on a other server. But it happens every week that we got RFSQL error and we have to restart the adapters. And then they start working again. The adapters seem to work and is started, but they got RFSQL error. Is there any...
  2. sbdSolna

    ftp server in c#

    I found a nice lib that you can download on http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=E434024B-62C8-48F6-BE8A-F20EF90BB586
  3. sbdSolna

    Adding a new host in Bts2004

    I found the solution of my problem. I was missing a Receive Handler under my SQL adapter, so I added a new one with a connection to the new host
  4. sbdSolna

    Adding a new host in Bts2004

    Hi -- I've a problem in Bts2004. I've added a new host with the administration tools, but when I try too connect it with my receive locations I can't find the new host in the dropdownlist over available hosts.
  5. sbdSolna

    datagrid 's ItemTemplate and edit ItemTemplate

    Here is a walk-through example from MSDN how to add a CheckBox to a DataGrid with the designer. http://support.microsoft.com/default.aspx?scid=kb;en-us;306227
  6. sbdSolna

    datagrid 's ItemTemplate and edit ItemTemplate

    You can also do it in the designer, I always working in the designer when I work with ASN.NET, then you can drag different tools from the toolbox into the different items in the designer...
  7. sbdSolna

    listBox problem

    But you can use the same if you create a new BindingContext() for each ListBox Here it's done with ComboBoxes but I think it is the same for ListBoxex. Some of the ComboBoxes uses the same table in DataHolder (that is a DataSet UserControl) private void loadCombobox(ComboBox cb, string...
  8. sbdSolna

    Inserting data with OleDbDataAdapter

    When you working with DataSet and DataAdapters, you have to set Delete, Insert, Select and Update commands in the DataAdapter for every table you want to update. Example: I'm working with several tables and I make a DataAdapter for each Table. I hope you understand the code it is just copied...
  9. sbdSolna

    "ThreeState" In datagrids

    You can also do it with MouseUp Event on DataGrid Globals.ReporterUpdate.getUsers(); this.dgUsers.TableStyles.Clear(); this.dgUsers.TableStyles.Add(createStyles()); DataTable dtUsers = Globals.DataHolder.Tables[DataHolder.TableNameUsers]; dtUsers.Columns["ReporterUpdate"].DefaultValue = 0...
  10. sbdSolna

    Add Reference requires Visual Studio program restart

    try with refresh in solution view
  11. sbdSolna

    When to use DataAdapter?

    I'm using DataAdapter, when I working along with a DataGrid. When I init the program I set up one DataAdapter to each Table used by the DataGrid, with select, insert and update commands. Then when the user edit the Grid, I have a button for update of the edited rows, I also have a button to...
  12. sbdSolna

    Trying to get theKeyPressEventHandler to work

    I'm sorry Keypreview = True
  13. sbdSolna

    Trying to get theKeyPressEventHandler to work

    If you are working with Windows, you've to set Keypress = True in Form properties
  14. sbdSolna

    DataSet inherit problem

    You can't see the problem, if you not debug the code with. But DataHolder also has a other function. That is to switch between production and test tables. I you only work in production is no problem, but if you work with test, the constructor of DataHolder going to switch to production tables...
  15. sbdSolna

    DataSet inherit problem

    Here is an example from Msdn on HasChanges and GetChanges if(ds.HasChanges(DataRowState.Modified | DataRowState.Added)& ds.HasErrors){ // Use GetChanges to extract subset. xSet = ds.GetChanges(DataRowState.Modified|DataRowState.Added); PrintValues(xSet, "Subset values")...
  16. sbdSolna

    DataSet inherit problem

    I have a DataSet called DataHolder, that holdes several tables. The DataHolder class is a UserControl, that also holds the connection to the database. When the Dataholder starts it fills in different SqlDataAdapters with commands used for selects, deletes and updates of different tables. Here is...
  17. sbdSolna

    Datagrid column headers

    Hi again --------- Here is the solution DataGridTableStyle dgtStyle = dataGrid.TableStyles[0]; foreach(DataGridColumnStyle gcs in dgtStyle.GridColumnStyles) { colIndex++; excel.Cells[rowIndex,colIndex]=gcs.HeaderText; } DataView dataView = (DataView)...
  18. sbdSolna

    Resizing DataGrid columns

    And you can set the PreferedColumnWidth on the tablestyle
  19. sbdSolna

    Datagrid column headers

    Here are an example which I have to make columns from a dataset to Excel. int colIndex = 0; foreach(DataColumn col in dataSet.Tables["Result"].Columns) { colIndex++; excel.Cells[1,colIndex]=col.ColumnName; }
  20. sbdSolna

    excel library problem

    Gracias

Part and Inventory Search

Back
Top