473,385 Members | 1,901 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,385 software developers and data experts.

Datagrid and Drop down boxes

Is there a way to have a drop down box on one (or more) columns of a
datagrid? For example, I am displaying address, city, state and zip. I
need a drop down on the state code.

Thanks
Lance
Nov 20 '05 #1
4 2751


Lance--

If you are writing an ASP.NET application, then you can use an ItemTemplate
for this.

See "ItemTemplate" in the help documentation for details.

If you are writing a Windows Application, (AKA a desktop application, AKA
an EXE application), then I don't know the answer.

HTH.

--Mark

"Lance Geeck" <lg****@cox.net> wrote in message
news:vvGbb.1804$gi2.834@fed1read01...
Is there a way to have a drop down box on one (or more) columns of a
datagrid? For example, I am displaying address, city, state and zip. I
need a drop down on the state code.

Thanks
Lance

Nov 20 '05 #2
Hi Mark,

Thanks for responding. The application is a windows application, so my
question still stands.

Lance

"Mark Kamoski" <mk******@yahoo.com> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...


Lance--

If you are writing an ASP.NET application, then you can use an ItemTemplate for this.

See "ItemTemplate" in the help documentation for details.

If you are writing a Windows Application, (AKA a desktop application, AKA
an EXE application), then I don't know the answer.

HTH.

--Mark

"Lance Geeck" <lg****@cox.net> wrote in message
news:vvGbb.1804$gi2.834@fed1read01...
Is there a way to have a drop down box on one (or more) columns of a
datagrid? For example, I am displaying address, city, state and zip. I
need a drop down on the state code.

Thanks
Lance

Nov 20 '05 #3
There are some articles on this topic.
Check out this:
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q480q
--
TJoker, MCSD.NET
MVP: Paint, Notepad, Solitaire

****************************************
"Lance Geeck" <lg****@cox.net> wrote in message
news:HdHbb.1811$gi2.578@fed1read01...
Hi Mark,

Thanks for responding. The application is a windows application, so my
question still stands.

Lance

"Mark Kamoski" <mk******@yahoo.com> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...


Lance--

If you are writing an ASP.NET application, then you can use an

ItemTemplate
for this.

See "ItemTemplate" in the help documentation for details.

If you are writing a Windows Application, (AKA a desktop application, AKA an EXE application), then I don't know the answer.

HTH.

--Mark

"Lance Geeck" <lg****@cox.net> wrote in message
news:vvGbb.1804$gi2.834@fed1read01...
Is there a way to have a drop down box on one (or more) columns of a
datagrid? For example, I am displaying address, city, state and zip. I
need a drop down on the state code.

Thanks
Lance


Nov 20 '05 #4
Thanks, this looks like the example I was looking for.

Lance
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:ei****************@TK2MSFTNGP10.phx.gbl...
There are some articles on this topic.
Check out this:
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q480q
--
TJoker, MCSD.NET
MVP: Paint, Notepad, Solitaire

****************************************
"Lance Geeck" <lg****@cox.net> wrote in message
news:HdHbb.1811$gi2.578@fed1read01...
Hi Mark,

Thanks for responding. The application is a windows application, so my
question still stands.

Lance

"Mark Kamoski" <mk******@yahoo.com> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...


Lance--

If you are writing an ASP.NET application, then you can use an

ItemTemplate
for this.

See "ItemTemplate" in the help documentation for details.

If you are writing a Windows Application, (AKA a desktop application, AKA an EXE application), then I don't know the answer.

HTH.

--Mark

"Lance Geeck" <lg****@cox.net> wrote in message
news:vvGbb.1804$gi2.834@fed1read01...
Is there a way to have a drop down box on one (or more) columns of a
datagrid? For example, I am displaying address, city, state and zip. I need a drop down on the state code.

Thanks
Lance



Nov 20 '05 #5

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

Similar topics

6
by: PT | last post by:
I got a form with many text boxes, checkboxes and 3 drop downs. From that 3, 2 are dependant. I can choose one drop down, and the next drop down should display the dependant values of the first...
0
by: Leigh | last post by:
I am building a data entry application using Java servlets. I had hoped to use drop down boxes to provide the user with data entry selections pulled from a database, but am now questioning, given...
4
by: Dan | last post by:
Can anyone offer suggestions on how to do this or if it is possible? I have a form that uses a drop down box and 2 text fields. What I am trying to do is have the value of each text box set by...
5
by: MasterChief | last post by:
I have 3 drop down boxes on the same page. Each one is being populated by a database. One is called Location, One is called Device and the other one is called Job Title. When the user selects...
2
by: Eric Dan | last post by:
Hi, Even tough I was able to implement what I want in a weird and non efficient way, I would like to get an opinion what is the right way to achieve my task: Scenario: • Display a DataGrid...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
5
by: Vigneshwar Pilli via DotNetMonster.com | last post by:
string connectionString1 = "server=(local); user=sa;password=sa; database=sonic"; System.Data.SqlClient.SqlConnection dbConnection1 = new System.Data.SqlClient.SqlConnection(connectionString1);...
7
by: callawayglfr | last post by:
I am building a database in access where I have a drop down box that relates to a text box, that part I have working but when someone selects information from the first drop down I need it to limit...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
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...

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.