473,407 Members | 2,546 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,407 software developers and data experts.

Data Grid Issue

C
I am creating a Data Grid using the Property Builder and I want a link to
pass two variables in a Hyperlink Column.
How can I accomplish this? How can I add two data columns under the
HyperLink Column section of the Property Builder? So they can be listed as
part of the URL and pass the variables.
When try to fill the URL field with :category, date
and the URL format string to: category={0}&date={1}

It returns and error. Is there a way to trick the Property Buider?
Jul 21 '05 #1
3 1489
You need to use Templates. I think this feature has been added to ASP.NET
2.0

http://www.devx.com/vb2themax/Tip/18857

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
I am creating a Data Grid using the Property Builder and I want a link to
pass two variables in a Hyperlink Column.
How can I accomplish this? How can I add two data columns under the
HyperLink Column section of the Property Builder? So they can be listed as
part of the URL and pass the variables.
When try to fill the URL field with :category, date
and the URL format string to: category={0}&date={1}

It returns and error. Is there a way to trick the Property Buider?

Jul 21 '05 #2
C
Will this work in the Design sid Datagrid Property Builder?

Sorry I'm new to .net

"Greg Burns" wrote:
You need to use Templates. I think this feature has been added to ASP.NET
2.0

http://www.devx.com/vb2themax/Tip/18857

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
I am creating a Data Grid using the Property Builder and I want a link to
pass two variables in a Hyperlink Column.
How can I accomplish this? How can I add two data columns under the
HyperLink Column section of the Property Builder? So they can be listed as
part of the URL and pass the variables.
When try to fill the URL field with :category, date
and the URL format string to: category={0}&date={1}

It returns and error. Is there a way to trick the Property Buider?


Jul 21 '05 #3
We are talking about a webform datagrid correct?

There is probably someway to use templates with the designer, but I don't
know it. (and probably would never use it).

The VS designer and webforms do not mix well IMHO.

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.com...
Will this work in the Design sid Datagrid Property Builder?

Sorry I'm new to .net

"Greg Burns" wrote:
You need to use Templates. I think this feature has been added to
ASP.NET
2.0

http://www.devx.com/vb2themax/Tip/18857

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
> I am creating a Data Grid using the Property Builder and I want a link
> to
> pass two variables in a Hyperlink Column.
> How can I accomplish this? How can I add two data columns under the
> HyperLink Column section of the Property Builder? So they can be listed
> as
> part of the URL and pass the variables.
> When try to fill the URL field with :category, date
> and the URL format string to: category={0}&date={1}
>
> It returns and error. Is there a way to trick the Property Buider?


Jul 21 '05 #4

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

Similar topics

2
by: kk | last post by:
Have 2 problems, any help is appreciated. Tab with Grids -------------- BL - fetching data from DB ( 5 secs - 10 rows) Grid Laod - 20 secs Grid Paint on tab change - 20 secs Problem: The...
2
by: Les | last post by:
Hi can anyone help me, I have just graduated and have started working for a building developer which deals with a large quantity of drawings. As you can imagine these all need documenting...
6
by: Mike Kirkpatrick | last post by:
I have this data grid which consists of 3 pick lists. The first pick list is to affect the data binding of the other two. I have figured out how to do the data binding by column. However, I do not...
1
by: Sunny | last post by:
Hi, I am using Databases in my applications, i have a table with an average of 3.5 million records, i am trying to show the search results in a DataGrid from that table, but the results take a very...
2
by: Greg | last post by:
The issue: I have a grid which has a dataset as the datasource. If a user enters data in a textbox on the grid and then clicks on the close button of the form (the red X in the upper right...
1
by: Joe Dunleavy | last post by:
Hi Guys, Hopefully some one will have come across this issue already. I have a DataGrid inside a Div where a scroll bar displays once a certain height is meet --> <div id="dvSales"...
4
by: Steve Teeples | last post by:
I have a form with two DataGridView controls. The form has linked to it an Access database with just two tables. The second table contains unique "child" data having a one-to-one relationship...
3
by: Chu | last post by:
Ok, my title may sound odd - let me explain what it means - It's easy to setup a grid to display 1 row of information per database record. Let's say this for example I have a grid display some...
0
by: pragadheesh | last post by:
I have a TAB where a data grid gets displayed. I want to access the elements of the datagrid. but i'm getting the following error. "Data cannot be read from a DataGrid which is not bound to a...
0
by: jchaturv | last post by:
All, I have a customized DataGridView where I have implemented extra functionality and bounded datasource in the same custom DataGridView (Using C# and .NET). Now, I could able to use it...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
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...
0
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...

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.