473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Datagridview - enable cells editing with datatable not editable

Hi, this is my question:

I've a stored procedure in a sql server.
I can display the rows in a datagridview passing through a datatable that load the corresponding datareader.

All I need is to enable cells editing.

I nkow that the DT has the readonly property setted on true (datasource is a stored procedure not a table).

I want manually save changes, I don't need binding.

(maybe converting Datarows in another list ?)

Any suggestion appreciated,

Many thanks
Nov 26 '10 #1
0 1137

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Luca Beretta | last post by:
I think this a simple question but i'm breaking my brain without results. I've a datagridview bounded to a datatable, with an imagecolumn that should contain a different bitmap depending from a...
8
by: George | last post by:
Hi, I have been trying to see if I can do the following: 1. Create a DataGridView 2. Create 2 columns in the DataGridView (1 textbox and the other combobox) 3. Create a DataTable containing...
3
by: Rich | last post by:
Hello, I am populating a datagridview from a datatable and filtering the number of rows with a dataview object. Is there a way to retrieve the rows displayed by the datagridview into a separate...
7
by: Rainer Queck | last post by:
Hi NG, Why is it, that in my DataGridView all columns which are not bound to a "DataProperty" loos thier content in a couple of occasions? This happens if: - Underlaying...
1
by: Kevin S Gallagher | last post by:
I am looking for advice/code to assist in determining which cells are visible on a DGV. The code below works but wanted to see if there are better methods or perhaps the code below has issues I...
1
by: Mel | last post by:
I want to disable the editing of a row in my gvParts GridView control. How? I need to evaluate the value of one Template Field to determine if the record should be edited or not but the template...
8
by: Sep410 | last post by:
Hi all, Here is the code that I have: For h = 2 To dt.Rows.Count - 1 For j = 0 To 11 Excel.Cells(h, k).value = (dt.Rows(h).Item(j).Value).ToString ...
0
by: Eric B. | last post by:
I have an Image column. How do I get back the filename of the image in a given cell? When I try to get the .Value of the cell all I get is "System.Image.Bitmap". I am also a bit troubled by...
5
by: liadmz | last post by:
Hi All, I'm looking for a way to merge cells by their content in DataGridView. For Ex' 2257 How can I implement this table using DataGridView ?
2
BRawn
by: BRawn | last post by:
Hi guys, I'm struggling to copy rows from one DataGridView to another. This may sound redundant but it's necessary for my Orders project. I have 3 DataGridViews on one form. The first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.