o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

[2008] Editing selected Datagrid cells -

I am developing a Windows Mobile 6 app and as far as I can see there is no DatGridView control available. Can anyone confirm that my understanding is correct.

I would like to allow the users to click on a row header in the DataGrid and be presented with (using texboxes) two or three field that they can amend - then press a button to confirm.

is this the best way to approach the problem, or is there a better method - and can anyone point me in the direction of an example of something similar please ?

 

[2008] Editing selected Datagrid cells -
I am developing a Windows Mobile 6 app and as far as I can see there is no DatGridView control available. Can anyone confirm that my understanding is correct. I would like to allow the users to click on a row header in the DataGrid and be presented with (using texboxes) two or three


Active cells in a datagrid. -
Hi All, I have a form with a datagrid which displays a number of rows from a database. The data is input using a separate input form. Could anyone tell me how I could click on a row in the datagrid and that in turn would bring up the selected record in the input form for editing.


Setting values in a new row that a user is editing. -
I am using a bound datagrid and allowing the users to add rows to the datsource using the new row in the datagrid. However, I need to modify some cells in the row after the user fills out the first 2 column. How do I go about doing this? I can't use the .NewRow method because that a


help editing datagrid -
what is the best way to take an sql query put it in a datagrid and edit and update my database? i already have a datagrid filled with the results, but i do not know how to edit any records. i would like the record to be selected then have an add record button that would insert into m


ContextMenuStrip in DataGridView -
Hi all, I wanted to ask if it is possible to apply the default ContextMenuStrip of DataGridView that appear on the mouse right-click at cell editing, to, say, several selected cells. Or do I have to write my own ContextMenuStrip for copying and pasting selected cells. Thanks.


Referencing cells in a datagrid -
I have a datagrid whose datasource is a query returning four fields. name, startdate, enddate, clientid Depending on which row is selected (by clicking on any cell in that row) ,i want to assign the clientid of the selected row to a variable. How do i reference this information.


how to let the datagrid know that i have finished editing the current row -
Dear all, using the vb.net 2003 and datagrid is a tough job. i have a bound datagrid, that allows users to edit the data in it. i have shortcut menu for saving the datagrid. in a scenario where i am editing in a current row , and press save. last changes are lost. i must


Basics in editing a DGV -
Could someone please post a straight-forward example of editing a DGV. I have that is bound to a SQL Server table programmatically. The cells that are editable will contain numeric values only. I've never tried editing a DGV and it looks more complicated than it should. Thanks,


Datagrid editing with ADO -
I'm new to ADO could someone give me an example of editing rows/columns in datagrid with ado/sql commands. I have connected to the database and would now like to fill an entire column with a random number and sort it ascending. thanks


[2008] data grid -
'i plan to use datagrid to display a lists of record, with datagrid, i can set a link in a column which can direct user to another page based on item selected. but how to transfer the caseid for the selected row so that the correct information can be displayed in a new page base on the


Ugly datagrid -
Hi, all, I'm not the most gifted when it comes to the appearance of a website... You know making it look nice to the user. I like the code behind aspect of web development. So here's my question: I have a datagrid on my site that I'm populating from a SQL stored procedure. Probl


Help With Datagrid VB 2008 -
for mods - i already searched! please dont delete! can i select a record using datagrid? i couldn't even display data from msaccess to datagrid in vb6, i bind the msaccess to the adodc control, then use bind the datagrid to the adodc, so whenever i click something , th


Which entry from a Datagrid was selected -
Hi, How can I know, which line from a datagrid was selected by a user ? My idea is the following: to have a Datagrid containing a Customer_id and Name fields. Once the user select the row from the Datagrid, I need to know which customer was selected and then pass that valued to a


[2008] [Help] Editing and Hooking Processes -
Dear users; I am a new programmer, and I am quite confused on hooking on to a process, and then editing process memory of that process. I need help noping (0x90) and probably editing values. Thanks. I am currently using VB Express 2008


Accessing other cells in DataGrid Control -
I want to adjust the width of the column to the maximum width of any visible cells in a Column. So far I have... I have a DataGrid on a Form, filled with data from a Recordset Object. I have selected a Column and written some For Next Visible Row. How can I access each vis


Problems With Editing Values In Datagrid... -
Hi again, I have a problem when editing values in a datagrid. I use the Sub....DataGrid1_BeforeUpdate(Cancel As Integer) ...to validate edited value. Problem is.. if the user types in a new value and presses the process button, without going to another datagrid field first, this s


[2005] I have a validation control problem -
In my webpage, i have added a datagrid for editing and deleting of data. I also have a few text boxs and a button to add the records in the database and thus displaying on the datagrid. On the datagrid, i allow editing of the data. However, once i press the update button in the edit fo


Filtering the datagrid, how can I do that -
Hi all, I am a beginner of VB.net, is it possible to filter the datagrid? Saying I had a text box at the top of the datagrid, and what ever I typed inside the textbox, it will automatically filter my datagrid while I am typing something. And another thing, that I was experiencin


Datagrid showing "#ERROR" in every cell (VB 6.0) -
Hi, the cells of the datagrid on the form display #ERROR. It happens with the cells that are covered by another form. In other words, I have two forms: one with the datagrid and another one with the info that is gonna be inserted. The latter form covers some of the cells of the datagri


