Hi everyone
I have to generate a bunch of datagrids. The # number of datagrids needed
will be told by a method.
That's why I have to build an array of datagrids
.....
Datagrids[] grids = new Datagrids[numberofgrids];
// initialize grids ....
.....
Everything works find. The only question I would like to know why after I
creat each datagrid programatically , I can not see it.
Did I miss something? Please instruct me.
Thanks 3 1087
a datagrid only makes an appearance when and only when it contains bound
data. you will have to bind to the new datagrid to get them to show up
--
Regards,
Alvin Bruney
Got tidbits? Get it here... http://tinyurl.com/3he3b
"Hai Nguyen" <ha******@neo.t amu.edu> wrote in message
news:O9******** ******@TK2MSFTN GP10.phx.gbl... Hi everyone
I have to generate a bunch of datagrids. The # number of datagrids needed will be told by a method. That's why I have to build an array of datagrids
.... Datagrids[] grids = new Datagrids[numberofgrids];
// initialize grids .... ....
Everything works find. The only question I would like to know why after I creat each datagrid programatically , I can not see it.
Did I miss something? Please instruct me.
Thanks
Which DataGrid are you talking, Win Form or Web control?
If it is win form, besides you "new" to create instance(s) of DataGrid, you
also have to add the instatnce(s) to a container control, such as Form or
Panel, by calling Controls.Add() or Controls.AddRan ge(), in order for the
DataGrid(s) to visibly show.
"Hai Nguyen" <ha******@neo.t amu.edu> wrote in message
news:O9******** ******@TK2MSFTN GP10.phx.gbl... Hi everyone
I have to generate a bunch of datagrids. The # number of datagrids needed will be told by a method. That's why I have to build an array of datagrids
.... Datagrids[] grids = new Datagrids[numberofgrids];
// initialize grids .... ....
Everything works find. The only question I would like to know why after I creat each datagrid programatically , I can not see it.
Did I miss something? Please instruct me.
Thanks
Sorry, I thought I was in another NG. This IS asp.net NG, so the DataGrid is
web one.
"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:4LgOb.1508 36$ts4.115219@p d7tw3no... Which DataGrid are you talking, Win Form or Web control?
If it is win form, besides you "new" to create instance(s) of DataGrid,
you also have to add the instatnce(s) to a container control, such as Form or Panel, by calling Controls.Add() or Controls.AddRan ge(), in order for the DataGrid(s) to visibly show.
"Hai Nguyen" <ha******@neo.t amu.edu> wrote in message news:O9******** ******@TK2MSFTN GP10.phx.gbl... Hi everyone
I have to generate a bunch of datagrids. The # number of datagrids
needed will be told by a method. That's why I have to build an array of datagrids
.... Datagrids[] grids = new Datagrids[numberofgrids];
// initialize grids .... ....
Everything works find. The only question I would like to know why after
I creat each datagrid programatically , I can not see it.
Did I miss something? Please instruct me.
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Boyd |
last post by:
Are there arguments for the built-in commands called via RunCommand
such as acCmdNewObjectReport or do they always require interactive
input? Is the code behind the built-in commands exposed anywhere? At
one time there was some code available for wizards, is this all hidden
now?
Thanks!
|
by: Jim |
last post by:
is it possible to add a row to a Windows datagrid witthout having a
datatable? I need to add a row to the datagrid control.
Thanks.
|
by: MikeM |
last post by:
I've been trying to locate some property or method that will allow
programmatic access to the "loginUrl" attribute in the web.config file in the
<system.web> -> <authentication> element when the config file is set up for
Forms Authentication. I know certain system.web settings get mapped to
various properties/methods during runtime (e.g. <sessionState>'s timeout
attribute maps to the Session.Timeout property at runtime). You can easily...
|
by: Daniel |
last post by:
programmatic to ftp virtual directories
when i connect to an ftp server and i only have access to a few of the ftp
virtual directories, do i just change directory to them after connecting and
having credentials authorized? is there some special protocol for changing
directories to authorized virtiual directories?
|
by: Blaine Manyluk |
last post by:
I have a very unusual request.
I need to be able to generate reports and save them as TIF
files, with full programmatic control. The application will
provide the filenames. Each page of the report will be saved
as a seperate file. All the user should have to do is press a
button to generate the TIFs, without having to "touch the meat"
of viewing the report, choosing a file path/name, answering
prompts, etc.
| |
by: williamphenryjr |
last post by:
This is a long post. If you have answers I'm ready. If you have web
links, that'd be great too. I'm a Junior/Senior in Computer Science at
Washington State University, so you can make some assumptions about
terminology I'll be familiar with based on that.
I am trying to write a class that will abstract out database access
stuff for my application. This class will be called DBUtil
I will use this class to do the gruntwork for a custom...
|
by: myzm |
last post by:
I want to provide a menu for user to log out system after they logged
in using the Login control. Nowhere I can find information about
programmatic logout. Any help? Thanks.
|
by: matt.delvecchio |
last post by:
hello,
i have a user control that works great, when its used as a design-time
controls. however, when i try to use it as a programmtic control, im
running into troubles.
the control is pretty simple: it has a textbox, and a grid. in my
webform, on button_click i call one of its methods to do stuff (like
bind data and set a value to the textbox), and it works great.
|
by: jigsawcube1 |
last post by:
I am trying to accept two input strings and concatinate and display the result in a datagrid. Following is the HTML and code. ItemCommand does not get fired what is that I am missing?
<body bgColor="#99ccff" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" style="Z-INDEX: 101; LEFT: 288px; POSITION: absolute; TOP: 80px"
runat="server" BackColor="Silver" ForeColor="Blue"...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |