In this code what do I have to do to get the read only and Height property
to work?
this is going into a datagrid.
Dim BOOKSLABEL As New ColoredTextBoxC olumn
BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop
BOOKSLABEL.Mapp ingName = "Label"
BOOKSLABEL.Head erText = "Possible Fields"
BOOKSLABEL.Alig nment = HorizontalAlign ment.Left
BOOKSLABEL.Text Box.Height = 150
BOOKSLABEL.Widt h = 200
BOOKSLABEL.Text Box.ReadOnly = True 14 1302
Hi,
To set the row height adjust the tablestyle preferredrowhei ght. To make a
column readonly set the datagridtextbox column readonly property to true.
Ken
---------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message
news:u7******** ******@TK2MSFTN GP09.phx.gbl... In this code what do I have to do to get the read only and Height property to work? this is going into a datagrid.
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True
Hi Ken,
Can we set one column to read only? We can set the back colr and such in the
code below for one column...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:uK******** *****@TK2MSFTNG P09.phx.gbl... Hi,
To set the row height adjust the tablestyle preferredrowhei ght. To make a column readonly set the datagridtextbox column readonly property to true.
Ken ---------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in
message news:u7******** ******@TK2MSFTN GP09.phx.gbl... In this code what do I have to do to get the read only and Height
property to work? this is going into a datagrid.
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor =
System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True
Hi,
Yes.
Ken
------------------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message
news:Of******** *****@TK2MSFTNG P09.phx.gbl... Hi Ken,
Can we set one column to read only? We can set the back colr and such in
the code below for one column...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:uK******** *****@TK2MSFTNG P09.phx.gbl... Hi,
To set the row height adjust the tablestyle preferredrowhei ght. To make
a column readonly set the datagridtextbox column readonly property to true.
Ken ---------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:u7******** ******@TK2MSFTN GP09.phx.gbl... In this code what do I have to do to get the read only and Height property to work? this is going into a datagrid.
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True
HI ken,
In this scenario,
Dim BOOKSLABEL As New ColoredTextBoxC olumn
BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop
BOOKSLABEL.Mapp ingName = "Label"
BOOKSLABEL.Head erText = "Possible Fields"
BOOKSLABEL.Alig nment = HorizontalAlign ment.Left
BOOKSLABEL.Text Box.Height = 150
BOOKSLABEL.Widt h = 200
BOOKSLABEL.Text Box.ReadOnly = True
how would you have made this column read only?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
Yes.
Ken ------------------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in
message news:Of******** *****@TK2MSFTNG P09.phx.gbl... Hi Ken,
Can we set one column to read only? We can set the back colr and such in the code below for one column...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:uK******** *****@TK2MSFTNG P09.phx.gbl... Hi,
To set the row height adjust the tablestyle preferredrowhei ght. To
make a column readonly set the datagridtextbox column readonly property to
true. Ken ---------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:u7******** ******@TK2MSFTN GP09.phx.gbl... > In this code what do I have to do to get the read only and Height property > to work? > this is going into a datagrid. > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop > BOOKSLABEL.Mapp ingName = "Label" > BOOKSLABEL.Head erText = "Possible Fields" > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > BOOKSLABEL.Text Box.Height = 150 > BOOKSLABEL.Widt h = 200 > BOOKSLABEL.Text Box.ReadOnly = True > >
Hi,
Assuming the column in question is inherited from the DataGridTextBox Column,
you can just set it's
ReadOnly property to True.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message
news:O2******** ******@TK2MSFTN GP09.phx.gbl... HI ken,
In this scenario, Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True how would you have made this column read only?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
Yes.
Ken ------------------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:Of******** *****@TK2MSFTNG P09.phx.gbl... Hi Ken,
Can we set one column to read only? We can set the back colr and such
in the code below for one column...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:uK******** *****@TK2MSFTNG P09.phx.gbl... > Hi, > > To set the row height adjust the tablestyle preferredrowhei ght. To make a > column readonly set the datagridtextbox column readonly property to true. > > Ken > --------------- > > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message > news:u7******** ******@TK2MSFTN GP09.phx.gbl... > > In this code what do I have to do to get the read only and Height property > > to work? > > this is going into a datagrid. > > > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > > BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop > > BOOKSLABEL.Mapp ingName = "Label" > > BOOKSLABEL.Head erText = "Possible Fields" > > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > > BOOKSLABEL.Text Box.Height = 150 > > BOOKSLABEL.Widt h = 200 > > BOOKSLABEL.Text Box.ReadOnly = True > > > > > >
Hi,
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Read Only = True
Ken
------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message
news:O2******** ******@TK2MSFTN GP09.phx.gbl... HI ken,
In this scenario, Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True how would you have made this column read only?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
Yes.
Ken ------------------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:Of******** *****@TK2MSFTNG P09.phx.gbl... Hi Ken,
Can we set one column to read only? We can set the back colr and such
in the code below for one column...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:uK******** *****@TK2MSFTNG P09.phx.gbl... > Hi, > > To set the row height adjust the tablestyle preferredrowhei ght. To make a > column readonly set the datagridtextbox column readonly property to true. > > Ken > --------------- > > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message > news:u7******** ******@TK2MSFTN GP09.phx.gbl... > > In this code what do I have to do to get the read only and Height property > > to work? > > this is going into a datagrid. > > > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > > BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop > > BOOKSLABEL.Mapp ingName = "Label" > > BOOKSLABEL.Head erText = "Possible Fields" > > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > > BOOKSLABEL.Text Box.Height = 150 > > BOOKSLABEL.Widt h = 200 > > BOOKSLABEL.Text Box.ReadOnly = True > > > > > >
I went wrong on the row...when teh user selected the row it would still
allow the user to delete it.
I dealt with that problem and the rest except one.
How if you make the grid cell size 40 for instance, make the text appear in
the middle of the cell aligned left?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ef******** ******@TK2MSFTN GP12.phx.gbl... Hi,
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor =
System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Read Only = True Ken ------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in
message news:O2******** ******@TK2MSFTN GP09.phx.gbl... HI ken,
In this scenario, Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor =
System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True how would you have made this column read only?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. Hi,
Yes.
Ken ------------------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:Of******** *****@TK2MSFTNG P09.phx.gbl... > Hi Ken, > > Can we set one column to read only? We can set the back colr and
such in the > code below for one column... > > "Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message > news:uK******** *****@TK2MSFTNG P09.phx.gbl... > > Hi, > > > > To set the row height adjust the tablestyle preferredrowhei ght.
To make a > > column readonly set the datagridtextbox column readonly property to true. > > > > Ken > > --------------- > > > > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote
in > message > > news:u7******** ******@TK2MSFTN GP09.phx.gbl... > > > In this code what do I have to do to get the read only and
Height > property > > > to work? > > > this is going into a datagrid. > > > > > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > > > BOOKSLABEL.Text Box.BackColor = > System.Drawing. SystemColors.De sktop > > > BOOKSLABEL.Mapp ingName = "Label" > > > BOOKSLABEL.Head erText = "Possible Fields" > > > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > > > BOOKSLABEL.Text Box.Height = 150 > > > BOOKSLABEL.Widt h = 200 > > > BOOKSLABEL.Text Box.ReadOnly = True > > > > > > > > > > > >
Hi,
You would have to override the paint event. I posted an example
here. http://www.onteorasoftware.com/Datagrid.aspx#AnsDB2
Ken
----------------
"scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. . I went wrong on the row...when teh user selected the row it would still allow the user to delete it. I dealt with that problem and the rest except one.
How if you make the grid cell size 40 for instance, make the text appear
in the middle of the cell aligned left?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:ef******** ******@TK2MSFTN GP12.phx.gbl... Hi,
Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Read Only = True
Ken ------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:O2******** ******@TK2MSFTN GP09.phx.gbl... HI ken,
In this scenario, Dim BOOKSLABEL As New ColoredTextBoxC olumn BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop BOOKSLABEL.Mapp ingName = "Label" BOOKSLABEL.Head erText = "Possible Fields" BOOKSLABEL.Alig nment = HorizontalAlign ment.Left BOOKSLABEL.Text Box.Height = 150 BOOKSLABEL.Widt h = 200 BOOKSLABEL.Text Box.ReadOnly = True how would you have made this column read only?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. > Hi, > > Yes. > > Ken > ------------------------ > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message > news:Of******** *****@TK2MSFTNG P09.phx.gbl... > > Hi Ken, > > > > Can we set one column to read only? We can set the back colr and such in > the > > code below for one column... > > > > "Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message > > news:uK******** *****@TK2MSFTNG P09.phx.gbl... > > > Hi, > > > > > > To set the row height adjust the tablestyle preferredrowhei ght. To make > a > > > column readonly set the datagridtextbox column readonly property
to true. > > > > > > Ken > > > --------------- > > > > > > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in > > message > > > news:u7******** ******@TK2MSFTN GP09.phx.gbl... > > > > In this code what do I have to do to get the read only and Height > > property > > > > to work? > > > > this is going into a datagrid. > > > > > > > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > > > > BOOKSLABEL.Text Box.BackColor = > > System.Drawing. SystemColors.De sktop > > > > BOOKSLABEL.Mapp ingName = "Label" > > > > BOOKSLABEL.Head erText = "Possible Fields" > > > > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > > > > BOOKSLABEL.Text Box.Height = 150 > > > > BOOKSLABEL.Widt h = 200 > > > > BOOKSLABEL.Text Box.ReadOnly = True > > > > > > > > > > > > > > > > > > > >
Were you intending for this code to center it vertically in the cell or just
horizontally?
When I used it it always top justified just like mine...
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:uV******** ******@TK2MSFTN GP12.phx.gbl... Hi,
You would have to override the paint event. I posted an
example here. http://www.onteorasoftware.com/Datagrid.aspx#AnsDB2
Ken ---------------- "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in
message news:%2******** *******@TK2MSFT NGP10.phx.gbl.. . I went wrong on the row...when teh user selected the row it would still allow the user to delete it. I dealt with that problem and the rest except one.
How if you make the grid cell size 40 for instance, make the text appear in the middle of the cell aligned left?
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message news:ef******** ******@TK2MSFTN GP12.phx.gbl... Hi,
Dim BOOKSLABEL As New ColoredTextBoxC olumn > BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop > BOOKSLABEL.Mapp ingName = "Label" > BOOKSLABEL.Head erText = "Possible Fields" > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > BOOKSLABEL.Text Box.Height = 150 > BOOKSLABEL.Widt h = 200 > BOOKSLABEL.Read Only = True
Ken ------------ "scorpion53 061" <sc************ *************** *@yahoo.com> wrote in message news:O2******** ******@TK2MSFTN GP09.phx.gbl... > HI ken, > > In this scenario, > Dim BOOKSLABEL As New ColoredTextBoxC olumn > BOOKSLABEL.Text Box.BackColor = System.Drawing. SystemColors.De sktop > BOOKSLABEL.Mapp ingName = "Label" > BOOKSLABEL.Head erText = "Possible Fields" > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > BOOKSLABEL.Text Box.Height = 150 > BOOKSLABEL.Widt h = 200 > BOOKSLABEL.Text Box.ReadOnly = True > how would you have made this column read only? > > "Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message > news:O0******** ********@TK2MSF TNGP12.phx.gbl. .. > > Hi, > > > > Yes. > > > > Ken > > ------------------------ > > "scorpion53 061" <sc************ *************** *@yahoo.com> wrote
in > message > > news:Of******** *****@TK2MSFTNG P09.phx.gbl... > > > Hi Ken, > > > > > > Can we set one column to read only? We can set the back colr and such in > > the > > > code below for one column... > > > > > > "Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message > > > news:uK******** *****@TK2MSFTNG P09.phx.gbl... > > > > Hi, > > > > > > > > To set the row height adjust the tablestyle
preferredrowhei ght. To > make > > a > > > > column readonly set the datagridtextbox column readonly
property to > true. > > > > > > > > Ken > > > > --------------- > > > > > > > > "scorpion53 061" <sc************ *************** *@yahoo.com>
wrote in > > > message > > > > news:u7******** ******@TK2MSFTN GP09.phx.gbl... > > > > > In this code what do I have to do to get the read only and Height > > > property > > > > > to work? > > > > > this is going into a datagrid. > > > > > > > > > > Dim BOOKSLABEL As New ColoredTextBoxC olumn > > > > > BOOKSLABEL.Text Box.BackColor = > > > System.Drawing. SystemColors.De sktop > > > > > BOOKSLABEL.Mapp ingName = "Label" > > > > > BOOKSLABEL.Head erText = "Possible Fields" > > > > > BOOKSLABEL.Alig nment = HorizontalAlign ment.Left > > > > > BOOKSLABEL.Text Box.Height = 150 > > > > > BOOKSLABEL.Widt h = 200 > > > > > BOOKSLABEL.Text Box.ReadOnly = True > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Plowman |
last post by:
Hi all,
I was wondering if anyone can help me with a really annoying problem I have
been having. I made a derived datagrid class that will select the row when
a user clicks anywhere on a cell (multi-select without modifier keys). I
got that working fine, but I also wanted to keep rows selected after a sort,
which I do by storing the row's id in an arraylist. The idea was to do the
sort and then go back and re-select the rows with that...
|
by: Emerson |
last post by:
The following assumes a System.Windows.Forms.DataGrid with a System.Data.DataTable set as the DataSource. I'm programming in C#
Here's my scenario
I click in a cell on a DataGrid. I enter some text. Before changing to another cell in the DataGrid, I move my mouse pointer off the DataGrid and change the selected item in a ListBox or TreeView.
Here's my question
Which should fire first, the DataTable's RowChanged/CellChanged event or...
|
by: Jeff |
last post by:
IDE: VS 2003 :NET
OS: XP Pro
My app have a form with a tab-control on it. The tab-control have 2
tabpages. One of the tabpages displays a datagrid, and the other tabpage
displays details (order date, name, address etc) about the selected row in
the datagrid...
My problem is when I enter a new record in the details tabpage (saves data
to database), and go back to the datagrid. Only the data from the PM-table
|
by: Rick |
last post by:
Hello all, I hope all is well with you.
I am having a seriously difficult time with this problem. Allow me to
set
up the problem.
I have a System.Web.UI.Page with the following controls (watch the
layout,
some have child controls):
|
by: The Alchemist |
last post by:
I am having a problem with a dynamically-generated Datagrid. It is
important to point out that this problem does not exist with a
design-time created Datagrid, but only with a dynamically generated
Datagrid in a Web Custom Control (WCC) :
The datagrid has LinkButton Column which has a select LinkButton for
each row. When this button is clicked, the Datagrid raises its
'ItemCommand' event which captures the information for that row and...
| |
by: tshad |
last post by:
How do I find (and set) a couple of labels in the Footer after a DataGrid is
filled?
I have a bunch of DataGrids that get displayed nested inside a DataList.
The datagrid looks like:
*******************************************************************************
<asp:DataGrid visible="False"
border=1
|
by: tshad |
last post by:
I am having trouble with links in my DataGrid.
I have Links all over my page set to smaller and they are consistant all
over the page in both Mozilla and IE, except for the DataGrid.
Here is a snippet from my .css file:
***************************
body {
margin:0;
padding:0;
|
by: optimizeit |
last post by:
What I am attempting to do is import an Excel Workbook and display the
worksheets in a datagrid dynamically.
I am very close to getting this to work. I have to this point
successfully imported a single worksheet into a dataset. I successfully
built a dynamic datagrid. And I did successfully bind it to the
dataset. Then I added the datagrid control to a PlaceHolder. The first
worksheet displays beautifully.
The next step is to allow...
|
by: rn5a |
last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB
table. Users can modify the records using this DataGrid for which I am
using EditCommandColumn in the DataGrid. This is the code:
<script runat="server">
Dim sqlConn As New SqlConnection(".....")
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
If Not (Page.IsPostBack) Then
FillDataGrid()
|
by: =?Utf-8?B?Y3JlYXZlczA2MjI=?= |
last post by:
I have a nested datagrid in a xaml file, the parent datagrid loads the vendor
information and the details loads the documents for that vendor in a
datagrid. Everything is working fine until I click in the child datagrid and
then go to the combobox and choose another vendor. When the new vendor is
loaded nothing shows in the datagrid but the itemsource shows the info is
there. Know if I click on the child cell and then click back on the...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |