473,761 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IPostBackDataHa ndler.LoadPostD ata

I've been building some custom controls which have some special functionality
with the data I use from a web service, specifically the ability to data bind
to attributes (without an accessor method).

However I've come accross an interesting issue with using them. I have
reimplemented the class from
public class WCCombobox : Control, IPostBackDataHa ndler
so that I can load the post data back in. It works great, it gets to the
method and loads it in from the post back namevaluecollec tion. however when
the same control is put on a usercontrol, which is put on the page, rather
than put directly on the page, the loadPostData event doesnt actually get
called.

It works fine directly on the page. It doesnt work on the user control. I've
put 2 controls on the same page, one in a usercontrol, the other directly on
the page, and as I said, the one in the usercontrol doesnt work. The one
directly on the page does.

Has anybody come accross this before? Does anybody have any sugestions on
what I might not be doing to fix this?
Nov 19 '05 #1
9 2370
When you are writing out the postable tag, what id and name attribute are
you writing out? Pretend you are writing out a text box.

writer.AddAttri bute( "type", "text" );
writer.AddAttri bute( "name", UniqueID );
writer.AddAttri bute( "id", ClientID );
writer.RenderBe ginTag( HtmlTextWriterT ag.Input );
writer.RenderEn dTag();

Notice the UniqueID and ClientID, there is no ID anywhere.

UserControl implements INamingContaine r which will ensure all controls have
unique IDs.

Image if you had on your page a asp:TextBox id="txtName" and in your
UserControl (id="myUC" ) you had another textbox called "txtName". There
would be all sorts of naming collisions. The textbox in your usercontrol
will render out the name and ID "myUC_txtNa me", or something to that affect.

If this doesn't help you out, post some of your overridden Render code and I
can help you through it.

bill


"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:B8******** *************** ***********@mic rosoft.com...
I've been building some custom controls which have some special functionality with the data I use from a web service, specifically the ability to data bind to attributes (without an accessor method).

However I've come accross an interesting issue with using them. I have
reimplemented the class from
public class WCCombobox : Control, IPostBackDataHa ndler
so that I can load the post data back in. It works great, it gets to the
method and loads it in from the post back namevaluecollec tion. however when the same control is put on a usercontrol, which is put on the page, rather
than put directly on the page, the loadPostData event doesnt actually get
called.

It works fine directly on the page. It doesnt work on the user control. I've put 2 controls on the same page, one in a usercontrol, the other directly on the page, and as I said, the one in the usercontrol doesnt work. The one
directly on the page does.

Has anybody come accross this before? Does anybody have any sugestions on
what I might not be doing to fix this?

Nov 19 '05 #2
Hmmm. Thats not exactly how I'm rendering the control. Are there any good
articles you know of to render the control? I'm actually rendering a string,
a specific string because I want precise control over the HTML. (I've added
attributes onto the <input tag which get used by client side java script).

I'll try that out now though and see if it helps, I definatly am not using
the unique ID, or the client ID. I'll have to have a look at them.

Brian.

"William F. Robertson, Jr." wrote:
When you are writing out the postable tag, what id and name attribute are
you writing out? Pretend you are writing out a text box.

writer.AddAttri bute( "type", "text" );
writer.AddAttri bute( "name", UniqueID );
writer.AddAttri bute( "id", ClientID );
writer.RenderBe ginTag( HtmlTextWriterT ag.Input );
writer.RenderEn dTag();

Notice the UniqueID and ClientID, there is no ID anywhere.

UserControl implements INamingContaine r which will ensure all controls have
unique IDs.

Image if you had on your page a asp:TextBox id="txtName" and in your
UserControl (id="myUC" ) you had another textbox called "txtName". There
would be all sorts of naming collisions. The textbox in your usercontrol
will render out the name and ID "myUC_txtNa me", or something to that affect.

If this doesn't help you out, post some of your overridden Render code and I
can help you through it.

