473,782 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGrid Question

Is it possible, and if so examples please, to replace the Grid (Select, Edit,
Delete) button with an Image?

Thanks
BrianDH
Nov 21 '05 #1
6 2227
In order to zing you an example, are you talking about the ASP.NET DataGrid?

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"BrianDH" <Br*****@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com...
Is it possible, and if so examples please, to replace the Grid (Select, Edit, Delete) button with an Image?

Thanks
BrianDH

Nov 21 '05 #2
In order to zing you an example, are you talking about the ASP.NET DataGrid?

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"BrianDH" <Br*****@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com...
Is it possible, and if so examples please, to replace the Grid (Select, Edit, Delete) button with an Image?

Thanks
BrianDH

Nov 21 '05 #3
Both
ASP.NET Datagrid
and the VB.Net Datagrid

Thanks

"W.G. Ryan eMVP" wrote:
In order to zing you an example, are you talking about the ASP.NET DataGrid?

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"BrianDH" <Br*****@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com...
Is it possible, and if so examples please, to replace the Grid (Select,

Edit,
Delete) button with an Image?

Thanks
BrianDH


Nov 21 '05 #4
Both
ASP.NET Datagrid
and the VB.Net Datagrid

Thanks

"W.G. Ryan eMVP" wrote:
In order to zing you an example, are you talking about the ASP.NET DataGrid?

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"BrianDH" <Br*****@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com...
Is it possible, and if so examples please, to replace the Grid (Select,

Edit,
Delete) button with an Image?

Thanks
BrianDH


Nov 21 '05 #5
found anser to my own question:
<asp:ButtonColu mn Text="<img border=0 src=Delete.bmp alt=Delete>"
HeaderText="Del ete" CommandName="De lete">
<ItemStyle Width="1%"></ItemStyle>
</asp:ButtonColum n>

"BrianDH" wrote:
Is it possible, and if so examples please, to replace the Grid (Select, Edit,
Delete) button with an Image?

Thanks
BrianDH

Nov 21 '05 #6
found anser to my own question:
<asp:ButtonColu mn Text="<img border=0 src=Delete.bmp alt=Delete>"
HeaderText="Del ete" CommandName="De lete">
<ItemStyle Width="1%"></ItemStyle>
</asp:ButtonColum n>

"BrianDH" wrote:
Is it possible, and if so examples please, to replace the Grid (Select, Edit,
Delete) button with an Image?

Thanks
BrianDH

Nov 21 '05 #7

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

Similar topics

2
3272
by: magister | last post by:
Hello, I have xml like this.... <test> <question>sdfsa</question> <section><question>43ga</question> <question>asdf</question> </test>
0
1082
by: Randy | last post by:
Hello, I have two questions... I have a datagrid. I'm capturing the cell via HitTestInfo. The first question is fairly simple. I'm using an example of how to capture the row/column I found on the net. It uses System.Windows.Forms.DataGrid.HitTestInfo myHitTest; The first question is, when I use this in my code, it compiles and works fine. But when I type... System.Windows.Forms.DataGrid and press the "." at the end of DataGrid, I don't...
3
4438
by: BBFrost | last post by:
Ok, I know how to count the number of selected datagrid rows using the code below. What has me stumped is how to determine when the selected rows within a datagrid have been changed. The DataGrid object doesn't seem to have a any type of a selection changed type of event I can grab. THE QUESTION: Does anyone know how to determine when the selected row or set of rows within a datagrid has changed ??? This is driving me nuts !
6
1721
by: BBFrost | last post by:
I'm using Net 1.1 (2003) SP1 & Windows 2000 Here's the issue ... Rows 12 thru 24 are selected in a datagrid. The user now unselects rows 12 thru 24 and selects rows 45 thru 70 ??? How can I tell that the user has reselected a different set of rows in a datagrid.
2
4334
by: pei_world | last post by:
I want to implement a key hit with enter to dropdown a combobox that is in the datagrid. in this case I need to override its original behaviours. I found some codes from the web. Does anyone know how to use this code? please help! http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20862953.html
2
17034
by: Dominic | last post by:
Hi guys, I'm not sure if this question belongs to FAQ, but I couldn't find a concrete answer. I created a Datagrid control using ItemTemplate, but it's NOT a in-place editing datagrid. One of the columns of the data grid contains a DropDownlist. I managed to create this datagrid control as follows.
2
2339
by: Sky | last post by:
Hello: Another question about trying to wring functionality from a DataGrid... Have a DB table of "Contacts" -- 14 or more fields per record Show in datagrid -- but only 5 columns (First,Last, Fax, Phone, Category). Put an Edit column at the end... Now what?! If you go into Edit mode -- you can only edit 5 cells -- not all the rest of the Record's fields...not enough!
3
1578
by: Danky | last post by:
Hello Masters! Anyone can help me with the datagrid, well, the app load a lot of data from DB and it show on the datagrid, and well, I need to allow paging and.... the issue is with the event PageIndexChanged of the datagrid 'coz every time when the user change of page the app load again all data and another processes with the data even though I have load one dataset with the data for the datagrid..... the question is? What can I do to...
4
2285
by: Jan Nielsen | last post by:
Hi all I'm a former Access developer who would like to implement a many-to-many relation in about the same way you do in Access: With a subform and a combo box. Is it possible to use a combobox in a datagrid? Any other suggestions/articles on how to implement many-many relations in the frontend (which of course are 2 one-many relations)?
13
2496
by: pmcguire | last post by:
I have a DataGrid control for which I have also created several new extended DataGridColumnStyles. They behave pretty nicely, but I can't figure out how to implement Selected Item formatting for them. In a plain vanilla DataGrid, when you click on the RowHeader, the appropriate row changes colors. I ASSUME this should be done in the Paint (or PaintText) override of the DataGridColumnStyle in question. My problem is that I don't know...
0
10311
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
10146
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...
0
9942
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
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
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
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.