473,732 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

checkbox in datagrid for intranet application

The data is filled in datagrid. I want to know how to add a checkbox column
in datagrid?
In the runtime, checkbox is checked then instead of checkbox value the
(caseID )column value is retained.
I know there is a lot of article on datagrid with checkbox but nothing
helped me .
Can anyone help me how to proceed ?

Thanks

Nov 21 '05 #1
9 1593
Rekha,

Can you make your subject even more confusing.
datagrid for an intranet application, what do you mean with that?

A windowsform datagrid or a webform datagrid?

Cor
Nov 21 '05 #2
Hi,

Take a look at customization 3 in the article listed below.
http://msdn.microsoft.com/library/de...stdatagrid.asp

Ken
---------------------------
"Rekha" <Re***@discussi ons.microsoft.c om> wrote in message
news:07******** *************** ***********@mic rosoft.com...
The data is filled in datagrid. I want to know how to add a checkbox column
in datagrid?
In the runtime, checkbox is checked then instead of checkbox value the
(caseID )column value is retained.
I know there is a lot of article on datagrid with checkbox but nothing
helped me .
Can anyone help me how to proceed ?

Thanks
Nov 21 '05 #3
Thanks for the link . The link was useful.

"Ken Tucker [MVP]" wrote:
Hi,

Take a look at customization 3 in the article listed below.
http://msdn.microsoft.com/library/de...stdatagrid.asp

Ken
---------------------------
"Rekha" <Re***@discussi ons.microsoft.c om> wrote in message
news:07******** *************** ***********@mic rosoft.com...
The data is filled in datagrid. I want to know how to add a checkbox column
in datagrid?
In the runtime, checkbox is checked then instead of checkbox value the
(caseID )column value is retained.
I know there is a lot of article on datagrid with checkbox but nothing
helped me .
Can anyone help me how to proceed ?

Thanks

Nov 21 '05 #4
If i mean intranet application, then its a windowsform.
"Cor Ligthert" wrote:
Rekha,

Can you make your subject even more confusing.
datagrid for an intranet application, what do you mean with that?

A windowsform datagrid or a webform datagrid?

Cor

Nov 21 '05 #5
Thanks for the link . The link was useful.

"Ken Tucker [MVP]" wrote:
Hi,

Take a look at customization 3 in the article listed below.
http://msdn.microsoft.com/library/de...stdatagrid.asp

Ken
---------------------------
"Rekha" <Re***@discussi ons.microsoft.c om> wrote in message
news:07******** *************** ***********@mic rosoft.com...
The data is filled in datagrid. I want to know how to add a checkbox column
in datagrid?
In the runtime, checkbox is checked then instead of checkbox value the
(caseID )column value is retained.
I know there is a lot of article on datagrid with checkbox but nothing
helped me .
Can anyone help me how to proceed ?

Thanks

Nov 21 '05 #6
If i mean intranet application, then its a windowsform.
"Cor Ligthert" wrote:
Rekha,

Can you make your subject even more confusing.
datagrid for an intranet application, what do you mean with that?

A windowsform datagrid or a webform datagrid?

Cor

Nov 21 '05 #7
Rekha,
If i mean intranet application, then its a windowsform.

Why do you than not tell it like that.

Almost every intranet is going on the inhouse webserver.

Cor

Nov 21 '05 #8
Rekha,
If i mean intranet application, then its a windowsform.

Why do you than not tell it like that.

Almost every intranet is going on the inhouse webserver.

Cor

Nov 21 '05 #9
I have datagrid with 5 items. Out of which 1 items are checkboxes. The bool
column(checkbox column ) in added in datagrid. The rest of Data is binded
dynamically to the datagrid

Based on some values from the database I have to check or uncheck the
checkbox in the datatgrid.

i am not able to change the value of checkbox at runtime. Do you know
how to do this in windows form?


"Ken Tucker [MVP]" wrote:
Hi,

Take a look at customization 3 in the article listed below.
http://msdn.microsoft.com/library/de...stdatagrid.asp

Ken
---------------------------
"Rekha" <Re***@discussi ons.microsoft.c om> wrote in message
news:07******** *************** ***********@mic rosoft.com...
The data is filled in datagrid. I want to know how to add a checkbox column
in datagrid?
In the runtime, checkbox is checked then instead of checkbox value the
(caseID )column value is retained.
I know there is a lot of article on datagrid with checkbox but nothing
helped me .
Can anyone help me how to proceed ?

Thanks

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2159
by: Just D | last post by:
Hi All, Does anybody know how to write the following code? I have a database table with a few columns including: ID , "Task" , ForceRun . I need to show the DataGrid on the ASPX page with these selected fields and allow user to click one or more CheckBox controls to activate this bit on the database table for a required ID. I have already added a template column to the DataGrid and I can get the
2
3149
by: Sebi | last post by:
Hello all is it possible to add a checkbox in a DataGrid for Boolean Data? Thanks in advance
0
2405
by: mike | last post by:
Hi there: I've read an excellent "how to"-article by Microsoft (no. 306227) - partly cited cited at the end of this email). I have implemented the code related to the part "How to Add a CheckBox Programmatically" in my code. I have changed it to use a OLDDB.DBReader to populate the datagrid and for the databinding. It works perfectly - also when using the edit-mode in the datagrid.
0
1857
by: mehul | last post by:
CheckBox template always evaluate to False even if checked in a DataGrid hosted inside a TabStrip in ASP.NET Hi, I am trying to develop an ASP.NET application. I am using TabStrip (which is part of IE WebControls). Inside a tab I have a datagrid defined as follows:
7
2277
by: Lars Netzel | last post by:
If I put a checkbox in a datagrid (ASP.NET) and set the Autopostback to true I can catch OnChange event on checkbox but how do I then catch what DataGridItemIndex is? Can I use some Event in the Datagrid that will fire off when the Checkbox is changed? regards /Lars
3
3150
by: Fao, Sean | last post by:
I have a DataGrid that I'm adding CheckBox controls to at runtime (in the code behind) and I'm not sure if I'm doing it correctly. First of all, I noticed that the MyDataGrid.Columns.Add() method expects a DataGridColumn so I instantiated an object of type TemplateColumn that I had hoped I could add a CheckBox to. I soon discovered that the ItemTemplate property of the TemplateColumn class returned an object that had implemented the...
34
3823
by: clinttoris | last post by:
Hello Experts, I have been told to post this in the Javascript forum as I want to do this client side just before my form gets submitted. Once the user clicks the submit button a javascript function needs to run and validate all the checkboxes on my form and make sure none of them are unchecked. I suck at Javascript and my problem is 2fold. I have the following code that constructs the checkbox response.write "<input type=checkbox...
0
1459
by: dotnet dude | last post by:
I am creating a DataGrid control (ASP.NET 1.) with few bound columns and one template column in which i want to display CheckBox. So for each row in datagrid some databound fields and a checkbox column. When a checkbox is selected, it indicates that particular row is selected. The checkbox selection I want to do is through javascript to improve the performance of the application. How do I design such datagrid which allows me to do...
3
1531
by: ashima515 | last post by:
Hi I have made a datagrid(cols: emp_code, from_date) where last col contains checkboxes. I am try to get the application ids for the check boxes that are checked on the click of the button but could not make it. Here's the code m using... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dgitem As DataGridItem Dim chk As CheckBox Dim aid As String
0
9447
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.