469,317 Members | 1,906 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,317 developers. It's quick & easy.

Grid with an enquiry form

Hi

I have an enquiry web form with several fields to which I also need to link
a grid. As it is an enquiry form I don't necessarily want to bind the grid
to a db. Ideally I want to allow user to fill the form fields and the gird,
in possibly unbound mode, read the values (fields and grid) off the form and
insert the values into a db. All the examples I have seen so far deal with
bound datagrids. Is it possible to use the grid in the scenario I have
described? Are there any examples around?

Thanks

Regards
Nov 18 '05 #1
1 1344
Hi John:

I don't know of any examples like this, but I think it would be
possible. You'd have to create a DataSource with the correct schema.
The DataSource could be a DataSet where a row would have all default
or empty values for each column. You'd have to add one of these rows
for each row you wanted to appear on the screen.

In the DataSet walkthroughs there are some examples of programatically
creating DataSets and DataRows:
http://msdn.microsoft.com/library/de...riDatasets.asp

--
Scott
http://www.OdeToCode.com/

On Mon, 11 Oct 2004 03:19:31 +0100, "John" <Jo**@nospam.infovis.co.uk>
wrote:
Hi

I have an enquiry web form with several fields to which I also need to link
a grid. As it is an enquiry form I don't necessarily want to bind the grid
to a db. Ideally I want to allow user to fill the form fields and the gird,
in possibly unbound mode, read the values (fields and grid) off the form and
insert the values into a db. All the examples I have seen so far deal with
bound datagrids. Is it possible to use the grid in the scenario I have
described? Are there any examples around?

Thanks

Regards


Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by John | last post: by
6 posts views Thread by Paul | last post: by
6 posts views Thread by Tejpal Garhwal | last post: by
117 posts views Thread by phil-news-nospam | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.