bill


"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:B8******** *************** ***********@mic rosoft.com...
I've been building some custom controls which have some special

functionality
with the data I use from a web service, specifically the ability to data

bind
to attributes (without an accessor method).

However I've come accross an interesting issue with using them. I have
reimplemented the class from
public class WCCombobox : Control, IPostBackDataHa ndler
so that I can load the post data back in. It works great, it gets to the
method and loads it in from the post back namevaluecollec tion. however

when
the same control is put on a usercontrol, which is put on the page, rather
than put directly on the page, the loadPostData event doesnt actually get
called.

It works fine directly on the page. It doesnt work on the user control.

I've
put 2 controls on the same page, one in a usercontrol, the other directly

on
the page, and as I said, the one in the usercontrol doesnt work. The one
directly on the page does.

Has anybody come accross this before? Does anybody have any sugestions on
what I might not be doing to fix this?


Nov 19 '05 #3
There really is nothing wrong with rendering the control using strings, you
are doing this in the override Render method of the control? Would you mind
posting some of your render code? The code of the html element you are
posting back. You still can have precise control over rendering using the
HtmlTextWriter classes.

As far as articles, I would recommend this book for writing server controls:

http://www.microsoft.com/mspress/books/5728.asp

The html element that you are wanting to process the postback data on should
use name= UniqueID. UniqueID will be the same as ID unless you place your
control in a UserControl, or a repeater, or any other control that
implements INamingContaine r.

I could go further into why it works, and doesn't work just rendering the
ID, but most people aren't THAT interested in it. <grin>

bill
"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:E8******** *************** ***********@mic rosoft.com...
Hmmm. Thats not exactly how I'm rendering the control. Are there any good
articles you know of to render the control? I'm actually rendering a string, a specific string because I want precise control over the HTML. (I've added attributes onto the <input tag which get used by client side java script).

I'll try that out now though and see if it helps, I definatly am not using
the unique ID, or the client ID. I'll have to have a look at them.

Brian.

"William F. Robertson, Jr." wrote:
When you are writing out the postable tag, what id and name attribute are you writing out? Pretend you are writing out a text box.

writer.AddAttri bute( "type", "text" );
writer.AddAttri bute( "name", UniqueID );
writer.AddAttri bute( "id", ClientID );
writer.RenderBe ginTag( HtmlTextWriterT ag.Input );
writer.RenderEn dTag();

Notice the UniqueID and ClientID, there is no ID anywhere.

UserControl implements INamingContaine r which will ensure all controls have unique IDs.

Image if you had on your page a asp:TextBox id="txtName" and in your
UserControl (id="myUC" ) you had another textbox called "txtName". There would be all sorts of naming collisions. The textbox in your usercontrol will render out the name and ID "myUC_txtNa me", or something to that affect.
If this doesn't help you out, post some of your overridden Render code and I can help you through it.

bill


"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:B8******** *************** ***********@mic rosoft.com...
I've been building some custom controls which have some special

functionality
with the data I use from a web service, specifically the ability to data
bind
to attributes (without an accessor method).

However I've come accross an interesting issue with using them. I have
reimplemented the class from
public class WCCombobox : Control, IPostBackDataHa ndler
so that I can load the post data back in. It works great, it gets to
the method and loads it in from the post back namevaluecollec tion. however

when
the same control is put on a usercontrol, which is put on the page, rather than put directly on the page, the loadPostData event doesnt actually get called.

It works fine directly on the page. It doesnt work on the user control. I've
put 2 controls on the same page, one in a usercontrol, the other
directly on
the page, and as I said, the one in the usercontrol doesnt work. The

one directly on the page does.

Has anybody come accross this before? Does anybody have any sugestions on what I might not be doing to fix this?


Nov 19 '05 #4
There really is nothing wrong with rendering the control using strings, you
are doing this in the override Render method of the control? Would you mind
posting some of your render code? The code of the html element you are
posting back. You still can have precise control over rendering using the
HtmlTextWriter classes.

As far as articles, I would recommend this book for writing server controls:

http://www.microsoft.com/mspress/books/5728.asp

The html element that you are wanting to process the postback data on should
use name= UniqueID. UniqueID will be the same as ID unless you place your
control in a UserControl, or a repeater, or any other control that
implements INamingContaine r.

I could go further into why it works, and doesn't work just rendering the
ID, but most people aren't THAT interested in it. <grin>

bill
"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:E8******** *************** ***********@mic rosoft.com...
Hmmm. Thats not exactly how I'm rendering the control. Are there any good
articles you know of to render the control? I'm actually rendering a string, a specific string because I want precise control over the HTML. (I've added attributes onto the <input tag which get used by client side java script).

I'll try that out now though and see if it helps, I definatly am not using
the unique ID, or the client ID. I'll have to have a look at them.

Brian.

"William F. Robertson, Jr." wrote:
When you are writing out the postable tag, what id and name attribute are you writing out? Pretend you are writing out a text box.

writer.AddAttri bute( "type", "text" );
writer.AddAttri bute( "name", UniqueID );
writer.AddAttri bute( "id", ClientID );
writer.RenderBe ginTag( HtmlTextWriterT ag.Input );
writer.RenderEn dTag();

Notice the UniqueID and ClientID, there is no ID anywhere.

UserControl implements INamingContaine r which will ensure all controls have unique IDs.

Image if you had on your page a asp:TextBox id="txtName" and in your
UserControl (id="myUC" ) you had another textbox called "txtName". There would be all sorts of naming collisions. The textbox in your usercontrol will render out the name and ID "myUC_txtNa me", or something to that affect.
If this doesn't help you out, post some of your overridden Render code and I can help you through it.

bill


"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:B8******** *************** ***********@mic rosoft.com...
I've been building some custom controls which have some special

functionality
with the data I use from a web service, specifically the ability to data
bind
to attributes (without an accessor method).

However I've come accross an interesting issue with using them. I have
reimplemented the class from
public class WCCombobox : Control, IPostBackDataHa ndler
so that I can load the post data back in. It works great, it gets to
the method and loads it in from the post back namevaluecollec tion. however

when
the same control is put on a usercontrol, which is put on the page, rather than put directly on the page, the loadPostData event doesnt actually get called.

It works fine directly on the page. It doesnt work on the user control. I've
put 2 controls on the same page, one in a usercontrol, the other
directly on
the page, and as I said, the one in the usercontrol doesnt work. The

one directly on the page does.

Has anybody come accross this before? Does anybody have any sugestions on what I might not be doing to fix this?


Nov 19 '05 #5
Below is the render method I have at the moment.

I spent some time re coding a text box control to inherit from WebControl,
instead of just control. Now it apears to work, but I dont think my
postBackDataHan dler is the one that is kicking in, as it never stops in the
break point for the control that I wrote for the control on the user control.
It does stop for the one on the page it self still. Do i actually have to
call the post back data handler method for the usercontrols, and then for the
controls on the user control.

[DefaultProperty ("Text"),
ToolboxData("<{ 0}:WCTextbox runat=server></{0}:WCTextbox>" )]
public class WCTextbox : System.Web.UI.W ebControls.WebC ontrol,
IPostBackDataHa ndler
{
protected override void Render(HtmlText Writer output)
{
string lStr = "";
// If outputing printable form just write out the value
if ( this.printableF orm) {
output.Write( "<span id=\"" + this.UniqueID + "\" class=\"" +
this.CssClass + "\">" + this.Value + "</span>");
}
// Creating an actual text box
else if ( this.lines > 1 ) {
// Add main values to string
lStr = "<textarea name=\"" + this.ClientID + "\" id=\"" + this.UniqueID
+ "\" cols=\"" + (this.sizePx * 0.12).ToString( )
+ "\" style=\"width:" + this.sizePx.ToS tring() + "px;" + this.Style
+ "\" rows=\"" + this.lines
+ "\" class=\"" + this.CssClass
+ "\"";
// Add validation attibutes if required
if ( this.validation Use ) {
lStr = lStr + " validation=\"" + this.validation String + "\"
displayname=\"" + this.displayNam e + "\" onfocus=\"javas cript:MakeWhite (
this);\"";
}
lStr = lStr + ">" + this.Value + "</textarea>";
// Write out complete code to page
output.Write( lStr);
} else {
// Add main values to string
lStr = "<input type=\"text\" name=\"" + this.ClientID + "\" id=\"" +
this.UniqueID
+ "\" value=\"" + this.Value
+ "\" size=\"" + (this.sizePx * 0.12).ToString( )
+ "\" style=\"width:" + this.sizePx.ToS tring() + "px;" + this.getStyles( )
+ "\" class=\"" + this.CssClass
+ "\"";
// Add max length if required
if ( this.maxLength > 0 ) {
lStr = lStr + " maxlength=\"" + this.maxLength. ToString() + "\"";
}
// Add validation attibutes if required
if ( this.validation Use ) {
lStr = lStr + " validation=\"" + this.validation String + "\"
displayname=\"" + this.displayNam e + "\" onfocus=\"javas cript:MakeWhite (
this);\"";
}
lStr = lStr + ">";
// Write out complete code to page
output.Write( lStr);
}
}
}
Nov 19 '05 #6
Below is the render method I have at the moment.

I spent some time re coding a text box control to inherit from WebControl,
instead of just control. Now it apears to work, but I dont think my
postBackDataHan dler is the one that is kicking in, as it never stops in the
break point for the control that I wrote for the control on the user control.
It does stop for the one on the page it self still. Do i actually have to
call the post back data handler method for the usercontrols, and then for the
controls on the user control.

[DefaultProperty ("Text"),
ToolboxData("<{ 0}:WCTextbox runat=server></{0}:WCTextbox>" )]
public class WCTextbox : System.Web.UI.W ebControls.WebC ontrol,
IPostBackDataHa ndler
{
protected override void Render(HtmlText Writer output)
{
string lStr = "";
// If outputing printable form just write out the value
if ( this.printableF orm) {
output.Write( "<span id=\"" + this.UniqueID + "\" class=\"" +
this.CssClass + "\">" + this.Value + "</span>");
}
// Creating an actual text box
else if ( this.lines > 1 ) {
// Add main values to string
lStr = "<textarea name=\"" + this.ClientID + "\" id=\"" + this.UniqueID
+ "\" cols=\"" + (this.sizePx * 0.12).ToString( )
+ "\" style=\"width:" + this.sizePx.ToS tring() + "px;" + this.Style
+ "\" rows=\"" + this.lines
+ "\" class=\"" + this.CssClass
+ "\"";
// Add validation attibutes if required
if ( this.validation Use ) {
lStr = lStr + " validation=\"" + this.validation String + "\"
displayname=\"" + this.displayNam e + "\" onfocus=\"javas cript:MakeWhite (
this);\"";
}
lStr = lStr + ">" + this.Value + "</textarea>";
// Write out complete code to page
output.Write( lStr);
} else {
// Add main values to string
lStr = "<input type=\"text\" name=\"" + this.ClientID + "\" id=\"" +
this.UniqueID
+ "\" value=\"" + this.Value
+ "\" size=\"" + (this.sizePx * 0.12).ToString( )
+ "\" style=\"width:" + this.sizePx.ToS tring() + "px;" + this.getStyles( )
+ "\" class=\"" + this.CssClass
+ "\"";
// Add max length if required
if ( this.maxLength > 0 ) {
lStr = lStr + " maxlength=\"" + this.maxLength. ToString() + "\"";
}
// Add validation attibutes if required
if ( this.validation Use ) {
lStr = lStr + " validation=\"" + this.validation String + "\"
displayname=\"" + this.displayNam e + "\" onfocus=\"javas cript:MakeWhite (
this);\"";
}
lStr = lStr + ">";
// Write out complete code to page
output.Write( lStr);
}
}
}
Nov 19 '05 #7
No it still doesnt call it for the control on the user controls.

