473,583 Members | 3,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CompositeContro ls: ViewState properties w/ Mapped properties probl

I have a CompositeContro l with two types of properties:

1.) Mapped Properties that map directly to a child control's properties
(ex.: this.TextboxTex t = m_txt.Text). These properties are handled by their
underlying classes (such as the TextBox control), and are not persisted by me.
2.) Unique Properties that don't map directly and are persisted in ViewState
(ex.: this.LabelPosit ion, which specifies where on the form the label should
be rendered). These properties are applied to the relevant controls in
'OnPreRender()' , and sometimes used in 'CreateChildCon trols()'.

I can only get one of these types of properties to work properly at one
time. If, in the second type of property (those stored in ViewState) I add
the line 'ChildControlsC reated = false;' after the Set statement, the
ViewState properties work properly and render with their assigned values, but
then controls of the first type no longer work, and are always reset to their
initial values.

If I remove the 'ChildControlsC reate = false;' line from the ViewState
controls, the first type (Mapped Properties) function properly, including
maintaining their values on Postback, but the second type (Unique/ViewState
properties) always get set to their default values, even when they are
explicitly set in code or in the HTML markup.

The problem is that I need, obviously, both property types to work, but
after a lot of effort (and several forum posts), am no closer to a solution.

If you would like a full code sample of this, let me know and I'll email a
VS2005 solution to you.

Christophe

