Search Result

Collapse
14 results in 0.0043 seconds.
Keywords
Members
Tags
datagrid
  •  

  • preethi 123
    started a topic how to bind image control in datagrid using wpf
    in XAML

    how to bind image control in datagrid using wpf

    Hi,

    I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database.
    In database, this is the table structure
    Code:
    table tblPicture
    (
    @Picture varbinary(MAX)
    )
    it has 5 rows.

    Datagrid gets filled with 5 rows (of datatype byte[]). But all...
    See more | Go to post
    Last edited by Frinavale; Dec 21 '11, 04:22 PM. Reason: Added code tags

  • Change colour of column header in WPF datagrid with autogenerated columns at runtime

    Hi folks,

    I have a WPF Datagrid in a WPF Project Window. I have populated the grid with a datatable, and autogenerated the columns (unfortunately a necessity) and have a requirement to change the header colour of the columns dependant on certain other factors.

    I have a list of the coulmn names that need highlighted, and would easily be able to figure out their indexes based on this (as I generated them myself in the...
    See more | Go to post

  • How can check each records in a data grid and move the record pointer to the correct

    Hi,
    How can check each records in a data grid and move the record pointer to the correct record.
    I have three text boxes red, green and blue.
    I have an MSAccess database with fields code, red, green and blue.
    How can I navigate to the record where red, green and blue values match with the corresponding text boxes?
    TIA
    Frank
    See more | Go to post

  • How to store selected radio button in datagrid of wpf

    Hi All,

    I have a datagrid which display all the questions for the users to answer.Each question is accompany by 4 radio buttons with the options agree, strongly agree, disagree, strongly disagree.The design of the datagrid is as below:


    Questions Agree StronglyAgree Disagree StronglyDisagre e

    Ques1 o o o o
    Ques2 o o o ...
    See more | Go to post

  • Aimee Bailey
    started a topic (C# WPF) DataGrid Invert Row Selection...
    in XAML

    (C# WPF) DataGrid Invert Row Selection...

    Ok today I came across one of the oddest problems so far in my programming life, I was building an application not to dissimilar to a file explorer, and I had the need to invert the row selection on the DataGrid control, something easy you say? well give it a go and you'll soon come across the same issue. The problem was that there is no specified way to do this, plus a search on Google showed that not many people have needed this yet, so I was stuck...
    See more | Go to post
    Last edited by Aimee Bailey; Mar 4 '11, 04:58 AM. Reason: more appropriate title.

  • How to retrieve the data on the last row of my datagrid

    please help me, I want to have an auto generated id for my table and i want to set it using vb code. How can i retrieve data from the last row and increment it.
    urgent.

    thanks a lot guys.
    See more | Go to post

  • Askelassen
    started a topic Faster way to update datagridview?
    in C

    Faster way to update datagridview?

    Hey

    I am currently developing an GUI that contains a datagridview. The datasource for the gridview is an ArrayList. I have had som problems adding new rows to the datagrid while the GUI was running. I finaly got it to add a new row when I clicked a button, but when the number of datarows exeeds about 10 rows it starts to be slow to add rows. This is because it has to refresh all the data for every new row added. Do you guys know a...
    See more | Go to post

  • dudesville
    started a topic Avoid row when scrolling in datagrid.

    Avoid row when scrolling in datagrid.

    Is there anyway to freeze a specific row when scrolling the datagid? For example i have a datagrid with 10 rows, i just want only rows 0 to 8 will move when i scroll down or up the grid and the 10th row will remain on it's place. Is this possible?
    See more | Go to post
    Last edited by Dormilich; Jul 5 '10, 06:32 AM. Reason: don’t know where to move it

  • captainB
    started a topic 2 rows for each database record in a gridview

    2 rows for each database record in a gridview

    hi and thanks for reading.
    I am working on a web page that will display records from a database. Each record has a total of 8 columns. One column may be as long as 500 characters, and the other 7 columns are between 5 to 25 characters. For each record in the dataset returned from the database, the short columns should be above, and the long column below.

    In other words, each database record is made of two rows, the 7 short...
    See more | Go to post

  • bonx666
    started a topic Get data from Datagrid into textboxes

    Get data from Datagrid into textboxes

    First of all, i'm a newbie to winforms :)

    I have created a dataset with data from my DB and using that as my datasource for my gridview, a little bit of code:

    Code:
    // Define Connection string
                string DB_ConnStr = ConfigurationManager.ConnectionStrings["SupportTool.Properties.Settings.DB_Contact_ConnStr"].ConnectionString;
    
                // Define SQL Connection
    ...
    See more | Go to post

  • ravinderreddy736
    started a topic Data Grid, SQL database

    Data Grid, SQL database

    How to get data into datagrid from SQL database using SQl language...in visual studio...pplz help me out...thnx in advance
    See more | Go to post

  • gerreth
    started a topic convert datagrid data to xml file

    convert datagrid data to xml file

    Hi,

    I want to export data in 3 cbo's from my datagrid and then show these data in a browser.
    very plain. Nothing special. But I can't find the right way to do it.

    Do i need to create a file first and then load it into the browser?
    Or is there a easier way?

    Thx
    See more | Go to post

  • cday119
    started a topic Modify Dataset when Viewed in DataGrid

    Modify Dataset when Viewed in DataGrid

    Hey

    In my database I have time formatted as a unix timestamp. I put that into a dataset. What is the best way to change those timestamps into a human readable date and time when the dataset is viewed in a datagridview.

    FANK!!!
    Chad
    See more | Go to post

  • LBLB
    started a topic Rendering tabular data - best for performance?
    in .NET

    Rendering tabular data - best for performance?

    In terms of processing speed, what is the best method for displaying tabular data from a database in a Windows forms C# app? We generally use data grids (Infragistics WinGrid), but have an instance where run-time performance MUST be optimal - coding complexity and other things are less important. Here are some paticulars:
    1. Data is stored in SQL Server.
    2. Data is read-only.
    3. The container/control must allow for mouse-click...
    See more | Go to post
Working...