It does however If I use a normal ASP textbox control.

Do I have to call the load post back data from the page, call it for each
usercontrol, and then call it for each control on the user control? Or how
does it get subscribed to?
Nov 19 '05 #8
No it still doesnt call it for the control on the user controls.

It does however If I use a normal ASP textbox control.

Do I have to call the load post back data from the page, call it for each
usercontrol, and then call it for each control on the user control? Or how
does it get subscribed to?
Nov 19 '05 #9
The UniqueID needs to be rendered out for the name property. The name
property is what the key for what is posted back.

You should either use StringBuilder and its Append method for building your
string, or should just write directly to the writer.

(your code)
// Add main values to string
lStr = "<textarea name=\"" + this.UniqueID+ "\" id=\"" + this.ClientID
+ "\" cols=\"" + (this.sizePx * 0.12).ToString( )
+ "\" style=\"width:" + this.sizePx.ToS tring() + "px;" + this.Style
+ "\" rows=\"" + this.lines
+ "\" class=\"" + this.CssClass
+ "\"";
// Add validation attibutes if required
if ( this.validation Use )
{
lStr = lStr + " validation=\"" + this.validation String + "\"
displayname=\"" + this.displayNam e + "\" onfocus=\"javas cript:MakeWhite (
this);\"";
}
lStr = lStr + ">" + this.Value + "</textarea>";
// Write out complete code to page
output.Write( lStr);
(end your code)

This section code code actually loads and creates about 46 different
strings. Not too efficient.