Type 1 (Mapped Properties) --> Generally defined in a child class that
inherits from a common parent
--------------------------
/// <summary>
/// Gets or sets the textbox text.
/// </summary>
/// <value>The textbox text.</value>
[Bindable(true)]
[Category("Textb ox")]
[DefaultValue(ty peof(string), "")]
[Description("Th e text that will be displayed in the textbox.")]
[Localizable(tru e)]
[NotifyParentPro perty(true)]
[RefreshProperti es(RefreshPrope rties.All)]
public string Text
{
get
{
EnsureChildCont rols();
return (m_txt.Text == null) ?
string.Empty :
m_txt.Text;
}
set
{
Debug.Assert(va lue != null, "Warning: TextboxText property is null!");
if (value != null)
{
EnsureChildCont rols();
m_txt.Text = value;
}
else
{
throw new NullReferenceEx ception("Textbo xText can not be
assigned a null value.");
}
}
}

Type 2 (Unique Properties) --> Defined in a parent class that contains all
common elements
--------------------------
/// <summary>
/// Gets or sets the position of the descriptive label relative to the rest
of the control.
/// </summary>
/// <value>The label position.</value>
[Bindable(true)]
[Category("Label ")]
[DefaultValue(Po sition.Left)]
[Localizable(fal se)]
[Description("Th e position of the descriptive label relative to the rest of
the control.")]
public Position LabelPosition
{
get
{
Position p = (Position)ViewS tate["LabelPosit ion"];
return p;
}
set
{
ViewState["LabelPosit ion"] = value;
// Toggle line to see effect
// ChildcontrolsCr eate = false;
}
}

CreateChildCont rols() -> Code from parent class, SupportFormLabe lledControl
(which handles all common elements)
---------------------
protected override void CreateChildCont rols()
{
// Clear the control collection
Controls.Clear( );

// Any dependant controls used in this custom control must
// be added to the control 'hierarchy'. If they are not added
// to the control collection, they will not be visible to other
// controls on the page.

// Instantiate any dependant controls
m_tbl = new Table();
m_lbl = new CallbackLabel() ;
m_icn = new IconPopupContro l();
m_plc = new PlaceHolder();

// Create table object and format it through relevant method
m_tbl = SharedFunctions .CreateLabelled ControlTable(th is.LabelPositio n);

// Add table to the control collection
Controls.Add(m_ tbl);

// Add controls to the table control collection
switch (this.LabelPosi tion)
{
case Position.Left:
m_tbl.Rows[0].Cells[0].Controls.Add(m _lbl);
m_tbl.Rows[0].Cells[1].Controls.Add(m _plc);
m_tbl.Rows[0].Cells[1].Controls.Add(m _icn);
// Set relevant design properties
m_tbl.Rows[0].Cells[0].Width = new
Unit(this.Label Width.ToString( ));
m_tbl.Rows[0].Cells[0].VerticalAlign = this.LabelVerti calAlign;
break;
case Position.Top:
m_tbl.Rows[0].Cells[0].Controls.Add(m _lbl);
m_tbl.Rows[1].Cells[0].Controls.Add(m _plc);
m_tbl.Rows[1].Cells[0].Controls.Add(m _icn);
// Set relevant design properties
m_tbl.Rows[0].Cells[0].Width = new
Unit(this.Label Width.ToString( ));
m_tbl.Rows[0].Cells[0].VerticalAlign = this.LabelVerti calAlign;
break;
case Position.Right:
m_tbl.Rows[0].Cells[0].Controls.Add(m _plc);
m_tbl.Rows[0].Cells[0].Controls.Add(m _icn);
m_tbl.Rows[0].Cells[1].Controls.Add(m _lbl);
// Set relevant design properties
m_tbl.Rows[0].Cells[1].Width = new
Unit(this.Label Width.ToString( ));
m_tbl.Rows[0].Cells[1].VerticalAlign = this.LabelVerti calAlign;
break;
case Position.Bottom :
m_tbl.Rows[0].Cells[0].Controls.Add(m _plc);
m_tbl.Rows[0].Cells[0].Controls.Add(m _icn);
m_tbl.Rows[1].Cells[0].Controls.Add(m _lbl);
// Set relevant design properties
m_tbl.Rows[1].Cells[0].Width = new
Unit(this.Label Width.ToString( ));
m_tbl.Rows[1].Cells[0].VerticalAlign = this.LabelVerti calAlign;
break;
default:
Debug.Assert(fa lse);
break;
}

// Call base method
base.CreateChil dControls();
}

CreateChildCont rols() -> Code from inheriting class, which specializes the
top-level class (i.e., SupportTextBox)
---------------------
protected override void CreateChildCont rols()
{
// Call base method (create the underlying table and common controls)
base.CreateChil dControls();

// Instantiate any dependant controls
m_txt = new CallbackTextBox ();

// Register any events associated with dependant controls
m_txt.TextChang ed += new EventHandler(Ra iseTextChanged) ;
m_icn.ImageMous eDown += new EventHandler(th is.RaiseIconMou seDown);

// Add unique controls to the base class placeholder
m_plc.Controls. Add(m_txt);
}
OnPreRender() --> Parent Class (SupportFormLab elledControl)
-------------
contains the event data.</param>
protected override void OnPreRender(Eve ntArgs e)
{
// Call base method
base.OnPreRende r(e);

// Add reference to embedded CSS file
if (!(Page == null))
{
if (!(Page.ClientS cript.IsClientS criptBlockRegis tered("CssStyle s")))
{
string cssLocation = this.Page.Clien tScript.GetWebR esourceUrl(
this.GetType(),
"CompanyName.EE E.Web.UI.Resour ces.Styles.css" );
string cssLink = @"<!-- Css Stylesheet -->" + "\r\n";
cssLink += @"<link href='" + cssLocation + "' rel='stylesheet '
type='text/css' />" + "\r\n";
Page.ClientScri pt.RegisterClie ntScriptBlock(
typeof(SupportF ormLabelledCont rol),
"CssStyles" ,
cssLink);
}
}

// Associate dependent control properties with this control's properties
m_lbl.CssClass = this.LabelCssCl ass;
m_lbl.Text = this.LabelText;
m_lbl.Visible = this.LabelVisib le;
m_lbl.RadContro lsDir = this.ScriptsPat h;
m_lbl.CallbackE nabled = this.CallbackEn abled;
m_lbl.DisableAt Callback = this.DisableAtC allback;
m_lbl.Enabled = this.Enabled;
m_icn.CallbackE nabled = this.CallbackEn abled;
m_icn.DisableAt Callback = this.DisableAtC allback;
m_icn.WarningIm ageUrl = this.WarningIma geUrl;
m_icn.ImageAlig n = this.ImageAlign ;
m_icn.EmptyImag eUrl = this.EmptyImage Url;
m_icn.MessageSt yle = this.MessageSty le;
m_icn.PopupText = this.PopupText;
m_icn.PopupText ResourceKey = this.PopupTextR esourceKey;
m_icn.PopupTitl e = this.PopupTitle ;
m_icn.PopupTitl eResourceKey = this.PopupTitle ResourceKey;
m_icn.LinkUrl = this.LinkUrl;
m_icn.Enabled = this.Enabled;
m_icn.CssClass = this.WarningIco nCssStyle;

// Enable or disable warning icon as appropriate
m_icn.Visible = this.Required ? true : false;
}

OnPreRender() --> Specialized, Inheriting Class (SupportTextBox )
-------------
protected override void OnPreRender(Eve ntArgs e)
{
// Call base method (common fields like m_lbl and m_icn are handled here)
base.OnPreRende r(e);

// Associate dependent control properties with this control's properties
m_txt.MaxLength = this.MaxLength;
m_txt.ReadOnly = this.ReadOnly;
m_txt.RadContro lsDir = this.ScriptsPat h;
m_txt.DisableAt Callback = this.DisableAtC allback;
m_txt.CallbackE nabled = this.CallbackEn abled;
m_txt.CssClass = this.TextboxCss Class;
m_txt.Enabled = this.Enabled;
m_txt.Text = this.Text;
m_txt.TextMode = this.TextMode;
m_txt.Width = this.TextboxWid th;
m_txt.Rows = this.Rows;
}
Jan 19 '06 #1
1 1653
Hi Christophe,

Regarding on this issue, I've posted my response and suggestion in the
below thread:

Subject: ViewState properties and mapped properties don't work well together
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet.webc ontrols

Please feel free to post there if you meet any further problem..

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: CompositeContro ls: ViewState properties w/ Mapped
properties probl
| thread-index: AcYc1IDjPQ5qSRw pSquoNZe7RkwGMQ ==
| X-WBNR-Posting-Host: 193.172.19.20
| From: =?Utf-8?B?Q2hyaXN0b3B oZSBQZWlsbGV0?=
<Ch************ ***@nospam.nosp am>
| Subject: CompositeContro ls: ViewState properties w/ Mapped properties
probl
| Date: Thu, 19 Jan 2006 00:44:04 -0800
| Lines: 266
| Message-ID: <E7************ *************** *******@microso ft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA03.phx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3720 14
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I have a CompositeContro l with two types of properties:
|
| 1.) Mapped Properties that map directly to a child control's properties
| (ex.: this.TextboxTex t = m_txt.Text). These properties are handled by
their
| underlying classes (such as the TextBox control), and are not persisted
by me.
| 2.) Unique Properties that don't map directly and are persisted in
ViewState
| (ex.: this.LabelPosit ion, which specifies where on the form the label
should
| be rendered). These properties are applied to the relevant controls in
| 'OnPreRender()' , and sometimes used in 'CreateChildCon trols()'.
|
| I can only get one of these types of properties to work properly at one
| time. If, in the second type of property (those stored in ViewState) I
add
| the line 'ChildControlsC reated = false;' after the Set statement, the
| ViewState properties work properly and render with their assigned values,
but
| then controls of the first type no longer work, and are always reset to
their
| initial values.
|
| If I remove the 'ChildControlsC reate = false;' line from the ViewState
| controls, the first type (Mapped Properties) function properly, including
| maintaining their values on Postback, but the second type
(Unique/ViewState
| properties) always get set to their default values, even when they are
| explicitly set in code or in the HTML markup.
|
| The problem is that I need, obviously, both property types to work, but
| after a lot of effort (and several forum posts), am no closer to a
solution.
|
| If you would like a full code sample of this, let me know and I'll email
a
| VS2005 solution to you.
|
| Christophe
|
| Type 1 (Mapped Properties) --> Generally defined in a child class that
| inherits from a common parent
| --------------------------
| /// <summary>
| /// Gets or sets the textbox text.
| /// </summary>
| /// <value>The textbox text.</value>
| [Bindable(true)]
| [Category("Textb ox")]
| [DefaultValue(ty peof(string), "")]
| [Description("Th e text that will be displayed in the textbox.")]
| [Localizable(tru e)]
| [NotifyParentPro perty(true)]
| [RefreshProperti es(RefreshPrope rties.All)]
| public string Text
| {
| get
| {
| EnsureChildCont rols();
| return (m_txt.Text == null) ?
| string.Empty :
| m_txt.Text;
| }
| set
| {
| Debug.Assert(va lue != null, "Warning: TextboxText property is
null!");
| if (value != null)
| {
| EnsureChildCont rols();
| m_txt.Text = value;
| }
| else
| {
| throw new NullReferenceEx ception("Textbo xText can not be
| assigned a null value.");
| }
| }
| }
|
| Type 2 (Unique Properties) --> Defined in a parent class that contains
all
| common elements
| --------------------------
| /// <summary>
| /// Gets or sets the position of the descriptive label relative to the
rest
| of the control.
| /// </summary>
| /// <value>The label position.</value>
| [Bindable(true)]
| [Category("Label ")]
| [DefaultValue(Po sition.Left)]
| [Localizable(fal se)]
| [Description("Th e position of the descriptive label relative to the rest
of
| the control.")]
| public Position LabelPosition
| {
| get
| {
| Position p = (Position)ViewS tate["LabelPosit ion"];
| return p;
| }
| set
| {
| ViewState["LabelPosit ion"] = value;
| // Toggle line to see effect
| // ChildcontrolsCr eate = false;
| }
| }
|
| CreateChildCont rols() -> Code from parent class,
SupportFormLabe lledControl
| (which handles all common elements)
| ---------------------
| protected override void CreateChildCont rols()
| {
| // Clear the control collection
| Controls.Clear( );
|
| // Any dependant controls used in this custom control must
| // be added to the control 'hierarchy'. If they are not added
| // to the control collection, they will not be visible to other
| // controls on the page.
|
| // Instantiate any dependant controls
| m_tbl = new Table();
| m_lbl = new CallbackLabel() ;
| m_icn = new IconPopupContro l();
| m_plc = new PlaceHolder();
|
| // Create table object and format it through relevant method
| m_tbl =
SharedFunctions .CreateLabelled ControlTable(th is.LabelPositio n);
|
| // Add table to the control collection
| Controls.Add(m_ tbl);
|
| // Add controls to the table control collection
| switch (this.LabelPosi tion)
| {
| case Position.Left:
| m_tbl.Rows[0].Cells[0].Controls.Add(m _lbl);
| m_tbl.Rows[0].Cells[1].Controls.Add(m _plc);
| m_tbl.Rows[0].Cells[1].Controls.Add(m _icn);
| // Set relevant design properties
| m_tbl.Rows[0].Cells[0].Width = new
| Unit(this.Label Width.ToString( ));
| m_tbl.Rows[0].Cells[0].VerticalAlign =
this.LabelVerti calAlign;
| break;
| case Position.Top:
| m_tbl.Rows[0].Cells[0].Controls.Add(m _lbl);
| m_tbl.Rows[1].Cells[0].Controls.Add(m _plc);
| m_tbl.Rows[1].Cells[0].Controls.Add(m _icn);
| // Set relevant design properties
| m_tbl.Rows[0].Cells[0].Width = new
| Unit(this.Label Width.ToString( ));
| m_tbl.Rows[0].Cells[0].VerticalAlign =
this.LabelVerti calAlign;
| break;
| case Position.Right:
| m_tbl.Rows[0].Cells[0].Controls.Add(m _plc);
| m_tbl.Rows[0].Cells[0].Controls.Add(m _icn);
| m_tbl.Rows[0].Cells[1].Controls.Add(m _lbl);
| // Set relevant design properties
| m_tbl.Rows[0].Cells[1].Width = new
| Unit(this.Label Width.ToString( ));
| m_tbl.Rows[0].Cells[1].VerticalAlign =
this.LabelVerti calAlign;
| break;
| case Position.Bottom :
| m_tbl.Rows[0].Cells[0].Controls.Add(m _plc);
| m_tbl.Rows[0].Cells[0].Controls.Add(m _icn);
| m_tbl.Rows[1].Cells[0].Controls.Add(m _lbl);
| // Set relevant design properties
| m_tbl.Rows[1].Cells[0].Width = new
| Unit(this.Label Width.ToString( ));
| m_tbl.Rows[1].Cells[0].VerticalAlign =
this.LabelVerti calAlign;
| break;
| default:
| Debug.Assert(fa lse);
| break;
| }
|
| // Call base method
| base.CreateChil dControls();
| }
|
| CreateChildCont rols() -> Code from inheriting class, which specializes
the
| top-level class (i.e., SupportTextBox)
| ---------------------
| protected override void CreateChildCont rols()
| {
| // Call base method (create the underlying table and common controls)
| base.CreateChil dControls();
|
| // Instantiate any dependant controls
| m_txt = new CallbackTextBox ();
|
| // Register any events associated with dependant controls
| m_txt.TextChang ed += new EventHandler(Ra iseTextChanged) ;
| m_icn.ImageMous eDown += new EventHandler(th is.RaiseIconMou seDown);
|
| // Add unique controls to the base class placeholder
| m_plc.Controls. Add(m_txt);
| }
|
|
| OnPreRender() --> Parent Class (SupportFormLab elledControl)
| -------------
| contains the event data.</param>
| protected override void OnPreRender(Eve ntArgs e)
| {
| // Call base method
| base.OnPreRende r(e);
|
| // Add reference to embedded CSS file
| if (!(Page == null))
| {
| if
(!(Page.ClientS cript.IsClientS criptBlockRegis tered("CssStyle s")))
| {
| string cssLocation = this.Page.Clien tScript.GetWebR esourceUrl(
| this.GetType(),
| "CompanyName.EE E.Web.UI.Resour ces.Styles.css" );
| string cssLink = @"<!-- Css Stylesheet -->" + "\r\n";
| cssLink += @"<link href='" + cssLocation + "'
rel='stylesheet '
| type='text/css' />" + "\r\n";
| Page.ClientScri pt.RegisterClie ntScriptBlock(
| typeof(SupportF ormLabelledCont rol),
| "CssStyles" ,
| cssLink);
| }
| }
|
| // Associate dependent control properties with this control's
properties
| m_lbl.CssClass = this.LabelCssCl ass;
| m_lbl.Text = this.LabelText;
| m_lbl.Visible = this.LabelVisib le;
| m_lbl.RadContro lsDir = this.ScriptsPat h;
| m_lbl.CallbackE nabled = this.CallbackEn abled;
| m_lbl.DisableAt Callback = this.DisableAtC allback;
| m_lbl.Enabled = this.Enabled;
| m_icn.CallbackE nabled = this.CallbackEn abled;
| m_icn.DisableAt Callback = this.DisableAtC allback;
| m_icn.WarningIm ageUrl = this.WarningIma geUrl;
| m_icn.ImageAlig n = this.ImageAlign ;
| m_icn.EmptyImag eUrl = this.EmptyImage Url;
| m_icn.MessageSt yle = this.MessageSty le;
| m_icn.PopupText = this.PopupText;
| m_icn.PopupText ResourceKey = this.PopupTextR esourceKey;
| m_icn.PopupTitl e = this.PopupTitle ;
| m_icn.PopupTitl eResourceKey = this.PopupTitle ResourceKey;
| m_icn.LinkUrl = this.LinkUrl;
| m_icn.Enabled = this.Enabled;
| m_icn.CssClass = this.WarningIco nCssStyle;
|
| // Enable or disable warning icon as appropriate
| m_icn.Visible = this.Required ? true : false;
| }
|
| OnPreRender() --> Specialized, Inheriting Class (SupportTextBox )
| -------------
| protected override void OnPreRender(Eve ntArgs e)
| {
| // Call base method (common fields like m_lbl and m_icn are handled
here)
| base.OnPreRende r(e);
|
| // Associate dependent control properties with this control's
properties
| m_txt.MaxLength = this.MaxLength;
| m_txt.ReadOnly = this.ReadOnly;
| m_txt.RadContro lsDir = this.ScriptsPat h;
| m_txt.DisableAt Callback = this.DisableAtC allback;
| m_txt.CallbackE nabled = this.CallbackEn abled;
| m_txt.CssClass = this.TextboxCss Class;
| m_txt.Enabled = this.Enabled;
| m_txt.Text = this.Text;
| m_txt.TextMode = this.TextMode;
| m_txt.Width = this.TextboxWid th;
| m_txt.Rows = this.Rows;
| }
|
|
|

Jan 19 '06 #2

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

Similar topics

2
2583
by: Mike | last post by:
hi to all does any body know or receive this message before and how i can repare this: The viewstate is invalid for this page and might be corrupted. thank's Mike
1
1765
by: Simon | last post by:
Hi everyone, I have a quick question that I hope someone can help me with: I've made a user control that contains a text box and some validation functionality. This control has a few extra properties declared on it over and above that provided by the textbox. As I understand it, part of the process to make this work is, in the property...
10
3072
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web config does specify a machinekey setting: <machineKey...
6
2058
by: hitendra15 | last post by:
Hi I have created web user control which has Repeater control and Linkbutton in ItemTemplate of repeater control, following is the code for this control On first load it runs fine but when page gets post back it gives following error Failed to load viewstate. The control tree into which viewstate is
5
1180
by: Jeronimo Bertran | last post by:
Building a web control library using VS2005, the WebCustomControls are automatically added to the toolbox but the CompositeControls are not. Is there a way to make the CompositeControls automatically appear on the toolbox when the web page references the library? Thanks Jeronimo
2
265
by: Carly | last post by:
Hi, I am now not sure I understand what ViewState does. Having EnableViewState=true or false on a WEB form and/or different server controls does not seem to make any difference. I am just playing around with VS 2005 and no matter the value of EnableViewState all the controls maintain their value. Can anybody explain or point me to a clear...
5
1398
by: AlexC | last post by:
Hi, i have just read some threads about viewstate and wanted to test myself. But there must be something i don't undertstand, because when i submit the form with EnableViewState="false", i get the values back. It seems that EnableViewState="false" has no influence because 'false' or 'true', it does not make any difference. I thought that...
12
1909
by: Nick C | last post by:
Hi How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution? thanks N
3
1298
by: shapper | last post by:
Hello, I would like some confirmation on events. Should controls be added to page or to their parent controls in Page.Load event wrapped by "If Not PostBack"? And in which event should the general properties and data binding be defined? And where are the values of class properties defined?
0
7896
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
7827
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...
1
7936
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...
1
5701
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
5375
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...
0
3820
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
3845
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2334
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.