473,586 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multiple forms through datagrid

I am a newbie in ASP.NET. I am using VB.NET to write my codes. I have a
project to be done this week but I am stucked on one thing. I want to
make a datagrid of a form and display the form multiple times with the
help of a query string. Like, the form has fields like First name, last
name etc. If the querystring has '3' as value, I want to display the
form 3 times and I want the data entered to go to a database.
Can anybody help me by saying how can I display the forms 3 times with
the help of the datagrid.

Thanks,
ranjan

Jul 28 '06 #1
1 917
if you are using .net 2.0 it would be best to have a grid and have its
autoselect to true. then have one form that shows all those fields editable
when the user selects that row from the grid.
A little is more involved but first I would need to know if that would work
for you.

what I have described is pretty much industry standard for getting fancy
editing functionality from one selected row.

"Beginner" wrote:
I am a newbie in ASP.NET. I am using VB.NET to write my codes. I have a
project to be done this week but I am stucked on one thing. I want to
make a datagrid of a form and display the form multiple times with the
help of a query string. Like, the form has fields like First name, last
name etc. If the querystring has '3' as value, I want to display the
form 3 times and I want the data entered to go to a database.
Can anybody help me by saying how can I display the forms 3 times with
the help of the datagrid.

Thanks,
ranjan

Jul 29 '06 #2

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

Similar topics

7
7673
by: Billy Jacobs | last post by:
I am using a datagrid to display some data. I need to create 2 header rows for this grid with columns of varying spans. In html it would be the following. <Table> <tr> <td colspan=8>Official Impact Summary</td> </tr> <tr> <td colspan=2></td>
1
1829
by: Marty | last post by:
Is there a way to manually copy an excel cell range to a datagrid column? I am unable to select the whole column and selecting multiple whole records does not work. Thx.
2
2834
by: Pete Davis | last post by:
I have a Windows Forms datagrid with the datasource set to an ArrayList. The ArrayList is initially empty. I have DataGridColumn styles defined for 4 columns with widths, header titles, and mapping names set. The problems: 1: Now, I realize ArrayList doesn't implement IBindingList, so the
2
1221
by: sparkle | last post by:
Hi, I'm really stuck on a concept: How do you get info from some tables(in this case using a dataAdapter and dataset) from one form onto another form? Or does the db side even matter? Here is what I'm trying to do:
0
1163
by: Becker | last post by:
I have a datatable that I use to display running processes. These running processes are spawned as different threads. I use the readerwriterlock class to ensure that when I write to the datatable, I obtain a write lock. The datagrid is set to have a datasource of the datatable. The problem is that I get this error intermittently and it...
3
2364
by: Geraldine Hobley | last post by:
Hello, In my project I am inheriting several forms. However when I inherit from a form and add additional subroutines and methods to my inherited form I get all sorts of problems. e.g. I sometimes get MyVarialble is not declared errors when the variable is quite clearly declared, when I change it to public and then back again to private the...
1
1278
by: Steve | last post by:
I have a datagrid, which I can highlight multiple rows in. How can I find out, programmitcally which rows are highlighted? If I step into the code, and do a Quick Watch on the browser I found this: ((System.Windows.Forms.DataGridRow)(((System.Windows.Forms.DataGrid)(dgWork)).DataGridRows)).selected property, which is true for the rows...
1
1277
by: Wan | last post by:
Hi, I have a test project consists of two forms. The main form contains a datagrid and a button. On click of button I populate the datagrid with a ds.table(0) so far so good and on grid's doublick event I bring up the sub-form which contains controls such as text boxes, lookup, etc. I can open the sub-form multiple times depending on the...
2
6787
by: Andy Baker | last post by:
I have a VB.NET 2003 application that uses several datagrids. The behaviour I want from the datagrid is to select (highlight) the entire row when I click on any cell in a row. I have done this using code from syncfuson.com to create a class that inherits from DataGridTextBoxColumn and overrides the its Edit method. i.e. Public Class...
0
7911
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
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. ...
1
7954
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...
0
8215
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...
0
6610
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...
1
5710
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...
0
3836
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...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.