Checking input value of the Datagrid -
I am using a datagrid to display records ina table. And iwant to edit the value of the table . When the user finish enter the value of a cell , i want to check if the input value was correct or not , before the other cells selected . I think i will use some methods like BeforeColUpdate


Colouring individual cells of a datagrid -
Is it possibble to color individual cells or rows of a datagrid? All i can manage is to colour the entire grid using the backgroung and foreground properties. If this is not possible with the datagrid can you do it with the flexigrid? Cheers


Datagrid how to show Selected columns -
This is driving me nuts. I need to have a dataset binded to a datagrid. The data grid must not show all columns in the dataset but only a few. I will be adding records to the dataset in code and these should show in the datagrid, any kind of editing or adding is not allowed in the data


Datagrid not updating -
I'm having trouble with my datagrid still. My datagrid is used mainly for display and selecting records only, not for editing, all of the editing is done in text boxes. When I add a record to my datatable, it adds ok, but my grid doesn't reflect the changes. If I close the form and


Editable Datagrid (Cells) -
Hi! I want to have a Datagrid, where , I can edit cells (and not rows) , on clicking at it. When I click on a cell, it should become a dropdown , from where I can choose an item. (There should be no Edit link or a button) On clicking the Update button, it should update all the cell


How to know which row of datagrid is being selected -
I am using VB.NET to access a mySQL database, I have fill the datagrid with some data but I don't how to get the selected row number. Is there a way to know which row in the datagrid is selected? Thanks.


ListBox and DataGrid in 2003 -
ListBox: How do you display more than one column from a bound dataset using DisplayMember? DataGrid: How do you force it to so that the user can only select the entire row (a blue selected bar all the way across the grid) rather than individual cells? Thanks


[2008] Editing CSV File -
I have a CSV File and i want to edit it and make a new column in it my current text in CSV file (Some) Username,Your referral since,Last click,Clicks R1181312,2008-06-13 16:49:00,2008-07-18 09:27:00,40 R1477140,2008-06-13 16:49:00,2008-07-17 10:18:00,73 R30994,2008-06-13 16:49:0


Silverlight 2: Disable datagrid row- and cellselection -
Hi everyone, First of all, I'd like to apologize if this isn't the correct forum for Silverlight posts, but I couldn't seem to find the right one. I have a DataGrid with a set af TemplateColumns, and what I basically want to do is create "links" inside each of these. No


Getting the selected index of a table in a datagrid -
Hi everyone. next question. I constructed a table, and added it to a datagrid. Pseudocode: // Create table. // Add values DataGrid.DataSource = DataTable; It is working fine. I'm getting information to add. However, when I move to delete I want to get the selected index th


highlighting cells in a datagrid -
Hi All, I am trying to highlight all of the cells in a datagrid and then copy them to the clipboard. Many thanks, Colin


Simple datagrid view question -
When I click addNewItem for my datagrid I would like to insert data in one of the cells in the new row. How do you do that? I have tried : DivisionBOMDataGridView.Rows(1).Cells(0).Value = 12345 But row position is 1 too many. The row is created before this occures. Thanks!


Datagrid problem in VS.NET 2003 -
Hi, I have placed a Datagrid on a VB.NET form, which is True for ReadOnly and Enabled property. When user is editing some textbox, system will set Enabled of Datagrid to False. After editing, system will set Enabled back to True. This is done by a common function, but I found


Tooltip in DataGrid -
Hi, I have a datagrid with 2 columns. The second column displays the name of some files. I want a mouseover/tooltip functionality on the cells of the datagrid. Every time the mouse cursor is moved on the filename column of the DataGrid, depending on the cell, it should display the ful


datagrid editing -
I have a web form with a datagrid that is bound to my database. I did this by using the oleDbDataAdapter configuration wizard. The datagrid gets populated on the page_load event. The datagrid only has an ID number field. I want the user to select there ID number and then I want to send


DataGrid Selected Item value -
Hey, My problem: User selects item for editing. Then he changes some data in textbox (1rs column). How to know, what was primary data of selected item? I need to know old and new values. Thanks


How to edit DataGrid cells using overlapped text box -
I am using a VB6 datagrid control to allow the user to view and edit data in an access database. I am using the memo data type for several of the columns displayed in the datagrid. In order to allow the user to view more data I would like to use an overlapping text box to expand an i


Which Row is selected in DataGrid... -
How can you tell which row is selected in a datagrid? It would be good if this row had a number like in an index or something... Also, How can I use a datagrid to edit the information in my recordsource? I have AllowUpdate set to true, but I just don't see any update method for


Selected Cells In MSFlexGrid -
I would like to take the data from the selected cells in an MSFlexGrid and copy them to a string for use elsewhere... How do I get the selected cells? Thanks!


[2005] Stop DataGridView from loading with a cell pre-selected. -
When my DataGridView control loads and populates with data one of the cells is selected (background highlights dark blue) how can I prevent this so that no cells are selected on load. Thanks.


How to Identify the cells selected in excel thru VB -
Hi, Both the VB and Excel applications are running simultaneously... When a user Selects a range of cells in the Excel and switches to VB window for clicking a button which moves the data from the selected range to the database. I can open the Excel file from VB, but i'm unabl