Datagrid view

How to save data from Dynamic Data Grid View into Database SQL Server 2005?

If this is related to ASP.NET then please post questions in the ASP.NET forums (http://forums.asp.net).  If this is related to Winforms then we'll move this to the Winforms forums.

Similar Messages

  • How to add Popup to a particular DataGrid in a multiple DataGrid View?

    hi All,
    I am developing an application where multiple datagrids are displayed in one view. They have individual refresh buttons to load grid data when ever required. But grids are independent with each other. What i am trying to do is add a popup(to block the grid)  only to it's corresponding grid when i click a particular refresh button so that other grids can be accessed  without any problem. But i was not able to do this since when modal is set to true the popup blocks entire view. Please let me know if there is any way to do this?
    Thanks in advance,
    Harshi

    Do this:
    UIImageView *page1 = [[UImageView alloc] initWithImage:[UIImage imageNamed:@"page1.jpg"]];
    CGRect frame = page1.frame;
    frame.origin.x = newX;
    frame.origin.y = newY;
    page1.frame = frame;
    [myParentView addSubView:page1];
    And use {code}, not {CODE}

  • Ow to change the color of row in Datagrid view

    How to change the color of row in Datagridview. Eg. Am getting a remote server services by get-service.  I want to change the color of services that are not running. Am using the below function to get the services.
    Please help me it would be useful
    function Get-SystemInfo
        $array = New-Object System.Collections.ArrayList
    $Script:SystemInfo = Get-WmiObject win32_service -ComputerName $textbox1Computername.text | select DisplayName,Name,state,status,startmode | Sort-Object state,startmode,DisplayName
    $array.AddRange($SystemInfo)
    $datagridview1.DataSource = $array

    Thanks.
    Can you simply my code for Memory usage to Show Computer name, TotalMem,UsedMem,FreeMem, used Mem %, Free Mem %
    Am using the below code :
    $buttonMemory_Click= {
    if($textbox1Computername.text -ne "")
    $script:Object =@()
    $script:array = New-Object System.Collections.ArrayList      
    $Object =@()
    $SystemInfo = Get-WmiObject -Class Win32_OperatingSystem -computername $textbox1Computername.text | Select-Object csname, TotalVisibleMemorySize, FreePhysicalMemory
    $TotalRAM = $SystemInfo.TotalVisibleMemorySize/1MB
    $FreeRAM = $SystemInfo.FreePhysicalMemory/1MB
    $UsedRAM = $TotalRAM - $FreeRAM
    $RAMPercentFree = ($FreeRAM / $TotalRAM) * 100
    $RAMUsedPercent = (100 * $UsedRAM) / $TotalRAM
    $TotalRAM = [Math]::Round($TotalRAM, 2)
    $FreeRAM = [Math]::Round($FreeRAM, 2)
    $UsedRAM = [Math]::Round($UsedRAM, 2)
    $RAMPercentFree = [Math]::Round($RAMPercentFree, 2)
    $RAMUsedPercent = [Math]::Round($RAMUsedPercent, 2)
    $TotalVirtualMemorySize=[Math]::Round($SystemInfo.TotalVirtualMemorySize/1MB, 3)
    $FreeVirtualMemory=[Math]::Round($SystemInfo.FreeVirtualMemory/1MB, 3)
    $FreeSpaceInPagingFiles=[Math]::Round($SystemInfo.FreeSpaceInPagingFiles/1MB, 3)
    $NP=$SystemInfo.NumberofProcesses
    $NU=$SystemInfo.NumberOfUsers
    $Object += New-Object PSObject -Property @{
    #ComputerName = $textbox1Computername.text
    TotalRAMGB = $TotalRAM;
    FreeRAMGB = $FreeRAM;
    UsedRAMGB = $UsedRAM;
    FreeRAMPercentage =$RAMPercentFree;
    UsedRAMPercentage =$RAMUsedPercent;

  • Event handling for Sharepoint datagrid

    I'm relatively new to SharePoint 2013.  For the past weeks I have been looking through on the web how to handle events in a sharepoint's datagrid view of a list. To be clear, I'm referring to that Excel style view that SharePoint allows you to edit quickly
    for a list of items.
    The question is: how and what should I use to handle an event that fires up when the user goes from one cell to the other.  I want to make some business logic validation or whatever.  Hence, please do not tell me to customise the column and use
    the default column validation, it works well but in my case I need much more than that...
    Hence, I would like you to focus on event-handling of that datagrid (SPgridView?) and to specifically be able to handle events such as: - on cell focus or leave - new row added - row before edit/save/deleted
    Also please do not tell me to use Visual Studio to create a web part with a GridControl and deploy it as a SP solution. I'm aware of that too and I don't want for now to go down that route :)
    What I think is that there should be some way (JavaScript? but how? what app? SP designer?) how I can handle those events that happen in that Excel-style datagrid.
    any ideas please?

    THe "excel-style" datagrid is actually an active x control provided by the office install.  So not sure if you would be able to handle any of those events in any way other than maybe doing something with the DOM -> jquery/javascript... 
    The next thing you could do would be to create your own custom list view:
    http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-5-creating-custom-list-views.html
    Might be a lot of work to get it the way you want it, though...

  • Using a DataRelation with a 2nd DataRelation

    Standard example.  Create a DataSet with 2 related tables, define a DataRealtion, and bind them to 2 dataGridViews.  As you walk the first grid view, the 2nd one shows the related rows.
       DataRelation customerDataRelation = new DataRelation("UsefulRelation",
            customerDataSet.Tables["Customers"].Columns["CustomerID"],
            customerDataSet.Tables["Orders"].Columns["CustomerID"]);
      customerDataSet.Relations.Add(customerDataRelation); 
    then display with
     dataGridViewOrderID.DataSource = customerDataSet;
     dataGridViewOrderID.DataMember = "Customers";
                //use data binding with the datagrid view
     orderLinesdataGridView.DataSource = customerDataSet;
     orderLinesdataGridView.DataMember = "Customers.UsefulRelation";
    Works nice.
    Now I want to add a 3rd datagridview, and a second DataRelation, so that the first view shows the customer, the second shows the order, but when I click on one of the orders in the 2nd grid view, the 3rd one shows the order detail.
    So, a table linked to a 2nd table linked to a 3rd table using 2 DataRelations, and then have the datagridviews do the right thing.
    Is this possible?
    with this 2nd DataRelation
     DataRelation productDataRelation = new DataRelation("productDataRelation",
           customerDataSet.Tables["Orders"].Columns["OrderID"],
          customerDataSet.Tables["OrderDetails"].Columns["OrderID"]);
     customerDataSet.Relations.Add(productDataRelation); 
    and this added gui code for the 3rd datagridview
     dataGridViewProductDetail.DataSource = customerDataSet;
     dataGridViewProductDetail.DataMember = "Orders.productDataRelation";
    the 3rd datagridview shows one set of values, but will not update.
    thanks

    the 3rd datagridview shows one set of values, but will not update.
    ... and what do you mean by "will not update"? That's a little ambiguous.
    ~~Bonnie DeWitt [C# MVP]
    http://geek-goddess-bonnie.blogspot.com

  • How to highlight a specific row in a datagridview

    I am building a form with a datagridview and a button to add items to the datagrid view.  I would like to highlight (and optionally center and not select) the row of the just added item to verify for the user what has changed.  I can't seem to
    get it working:
     $dataGridView1.datasource = [System.Collections.ArrayList]@($list)
     foreach ($Row in $dataGridView1.Rows) {
           if ($Row.Name -eq $newitem.name) {
               dataGridView1.Rows[$Row.Index].DefaultCellStyle.BackColor = Yellow
           } else {
               dataGridView1.Rows[$Row.Index].DefaultCellStyle.BackColor = white;
    gives me no change.  I suspect the problem is my attempt to reference properties of the Row (e.g. $Row.name), but I don't know.
    I would really love a little assistance if anyone is willing.
    Thanks.

    Hello cascomp,
    Currently, I agree with Justin. You can change the cell background color when you add a item.
    I tried to accomplish your goal by myself, here is the result. I hope it can give you some ideas about your problem.
    If you have any suggestions or ideas, please feel free to tell me.
    Best Regards,
    Greg Gu
    Code:
    #Generated Form Function
    function GenerateForm {
    # Code Generated By: SAPIEN Technologies PrimalForms (Community Edition) v1.0.10.0
    # Generated On: 12/23/2011 9:44 AM
    #region Import the Assemblies
    [reflection.assembly]::loadwithpartialname("System.Windows.Forms") | Out-Null
    [reflection.assembly]::loadwithpartialname("System.Drawing") | Out-Null
    #endregion
    #region Generated Form Objects
    $form1 = New-Object System.Windows.Forms.Form
    $textBox1 = New-Object System.Windows.Forms.TextBox
    $button1 = New-Object System.Windows.Forms.Button
    $dataGridView1 = New-Object System.Windows.Forms.DataGridView
    $InitialFormWindowState = New-Object System.Windows.Forms.FormWindowState
    #endregion Generated Form Objects
    #Generated Event Script Blocks
    #Provide Custom Code for events specified in PrimalForms.
    $button1_OnClick=
    $newData = $textBox1.Text
    $rowIndex = $dataGridView1.Rows.Add($newData)
    $dataGridView1.Rows.Item($rowIndex - 1).DefaultCellStyle.BackColor = "White"
    $dataGridView1.Rows.Item($rowIndex).DefaultCellStyle.BackColor = "LightGreen"
    $dataGridView1.FirstDisplayedScrollingRowIndex = $rowIndex
    $handler_textBox1_TextChanged=
    #TODO: Place custom script here
    $handler_form1_Load=
    $data = "blahblahblah"
    $dataGridView1.Columns.Add("ColumnA","Column A")
    $dataGridView1.Columns.Add("ColumnB","Column B")
    $dataGridView1.ReadOnly = $true
    $dataGridView1.MultiSelect = $false
    $dataGridView1.Rows.Add($data)
    $dataGridView1.Rows.Item(0).Selected = $false
    $OnLoadForm_StateCorrection=
    {#Correct the initial state of the form to prevent the .Net maximized form issue
    $form1.WindowState = $InitialFormWindowState
    #region Generated Form Code
    $System_Drawing_Size = New-Object System.Drawing.Size
    $System_Drawing_Size.Height = 262
    $System_Drawing_Size.Width = 284
    $form1.ClientSize = $System_Drawing_Size
    $form1.DataBindings.DefaultDataSourceUpdateMode = 0
    $form1.Name = "form1"
    $form1.Text = "Primal Form"
    $form1.add_Load($handler_form1_Load)
    $textBox1.DataBindings.DefaultDataSourceUpdateMode = 0
    $System_Drawing_Point = New-Object System.Drawing.Point
    $System_Drawing_Point.X = 13
    $System_Drawing_Point.Y = 198
    $textBox1.Location = $System_Drawing_Point
    $textBox1.Name = "textBox1"
    $System_Drawing_Size = New-Object System.Drawing.Size
    $System_Drawing_Size.Height = 20
    $System_Drawing_Size.Width = 259
    $textBox1.Size = $System_Drawing_Size
    $textBox1.TabIndex = 2
    $textBox1.add_TextChanged($handler_textBox1_TextChanged)
    $form1.Controls.Add($textBox1)
    $button1.DataBindings.DefaultDataSourceUpdateMode = 0
    $System_Drawing_Point = New-Object System.Drawing.Point
    $System_Drawing_Point.X = 13
    $System_Drawing_Point.Y = 227
    $button1.Location = $System_Drawing_Point
    $button1.Name = "button1"
    $System_Drawing_Size = New-Object System.Drawing.Size
    $System_Drawing_Size.Height = 23
    $System_Drawing_Size.Width = 259
    $button1.Size = $System_Drawing_Size
    $button1.TabIndex = 1
    $button1.Text = "Add"
    $button1.UseVisualStyleBackColor = $True
    $button1.add_Click($button1_OnClick)
    $form1.Controls.Add($button1)
    $dataGridView1.DataBindings.DefaultDataSourceUpdateMode = 0
    $System_Drawing_Point = New-Object System.Drawing.Point
    $System_Drawing_Point.X = 12
    $System_Drawing_Point.Y = 12
    $dataGridView1.Location = $System_Drawing_Point
    $dataGridView1.Name = "dataGridView1"
    $System_Drawing_Size = New-Object System.Drawing.Size
    $System_Drawing_Size.Height = 170
    $System_Drawing_Size.Width = 260
    $dataGridView1.Size = $System_Drawing_Size
    $dataGridView1.TabIndex = 0
    $form1.Controls.Add($dataGridView1)
    #endregion Generated Form Code
    #Save the initial state of the form
    $InitialFormWindowState = $form1.WindowState
    #Init the OnLoad event to correct the initial state of the form
    $form1.add_Load($OnLoadForm_StateCorrection)
    #Show the Form
    $form1.ShowDialog()| Out-Null
    } #End Function
    #Call the Function
    GenerateForm
    Test result:
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to import the Issues list from an Excel File in Project Server 2013

    Hi,
    I'm using Project Server 2013.
    A Project Manager has been playing with the Issues List, deleting some fields, creating new columns and modifying some columns name. The result of this is that I'm getting this error everytime the task
    Reporting (Project Sync) is executed:
    General
    Reporting Wss list sync failed:
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='4feafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='5deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='69eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='75eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='81eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='8deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    Reporting message processor failed:
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='5beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='67eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='73eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='7feafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='8beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='97eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    Queue:
    GeneralQueueJobFailed (26000) - ReportingWSSSync.WSSSyncMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='98eafda7-f147-e411-940d-005056957f05' JobUID='9e937da7-f147-e411-940e-005056957f0d' ComputerName='b579360a-53ab-4fe0-bf9b-c62f5e8d3529'
    GroupType='ReportingWSSSync' MessageType='WSSSyncMessageEx' MessageId='1' Stage='' CorrelationUID='0945bd9c-0d6a-a0f1-47b0-68cdfcfbff9a'. For more details, check the ULS logs on machine
    b579360a-53ab-4fe0-bf9b-c62f5e8d3529 for entries with JobUID
    9e937da7-f147-e411-940e-005056957f0d
    What I'm trying to do is to create a new Project from the scratch, update the Issues List, not deleting or modifying columns, just creating new columns in order to match the names he (the Project Manager) put in his Issues List, then Export the list to Excel,
    and then create a datasheet view matching the Exported list, but here I don't know how to import the list (copy / paste or whatsoever it can be done...)
    Do you know how to do it, or do you know another/any method to solve this problem?
    Thank you in advance,
    José Espases

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to show image in a datagridview cell called from a URL stored in an SQL database

    I am using Visual Studio 2008 creating a Windows Form to display a datagrid with real estate information. The SQL database record contains a dozen fields of text which I have no problem displaying. My problem is one of the columns contains
    a url which links to a picture on a remote third party server. I need to display a thumb nail picture on the grid row based on the stored url. When I edit the gridview column I see there is a "column type" setting and
    in the dropdown is DataGridViewImageColumn. I don't see any URL setting where I can bind the sql field to. 
    Any help would be greatly appreciated.

    Hi ikeni,
    I think you could do as below:
    1.Set the ColumnType as “DataGridViewImageColumn”
    2.For each row of the datagridview, and set the Value of datagridview cells like  “dataGridView1[2, 0].Value = Image.FromFile(@"\\1.168.1.1\C$\Users\Desktop\3.JPG")”
    You could turn to the links below for more information:
    setting an Image column in a datagrid view based on a value in the database c#
    https://social.msdn.microsoft.com/Forums/windows/en-US/62f5b477-5311-4de5-bc18-fbd29bbfc9e2/setting-an-image-column-in-a-datagrid-view-based-on-a-value-in-the-database-c?forum=winformsdatacontrols
    Check if file exists on remote server and various drive
    http://stackoverflow.com/questions/26432688/check-if-file-exists-on-remote-server-and-various-drive
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to import the itunes configuration from an old drive to a new C drive?

    I recently upgraded my computer and replaced all the hardware (motherboard, CPU, etc). However I kept the old "C" drive as a back-up with all the software
    including the i-tunes files(playlists, etc). I replaced the old XP OS with an upgraded Windows XP OS and downloaded the last version of i-tunes 8 (8.2.0.23). Is there a way to recover the previous configuration and playlist files that I had before? I tried to use the library import feature but couldn't find the access path to get the old data. Any tips on how to proceed? Thanks in advance.

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to update project library list from an extension

    Hello,
    I'm writing an extension that needs to update project library list. I want to add a jar file in the library. How can I do this? Is there a sample code that does similar logic?
    Thanks.

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Data format changing from database to datagridview

    hi I am trying to display data from database sqlite  to datagridview the data format changed automatically
    the date in database is
    2012-02-20 16:42:10.00 but on datagrid view it appears like  20/02/2012 16:42:10,
    swOut.Write(",");
    swOut.Write(dataGridView1.Columns[i].HeaderText);
    swOut.WriteLine();
    //write DataGridView rows to csv
    for (int j = 0; j <= dataGridView1.Rows.Count - 1; j++)
    if (j > 0)
    swOut.WriteLine();
    dr = dataGridView1.Rows[j];
    for (int i = 0; i <= dataGridView1.Columns.Count - 1; i++)
    if (i > 0)
    swOut.Write(",");
    value = dr.Cells[i].Value.ToString();
    //replace comma's with spaces
    value = value.Replace(',', ' ');
    //replace embedded newlines with spaces
    value = value.Replace(Environment.NewLine, " ");
    swOut.Write(value);

    This forum is for Microsoft products, they have already and endless quantity of databases, many even freeware. 
    Try therefore for your question the forums for SQLite.
    SQLite has very special own way of datatypes.
    Success
    Cor

  • List view and datagrid

    Hi friends,
    I used list view or datagrid in .net ,
    I dnt know how to implement in forms 6i.
    In my module, I have to enter sales items ..it will come like this:(it will come from textbox to listview)
    item_name qty price
    x 1 23.00
    y 2 34.00
    z 1 23.00
    finally i will store all the values in DB.
    How to implement this....?
    regards,
    Selva.R

    Hi Selva,
    Could you please explain more clearly?
    I assume you have a form with four textboxes. If you want that the entered values will be saved in the database, you simply 'commit' the data. This can be done e.g. by F10. You do not need any extra buttons or button-pressed-triggers for that. This is standard Forms functionality.
    What do you mean with "Again i will enter some some values in the text box"? Do you want to overwrite the old data, or do you want to insert new records in the database. Again, both options are standard Forms functionality.
    Maybe you should go through the standard Forms documentation?
    Good luck,
    Lennart de Vos

  • Can DataGrid have the grid view?

    Hi,
    I have two DataGrids that can drag-drop data between source_datagrid and target_datagrid by defining the dragEnter and dragDrop events.
    DataGrid control has list-based view, is there a way to convert the DataGrid control to display the grid-view?
    If I need to make another control for the grid-view display, can you point out the example that what controls to use?
    and how to do the drag-drop from this grid-view control to dataGrid?
    Thank you very much.

    Instead of using a DataGrid, you could use a Tile or TileList component.
    DataGrid does not have your desired behavior.
    You could create a custom component that uses states to display data in a DataGrid or Tile/TileList and switch states as appropriate.
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.chikaradev.com
    Adobe Flex Development and Support Services

  • How does one access MX components -- e.g. DataGrid -- in Design View in Flash Builder Burrito

    Hi,
    Is there a way to access the mx version of components in Design View (Flash Builder Burrito), for those components that have both a Spark and a Halo/MX version, e.g. DataGrid?
    Thanks

    ... I know I can go to Source View and type in part of it, and switch to design view, however I'm doing a bunch of tutorials where the mx components are used, where one is simply dropping data services onto the components, apparently not supported yet on the newer Spark components?

  • Extend Datagrid with unsorted view

    Hi all,
    my datagrid displays in the 'default' unsorted view. Then users can choose a sorting order.
    A customer also needs the default unsorted view after he has choosen a particular sort order on a certain column (without refreshing the page).
    However, once choosen a sort direction, the datagrid only have the asc/desc sort directions.
    Do I need to extend the datagrid or can this be done easily ?
    thx.

    Seems odd to have the same DG show one column in a different sort order,
    even unsorted.
    You could determine the row index from
    var index:int = DataGrid(owner).verticalScrollPosition + listData.rowIndex
    and access dataProvider["source"][index];

Maybe you are looking for