Here is a sample of the writer approach.
output.Write( "<textarea name=\"" );
output.Write( this.UniqueID );
output.Write( "\" id=\" );
output.Write( this.ClientID );
....

Here is the HtmlTextWriter way to render this code. this covers the whole
section listed above. This is the method I prefer from my developers as it
is easier to read, and you don't have to count "\""\" \" + "\"" stuff. Did
you ever miss one and have to figure out exactly where to add a missing \"?

When you call RenderBeginTag, the HtmlTextWriter will step through all the
attributes that have been added and will write them out. After the opening
tag is send to the browser, you add the inner html and then on to the EndTag
that will renderd the closing tag. The HtmlTextWriter is smart enough to
remember what tag you are currently one. (I believe it uses a stack to keep
the tags order with).

output.AddAttri bute( "name", this.UniqueID );
output.AddAttri bute( "id", this.ClientID );
output.AddAttri bute( "cols", (this.sizePx * 0.12).ToString( ) );
output.AddAttri bute( "style", "width:" + this.sizePx + "px" + this.Style );
output.AddAttri bute( "rows", this.lines.ToSt ring() );
output.AddAttri bute( "class", this.CssClass );

if ( this.validation Use )
{
output.AddAttri bute( "validation ", this.validation String );
output.AddAttri bute( "displayNam e", this.displayNam e );
output.AddAttri bute( "onfocus", "javascript:Mak eWhite( this);" );
}

output.RenderBe ginTag( HtmlTextWriterT ag.Textarea );
output.Write( this.Value ); //you probably should encode this
//output.Write( System.Web.Http Utility.HtmlEnc ode( this.Value );
output.RenderEn dTag();

HTH,

bill

"brian.mill s" <br********@dis cussions.micros oft.com> wrote in message
news:4B******** *************** ***********@mic rosoft.com...
No it still doesnt call it for the control on the user controls.

It does however If I use a normal ASP textbox control.

Do I have to call the load post back data from the page, call it for each
usercontrol, and then call it for each control on the user control? Or how
does it get subscribed to?

Nov 19 '05 #10

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

Similar topics

2
3282
by: John Burke | last post by:
I am getting a curious problem where LoadPostData is not being called after registering the control using RegisterRequiresPostback. Other controls not requiring postback registration are having LoadPostData called. Each control calling RegisterRequiresPostback does have a uniqueid and exists for the lifetime of the page, so it's not a mis-referencing problem. It's worth noting that this was working fine until I killed the Viewstate and...
0
431
by: One Handed Man \( OHM - Terry Burns \) | last post by:
I have implemented the System.Web.UI.IPostBackDataHandler.LoadPostData interface in my custom control, however, when I submit this Function is not called by ASP.NET ( Which is what I assume is supposed to happen ). Unfortunately it does not get called, any ideas what could be causing this ? --
6
2053
by: Francois | last post by:
Hi, I am trying to implement a custom control that extends the standard System.Web.UI.WebControls.CheckBox control. In the .Net class library reference it is said that CheckBox Implements IPostBackDataHandler interface. I want to override the 2 methods defined by that interface but i do not see in the CheckBox class that the methods of IPostBackDataHandler are implemented. But they should be as the class is said to implement the...
0
1017
by: Charlie | last post by:
I am building a custom webcontrol that has several internal textboxes. To restore the values in a postback, I use PostDataCollection(PostDataKey) from within the LoadPostData function. PostDataCollection(PostDataKey) returns a comma delimited set of values that can be re-assigned to the value attribute in the Render method. What if the user places a comma in one of the textboxes? In that case, PostDataCollection(PostDataKey) returns...
1
2699
by: z f | last post by:
Hi. How can I make a custom control in VB.NET that is inheriting from TextBox and also implements/inherits the IPostBackDataHandler? the problem is that in VB.NET I can't inherit from more that one class, but when I try to inherit from TextBox and Implement IPostBackDataHandler i get an error of "Interface 'System.Web.UI.IPostBackDataHandler' is already implemented by base class 'System.Web.UI.WebControls.TextBox'." but if I want to...
0
907
by: Martin Gustavsson | last post by:
I'm a bit puzzled by the IPostBackDataHandler. What if i have a custom control that I render myself, and I render 30 input-fields. They can't all have the name of the control's UniqueID? Which is required if LoadPostData is to be invoked (Note: Theese are not child controls, they are simply rendered input-fields). My input fields will probably be named something like UniqueID + ":some_internal_id". One solution I can come up with is to...
4
1658
by: Nathan Sokalski | last post by:
During my postbacks, I try to assign the value from an Input tag to a property of a custom control. However, I keep recieving the following error: An exception of type 'System.OverflowException' occurred in Microsoft.VisualBasic.dll but was not handled in user code Additional information: Arithmetic operation resulted in an overflow. The code that it highlights during this error is the 2nd line of the
0
1274
by: mankuipeng | last post by:
I am doing ActiveReports with .NET environment. There is a ASP.NET page, with custom control on it. Control displays data from database, by editing all the necessary data and click 'Submit' button to render ActiveReport. When I click 'Submit' button. LoadPostData and RaisePostBackEvent in custom control occurs, then Page_Load, then Render. It should stop at this point but sometimes LoadPostData and RaisePostBackEvent fire many times...
4
1831
by: Piotr Nowak | last post by:
Hi, Im developing a RibbonBar Control in asp.net 1.1 by converting already done in asp.net 2.0. My problem is that theres no compositecontrol in 1.1. Correct me if im wrong, heres what i want to achieve. My RibbonButton control is a regular webcontrol. RibbonButton instantiates a hiddenfield inside by creating new instance. So we have simple situation here wheres RibbonControl that contains hiddenfield
0
9538
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10123
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9975
jinu1996
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...
0
9788
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7342
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6623
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();...
0
5241
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...
1
3889
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
3
2765
bsmnconsultancy
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...

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.