Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number".
I want the user to be able to add / edit the serial number, but not the
Product Description. In fact, I don't even want the description to be able
to get the focus (i.e. disabling the column). Is there anyway to do this?
Thanks! 5 2571
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART
IN CAPS> said: Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyway to do this?
Look into using templates for the control rather than the default.
FWIW,
Greg G.
Rico,
Will you be so kind that when you post to the newsgroup languages.vb and
dotnet.general and are writing about a Datagrid to tell that it is about
ASPNET.
In those two newsgroup WinForms is the default.
Because that you also have posted to ASPNET, I could see that you mean an
ASPNET form.
Thanks in advance.
Cor
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART IN
CAPS> schreef in bericht news:m4FSf.155026$B94.113974@pd7tw3no... Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyway to do this?
Thanks!
Rico,
In the newsgroup General where you disconnected the other links I saw that
you have posted it wrong to ASPNET. Therefore again a question. Please as
you crosspost keep the newsgroups complete.
Here is the most simple answer on our website. If you want it more advance
than you can use the styles (as well a lot of samples on our website). http://www.vb-tips.com/default.aspx?...3-a3539697edbd
I hope this helps,
Cor
"Cor Ligthert [MVP]" <no************@planet.nl> schreef in bericht
news:uh***************@TK2MSFTNGP12.phx.gbl... Rico,
Will you be so kind that when you post to the newsgroup languages.vb and dotnet.general and are writing about a Datagrid to tell that it is about ASPNET.
In those two newsgroup WinForms is the default.
Because that you also have posted to ASPNET, I could see that you mean an ASPNET form.
Thanks in advance.
Cor
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART IN CAPS> schreef in bericht news:m4FSf.155026$B94.113974@pd7tw3no... Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyway to do this?
Thanks!
Oops! Sorry, my apologies. I think that's the second time I've done that.
I was bouncing back and forth between ASP.net and WinForms and have been
reference both quite a bit.
I'll be more careful next time.
Rick
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uh***************@TK2MSFTNGP12.phx.gbl... Rico,
Will you be so kind that when you post to the newsgroup languages.vb and dotnet.general and are writing about a Datagrid to tell that it is about ASPNET.
In those two newsgroup WinForms is the default.
Because that you also have posted to ASPNET, I could see that you mean an ASPNET form.
Thanks in advance.
Cor
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART IN CAPS> schreef in bericht news:m4FSf.155026$B94.113974@pd7tw3no... Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyway to do this?
Thanks!
Ah, I see what happened! I notice that ADO.net isn't in the newsgroup list,
which is what I had intended. Again, my apologies.
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uh***************@TK2MSFTNGP12.phx.gbl... Rico,
Will you be so kind that when you post to the newsgroup languages.vb and dotnet.general and are writing about a Datagrid to tell that it is about ASPNET.
In those two newsgroup WinForms is the default.
Because that you also have posted to ASPNET, I could see that you mean an ASPNET form.
Thanks in advance.
Cor
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART IN CAPS> schreef in bericht news:m4FSf.155026$B94.113974@pd7tw3no... Hello,
I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyway to do this?
Thanks!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Terry |
last post by:
Hey,
Having somewhat of an issue, I have a datagrid which is giving me issues.
The Datagrid is setup for the user to double click the row, the row is
selected and data within that row populates a...
|
by: PAUL GROSSMAN |
last post by:
Hello everyone.
I am working with a DataGrid using VB .Net (Windows Forms). I want to
make one of the columns un-editable. I was able to do that by setting
the ...
|
by: suresh |
last post by:
frenz,
i need to disable the add new record mode in datarid.
i just want to modify the existing records in the
grid...but i dont want to add new records..how do i do
that?
-suresh
|
by: Agnes |
last post by:
In myDatagrid, there is 3 columns, account code, debit,credit.
If the user input some particular a account code in column1 , i need to
based on the contect of column1, to disable...
|
by: Geroge D. Lake |
last post by:
Hi,
I need to disable the resizing of a datagrid.
I have tried al day and no luck.
Any Ideas?
Thanks.
George.
|
by: johnb41 |
last post by:
I have a datagrid that successfully allows editing and updating (with
dataadapter.update command). I want the user to be able to edit the
"text" in the datagrid, but i DON'T want the user to be...
|
by: simchajoy2000 |
last post by:
I thought the only thing I had to do to disable column sorting in
VB.NET was to set datagrid.AllowSorting = False. Unfortunately this
has never worked for me. I discovered another set of code...
|
by: Mike |
last post by:
Hi,
I would like to disable sorting in a winform datagrid when a column header
is clicked.
The following does *not* seem to disable sorting and clicking the column
header still sorts the grid:...
|
by: ECD |
last post by:
Hello all,
I can usually find solutions to my .NET problems by searching these
groups, but I'm stumped on this one. I have a datagrid in VB.NET (2.0
framework). I want to disable sorting on...
|
by: =?Utf-8?B?R2VudGlhbiBIaWxh?= |
last post by:
I have a datagrid that I want to be able to allow me to edit only the first
two rows and all the other rows to be read-only.
How can I do that? Any insight is highly appreciated.
I have spent...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |