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

Changing Grid Data -

Somebody please help me !

I have a project I'm working on that uses a grid (any type it doesnt matter). The grid shows the result of a recordset. The recordset is made up from fields from a database that contains 4 tables. The recordset has one field from each of the 4 tables.

I want the user to be able to click on a cell on the grid and whichever cell he has clicked will automatically change to a different set of data, i.e. the name Fred would change to Bill, etc.

It is essential that this change is made by simply clicking on the cell. The only thing is I can't figure out how its done.

Once the change is made, the recordset and the underlying database should also change to show the changes in the grid.

Someone please help me here as I'm tearing my hair out !!

Thanks,

Mike

 

[2005] Changing DataSource of Data Grid View -
Hello all! This is my first post here. I have two data grid views...both are connected to two different databases. I just recently figured out how inefficient this is. I combined the two databases (1 table for 1 db...so 1 new db with 2 tables). What's the easiest wa


A simple Data set / grid question -
Morning, I have a data grid bound to a data set. Depending on what row people click on in the data grid I look up data from the data set and populate other controls/variables. I do this using Datagrid1.CurrentRowIndex to match the corresponding data, if someone does a sort on the data


[2005] Grid control and dataset -
I am using the Obout Grid control for ASP.net 2.0 from here (http://www.obout.com/grid). I populate the grid with data from a SQL server by running a query on a database and loading the data into a dataset and datatable. I then bind the data using oGrid.DataBind() to display the data


grid over drop down list -
hey all, i have a page with input boxes and drop down lists. I have a button that shows an html grid over all of that (for searching) and then removes it. When the grid is shown, the ddl appear over/on top of the grid. It looks like the ddls are part of the grid, when they are n


Changing Grid Data -
Somebody please help me ! I have a project I'm working on that uses a grid (any type it doesnt matter). The grid shows the result of a recordset. The recordset is made up from fields from a database that contains 4 tables. The recordset has one field from each of the 4 tables. I


MSflexgrid data loading speed -
Can someone please tell me the fastest way of uploading the data from an Access database on to a MS flexgrid. I am currently changing the grids visible property to false and using a string with 8 fields from the database, seperated by vbtab's. I then using the addnew command to add t


[2005] Grid - Binding -
Hi, I have a problem and I hope I am making sense here. i have a grid - bound to a datasource.. among other data in it it has lets say [refiD2] This is fine... I have added a combo box to the grid.. (column2) its data source is holds [refID2] and [refDescription] Its dis


Looking for a Grid -
Hi everyone, i am looking for a grid in which i can edit (like data grid) and in which i can add data myself and dont have to link it to any database object to lift data from (like MSFlexGrid). Kindly lemme know if there is any in-built grid attached in the VB components which i can us


I can't get the dragdrop event to work correctly. why -
I am using the ccomponent one with vb.net to create grids populated with infomation form a databse. I have created a drag event that I can use to move data from one grid to another and it works great (almost). The problem is when I start to drag data from the first grid to the se


ADODC and Data Grid -
I have a form with an ADO Data control and a Data Grid 6.0 (OLEDB) (SP5) on it. On the form that calls this form, I set my connections and SQL. The form with the Data Grid on loads and the Grid is populated with data except for the first cell on the grid which is empty? I haven't


About Grids -
I have never used Girds. Can anyone tell me about different grid types and when they can be be used. Is there any good tutorial for Grids? Also, Whats the difference between MS Flex grid and data grid? I read that MSFlex Grid is readonly. What about data grid? Pls. help. Thanks in Adva


Flex grid Probelm -
!!!!!!!!!!!!!!!OM SAI RAM!!!!!!!!!!!!!!!!!!!! I am using flex grid for displaying some tabular data . I have got code for copy the same. This is working fine. But Now i had to merge some rows for header if I will merge then I am unable to select(the selection is taking


Want to entry in Data grid Or MsFlex Grid -
I am new in database devlopment I want to entry data directly in data grid cell or ms flex grid in any one of this. Normaly When I run the project in data grid cell I can't put the cursor and can't entry somethig. how I could possable. please help me Thank you From Rummy


DataCombo list doesnt reagate to changing of the recordset bounded to it. -
if I change a recordset's filter (ADODB) bounded to a DataCombo control it doesnt refresh its data. there is a datagrid control bounded the same recordset (the recordset is a table type command in a dataenvironment) the grid refresh its data correctly. I tried to call datacomb


DataCombo doesnt reagate to changing of the recordset bounded to it. -
if I change a recordset's filter (ADODB) bounded to a DataCombo control it doesnt refresh its data. there is a datagrid control bounded the same recordset (the recordset is a table type command in a dataenvironment) the grid refresh its data correctly. I tried to call datacombo refill


MS Flexgrid Copy/Swap [UNresolved] -
I have an application that populates a rather large flexgrid with images as well as text. The grid is populated via code, not a DB. Its contents are constantly changing. I would like to have 2 grids, one grid that I can update in the background and a 2nd grid that the user sees


Changing Grid Cells with the Mouse -
Somebody please help me ! I have a project I'm working on that uses a grid (any type it doesnt matter). The grid shows the result of a recordset. The recordset is made up from fields from a database that contains 4 tables. The recordset has one field from each of the 4 tables.


Change data in Data Grid -
Hello Friends, I am developing one application in which I want to display data in data grid from one table. Now I want to add one column in which I want to enter data and as per entered data I want to update values in other columns. Plz can u help me how to do that using Data Grid?


Help! S-Grid is changing my cells a different color!! -
Hi everyone, I have a form with the S-Grid 2 control in it, and I have one column which is white where all the data is entered in. If I click on any of the other columns, which is either gray or black, then when they lose focus they turn white. I can't figure out what is causing this s


how to create a data grid -
there is two data grid showing in the program. When i look at the code, both of the data grid have empty code in it. But the data grid is working fine, i wonder how it is implemented and how they make it work without the code??


DBGrid not refreshing when recordset data changes -
I have a DBGrid bound to a recordset in a Data Enviroment. When I change the data in the recordset by issuing a new sql statement the data in the recordset changes but the grid still shows the old data. I have tried setting the grid.datasource to nothing and then setting the grid.d


Dataset Update -
Hi All, Need help. Have been going through MSDN and trying to get the dataset Update working. I have created the dataset through the oledbdataadapter. Set the datasource of the datagrid to dataset.theTable. It works fine and displays data in the grid. I change the data in the gri


VB6 Data Grid updation problem -
Hi All, I am developing an applicaiton using VB6 and MS Access using DAO. In my application, we are using VB6 DB Grid for displaying data available in the Access file. we binded the database to grid at design time. after some time my application will update data in the database t


Dataset update issue -
Hi All, Need help. Have been going through MSDN and trying to get the dataset Update working. I have created the dataset through the oledbdataadapter. Set the datasource of the datagrid to dataset.theTable. It works fine and displays data in the grid. I change the data in the gri


Buttons in Data grid -
Hi: Im building a vb .net web application. i have a data grid and below it are some buttons; such as new, query, count. i want these buttons to be part of the data grid in such a way that if the data grid has only 2 records and therefore short, the buttons will appear straight after


Data Grid Size -
Hi: Im developing a web based vb . net application. i have a data grid that displays data on a number of pages. the problem is that if there's only 10 records the size of the data grid will be so large to fit the entire page; basically if i have 10 records, teh data grid will be teh


[2.0] How to not refresh that grid. -
I need a way to delay refreshing of a data grid until all my edits are done. I have a dataGridView that is loaded with various data items, and I'd like to stop painting of the grid while I assemble and load all that needs to be displayed in order to smooth out the data display.


Need Grid that Emulates Excel Data Filter -
Hi guys I am looking for a prebuilt tool that provides the following functionality: Choose Server, Database, Table From this the tool Populates a data grid with all columns in the underlying table. Header for every column with Combobox populated with Distinct values from the o


Regarding MSHflexGrid -
Hi, I have the doubt in saving rows in mshflexGrid. I have two mshflexGrid. I entered data in mshflexgrid1. After entering the first row in the first grid, i enter the data in the Second Grid. Then i come to the second row in first Grid,i enter the fresh data in relation


sql and vb data grid -
what i have is a form which has a few text boxes and a data grid. i am using sql as the back end. i have created two ado data controls one for the data grid and other for the boxes. what i am trying to do is add data from both the text boxes and data grid into a single table. the probl


Saving Info To Data Grid -
I created a seperate for for users to imput data... it's different from the one the data grid is located on... I want to know how I save the user input data into the grid. Also, is it possible for the data to be saved to an SQL server for download by other users?


Locking row selection with MSFlexGrid -
I just started learning VB, so be gentle... I have a form with an MSFlexGrid and some text fields. The grid is set so that the user selects entire rows at once and when a row is selected, the fields fill up with the data from the cells of the selected row in the grid. The user


My stupid data grid problem -
When i am editing the row for a grid(i.e. while entering values in the grid) i want to validate it. if i find value to be inapropriate i shall not accept it. hence give the user chance to enter valid data. can u explain this with sample piece of code? that would be helpful!! Also for


Simple Grid question... -
I have a table of data stored in an array. I want to be able to display this table using a grid (like the msflexgrid). I want the customer to be able to click into one of the grid spots and type data. For some reason, it appears that the msflexgrid can't be used this way. Or am I


[2005] Refresh Grid View -
I want to know how can I reload data in a grid view from database including changing happened??? i tried " gridViewObj.Refresh " But it hadn't worked...


*Unresolved * Looping Through Data Grid -
Hello, What is the simplest way to print the contents of a data grid control? I am more familiar with the flexgrid, but this is an existing program with a Data grid. Thanks


Hiding/sizing columns in data grid -
I have a data grid that is bound to a relationship of two tables in a dataset. The common field in the relationship is classId. When I view the data in the data grid I do not want to see the classId field but if I do not include the field in my select statement I get an error when I


Mulitselect data in a grid -
I've been given the assignment to allow multiselect on a grid that is populated with data. The current grid being used is MS Grid Control (grid32.ocx). I have a choice of MS FlexGrid Control 6.0 (msflxgrd.ocx)...but wasn't sure if that even supported multiselect. If it is, do yo


Using OLE DB grid and data control -
Hi, I'm using a grid control (dbgrid32.ocx) along with intristic data control. As I understand I should be using the new versions of both data control and grid control (I think it's called OLE DB). Can someone show me a sample of linking Access97 database to the new OLE DB grid thr


Hiding columns within a Data Grid -
Does anyone know how to hide columns within a Data Grid? I have a Data Grid who's DataMember is a Relationship between two tables in a Dataset. I have some fields on the Grid that I'd like to hide. How would I do this. I read something about DataGridTableStyles, but couldn't get it