473,738 Members | 8,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with WebControls.Tex tBox

Howdy,

I'm new to this .net stuff and really have little to no training. Im trying
to create a new page for a web form, so i have been pretty much jsut coping
code. I having some issue with some textboxes not updating when i a hit
save.

for example I have this code in my aspx.cs file:

declared:
protected System.Web.UI.W ebControls.Text Box txtFullName;

populated:
txtFullName.Tex t = oRDI.fullName;

this code works. When the page loads the fields have the correct info. The
aspx code for this field looks like this:

<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblFullName " runat="server"
width="109px">F ull Name:</asp:label></td>
<td style="WIDTH: 192px" colSpan="3"><as p:textbox id="txtFullName "
runat="server" width="544px" maxlength="32"> </asp:textbox></td>
</tr>

When i hit the save button with this code:
<td><asp:imageb utton id="ibtnSave" runat="server"
imageurl="Image s\btnSave.gif"
causesvalidatio n="False"></asp:imagebutton ></td>

I assumed that the i accessed txtFullName from teh cs code it woudl be
updated with whatever i entered in the field, but it just comes up with the
same data that it was populated with.

What step am i missing? I have looked at teh other pages in my system to
see how they work, but i dont see any differences. I setting am i missing.

the form code looks like this:
<body ms_positioning= "GridLayout ">
<form id="ReportDetai ls" method="post" encType="multip art/form-data"
runat="server">
<table cellSpacing="0" cellPadding="0" width="760" border="0">

One quick note, when i get the value of the field using the Request.Params i
get the latest value. I could use this, but what the point of this fun
architecture then. btw, did i mention that i was new to this stuff : )

Thank You,
rodrigo
ro************* @dfps.state.tx. us
Nov 16 '05 #1
4 2922
Jax
Do you initialize the text in the textbox to start with

E.G: Say in the Form_Load even

txtFullName.Tex t = ""

because if you have you want to change it to this instead

if(IsPostBack!= true

txtFullName.Tex t = ""
Nov 16 '05 #2
cs file:

using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;
using System.Text;
using System.Data.Ora cleClient;
using PRS.DocumentMan ager;

namespace PRS.UIDocumentM anager
{
/// <summary>
/// Summary description for DocumentDetails .
/// </summary>
public class ReportDetails : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Tabl e tblParamters;

protected System.Web.UI.W ebControls.Drop DownList ddlEmailOptions ;
protected System.Web.UI.W ebControls.Imag e imgLogo;
protected System.Web.UI.W ebControls.Imag eButton ibtnAdd;
protected System.Web.UI.W ebControls.Imag eButton ibtnCancel;
protected System.Web.UI.W ebControls.Imag eButton ibtnEdit;
protected System.Web.UI.W ebControls.Imag eButton ibtnDelete;
protected System.Web.UI.W ebControls.Imag eButton ibtnSave;
protected System.Web.UI.W ebControls.Imag eButton ibtnBack;

protected System.Web.UI.W ebControls.Labe l lblError;
protected System.Web.UI.W ebControls.Labe l lblDebugMsg;
protected System.Web.UI.W ebControls.Labe l lblDocumentType List;
protected System.Web.UI.W ebControls.Labe l lblFilter;
protected System.Web.UI.W ebControls.Labe l lblReloadInfo;

protected System.Web.UI.W ebControls.Labe l lblReportName;
protected System.Web.UI.W ebControls.Labe l lblReportVersio n;
protected System.Web.UI.W ebControls.Labe l lblReportDetail s;
protected System.Web.UI.W ebControls.Labe l lblName;
protected System.Web.UI.W ebControls.Text Box txtName;
protected System.Web.UI.W ebControls.Labe l lblVersion;
protected System.Web.UI.W ebControls.Text Box txtVersion;
protected System.Web.UI.W ebControls.Labe l lblFullName;
protected System.Web.UI.W ebControls.Text Box txtFullName;
protected System.Web.UI.W ebControls.Labe l lblTemplateName ;
protected System.Web.UI.W ebControls.Text Box txtTemplateName ;
protected System.Web.UI.W ebControls.Labe l lblOrientation;
protected System.Web.UI.W ebControls.Text Box txtOrientation;
protected System.Web.UI.W ebControls.Labe l lblType;
protected System.Web.UI.W ebControls.Text Box txtType;
protected System.Web.UI.W ebControls.Labe l lblRetainage;
protected System.Web.UI.W ebControls.Text Box txtRetainage;
protected System.Web.UI.W ebControls.Labe l lblEmailOptions ;
protected System.Web.UI.W ebControls.Text Box txtEmailOptions ;
protected System.Web.UI.W ebControls.Labe l lblTitle;
protected System.Web.UI.W ebControls.Labe l lblBackLink;
private void Page_Load(objec t sender, System.EventArg s e)
{
ReportDetailInf o oRDI;
DataSet oDS;
TableRow trRow;

ManagePageButto ns(true,true,tr ue, true, true);

String reportName = Request.QuerySt ring["ID"];
String reportVersion = Request.QuerySt ring["version"];

MetaDataAccesso r oDataAccess = new MetaDataAccesso r();
oRDI = oDataAccess.Get ReportDetail( reportName , reportVersion );

lblReportName.T ext = oRDI.name;
lblReportVersio n.Text = oRDI.version;
txtName.Text = oRDI.name;
txtVersion.Text = oRDI.version;
txtFullName.Tex t = oRDI.fullName;
txtTemplateName .Text = oRDI.template;
txtOrientation. Text = oRDI.orientatio n;
txtType.Text = oRDI.type;
txtRetainage.Te xt = oRDI.retainage. ToString();
txtEmailOptions .Text = oRDI.emailOptio ns;

RegisterHiddenF ield("hdnTimeSt amp",oRDI.TimeS tamp.ToString() );

oDataAccess = new MetaDataAccesso r();
oDS = oDataAccess.Get ReportParameter s( reportName , reportVersion );
DataView dv = new DataView(oDS.Ta bles[0]);
DataTable newDt = oDS.Tables[0].Clone();
for (int i=0;i<dv.Count; i++)
{
newDt.ImportRow (dv[i].Row);
}
DataSet oDataSet = new DataSet();
oDataSet.Tables .Add(newDt);

if (oDataSet != null)
{
#region Building Table Headers
// Build the table headings
trRow = new TableRow();
tblParamters.Ro ws.Add(trRow);

TableCell tcCellHead = new TableCell();
tcCellHead.Text ="Sequence";
tcCellHead.CssC lass="THlist";
tcCellHead.Wrap =true;
tcCellHead.Hori zontalAlign=Hor izontalAlign.Ce nter;
trRow.Cells.Add (tcCellHead);

tcCellHead = new TableCell();
tcCellHead.Text ="Name";
tcCellHead.CssC lass="THlist";
tcCellHead.Wrap =true;
tcCellHead.Hori zontalAlign=Hor izontalAlign.Ce nter;
trRow.Cells.Add (tcCellHead);

tcCellHead = new TableCell();
tcCellHead.Text ="Length";
tcCellHead.CssC lass="THlist";
tcCellHead.Wrap =true;
tcCellHead.Hori zontalAlign=Hor izontalAlign.Ce nter;
trRow.Cells.Add (tcCellHead);

tcCellHead = new TableCell();
tcCellHead.Text ="Type";
tcCellHead.CssC lass="THlist";
tcCellHead.Wrap =true;
tcCellHead.Hori zontalAlign=Hor izontalAlign.Ce nter;
trRow.Cells.Add (tcCellHead);

#endregion

#region Building Table Items list
// Display the available templates
int RowCount=0;
foreach(DataRow drRow in oDataSet.Tables[0].Rows)
{
++RowCount;
trRow = new TableRow();
tblParamters.Ro ws.Add(trRow);

// Populate Data
// Catalog link
TableCell tcData = new TableCell();
tcData.Horizont alAlign =
System.Web.UI.W ebControls.Hori zontalAlign.Lef t;
if ((RowCount%2)== 0)
tcData.CssClass = "altcolor";
tcData.Wrap = true;
tcData.Text = drRow["NBR_RPT_PARM_S EQ"].ToString();
trRow.Cells.Add (tcData);

// display name
tcData = new TableCell();
tcData.Horizont alAlign =
System.Web.UI.W ebControls.Hori zontalAlign.Lef t;
if ((RowCount%2)== 0)
tcData.CssClass = "altcolor";
tcData.Wrap = true;
tcData.Text = drRow["NM_RPT_PARM_NA ME"].ToString();
trRow.Cells.Add (tcData);

tcData = new TableCell();
tcData.Horizont alAlign =
System.Web.UI.W ebControls.Hori zontalAlign.Lef t;
if ((RowCount%2)== 0)
tcData.CssClass = "altcolor";
tcData.Wrap = true;
tcData.Text = drRow["NBR_RPT_PARM_L ENGTH"].ToString();
trRow.Cells.Add (tcData);

tcData = new TableCell();
tcData.Horizont alAlign =
System.Web.UI.W ebControls.Hori zontalAlign.Lef t;
if ((RowCount%2)== 0)
tcData.CssClass = "altcolor";
tcData.Wrap = true;
tcData.Text = drRow["TXT_RPT_PARM_T YPE"].ToString();
trRow.Cells.Add (tcData);

}
#endregion

}
}

private void ReportErrMessag e (Exception ex)
{
StringBuilder sb = new StringBuilder() ;

sb.Append("<p>" + ex.ToString());
Exception iEx = ex.InnerExcepti on;
while (iEx != null)
{
sb.Append("<p>" + iEx.ToString()) ;
iEx = iEx.InnerExcept ion;
}
sb.Append("<P>" + ex.StackTrace);
lblDebugMsg.Tex t = sb.ToString().R eplace("\n", "<p>");
}

private void ManagePageButto ns( bool CancelBtn, bool AddBtn, bool
EditBtn, bool DeleteBtn, bool SaveBtn)
{
ibtnCancel.Visi ble = CancelBtn;
ibtnAdd.Visible = AddBtn;
ibtnEdit.Visibl e = EditBtn;
ibtnDelete.Visi ble = DeleteBtn;
ibtnSave.Visibl e = SaveBtn;
}

private void ManageTypeBoxes (bool MakeEditable)
{

}

#region Web Form Designer generated code
override protected void OnInit(EventArg s e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
this.ibtnBack.C lick += new
System.Web.UI.I mageClickEventH andler(this.ibt nBack_Click);
this.ibtnCancel .Click += new
System.Web.UI.I mageClickEventH andler(this.ibt nCancel_Click);
this.ibtnAdd.Cl ick += new
System.Web.UI.I mageClickEventH andler(this.ibt nAdd_Click);
this.ibtnEdit.C lick += new
System.Web.UI.I mageClickEventH andler(this.ibt nEdit_Click);
this.ibtnDelete .Click += new
System.Web.UI.I mageClickEventH andler(this.ibt nDelete_Click);
this.ibtnSave.C lick += new
System.Web.UI.I mageClickEventH andler(this.ibt nSave_Click);
this.Load += new System.EventHan dler(this.Page_ Load);

}
#endregion

private void ibtnAdd_Click(o bject sender,
System.Web.UI.I mageClickEventA rgs e)
{
Console.WriteLi ne("ADD");
}
private void ibtnSave_Click( object sender,
System.Web.UI.I mageClickEventA rgs e)
{
MetaDataAccesso r oDataAccess = new MetaDataAccesso r();

ReportDetailInf o reportDetailInf o = new ReportDetailInf o();

reportDetailInf o.name = lblReportName.T ext;
reportDetailInf o.version = lblReportVersio n.Text;
reportDetailInf o.name = txtName.Text;
reportDetailInf o.version = txtVersion.Text ;
reportDetailInf o.fullName = txtFullName.Tex t;
reportDetailInf o.template = txtTemplateName .Text;
reportDetailInf o.orientation = txtOrientation. Text;
reportDetailInf o.type = txtType.Text;
reportDetailInf o.retainage = int.Parse( txtRetainage.Te xt );
reportDetailInf o.emailOptions = txtEmailOptions .Text;
reportDetailInf o.TimeStamp =
OracleDateTime. Parse(Request.P arams["hdnTimeSta mp"]);

//oDataAccess.Upd ateReportDetail s( reportDetailInf o );

}

private void ibtnEdit_Click( object sender,
System.Web.UI.I mageClickEventA rgs e)
{
Console.WriteLi ne("EDIT");
}

private void ibtnDelete_Clic k(object sender,
System.Web.UI.I mageClickEventA rgs e)
{
Console.WriteLi ne("delete");
}

private void ibtnCancel_Clic k(object sender,
System.Web.UI.I mageClickEventA rgs e)
{
Console.WriteLi ne("cancel");
}

private void ibtnBack_Click( object sender,
System.Web.UI.I mageClickEventA rgs e)
{
Response.Redire ct(lblBackLink. Text);
}

}
}
-----------------------------------------
aspx:

<%@ Page language="c#" Codebehind="Rep ortDetails.aspx .cs"
AutoEventWireup ="false" Inherits="PRS.U IDocumentManage r.ReportDetails " %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Report Details</title>
<meta content="Micros oft Visual Studio 7.0" name="GENERATOR ">
<meta content="C#" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<LINK href="css/impact.css" type="text/css" rel="stylesheet ">
</HEAD>
<body ms_positioning= "GridLayout ">
<form id="ReportDetai ls" method="post" encType="multip art/form-data"
runat="server">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<tr>
<td>
<table class="TableBor derExpand" id="MainTable" cellSpacing="0"
cellPadding="3" width="100%"
border="0">
<tr>
<td class="THExpand ">
<p><asp:image id="imgLogo" runat="server"
imageurl="Image s\prs_seal.gif" ></asp:image><asp: label id="lblTitle"
runat="server" cssclass="PageT itle">Report Details</asp:label></p>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<td align="right">
<table class="TableBor der" id="tblTopInfo " cellSpacing="0"
cellPadding="3" width="303"
border="0">
<tr>
<td style="WIDTH: 87px">Report Name:</td>
<td><asp:labe l id="lblReportNa me"
runat="server"> lblReportName</asp:label></td>
</tr>
<tr>
<td style="WIDTH: 87px">Report Version:</td>
<td><asp:labe l id="lblReportVe rsion"
runat="server"> lblReportVersio n</asp:label></td>
</tr>
</table>
</td>
</TR>
</table>
<table id="Table3" cellSpacing="0" cellPadding="3" width="100%"
border="0">
<tr>
<td><asp:labe l id="lblError" runat="server" font-bold="True"
forecolor="Red" ></asp:label></td>
</tr>
</table>
<table class="TableBor der" id="Table4" cellSpacing="0"
cellPadding="3" width="100%" border="0">
<tr>
<td class="THList" style="WIDTH: 140px"
colSpan="4"><as p:label id="lblReportDe tails" runat="server" cssclass="H1"
width="316px">R eport Details</asp:label></td>
</tr>
<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblName"
runat="server" width="109px">R eport Name:</asp:label></td>
<td style="WIDTH: 149px"><asp:tex tbox id="txtName"
runat="server" width="108px" maxlength="6"></asp:textbox></td>
<td style="WIDTH: 153px"><asp:lab el id="lblVersion "
runat="server" width="109px">R eport Version:</asp:label></td>
<td><asp:textbo x id="txtVersion " runat="server"
width="108px" maxlength="2"></asp:textbox></td>
</tr>
<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblFullName "
runat="server" width="109px">F ull Name:</asp:label></td>
<td style="WIDTH: 192px" colSpan="3"><as p:textbox
id="txtFullName " runat="server" width="544px"
maxlength="32"> </asp:textbox></td>
</tr>
<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblTemplate Name"
runat="server" width="109px">T emplate Name:</asp:label></td>
<td style="WIDTH: 149px"><asp:tex tbox id="txtTemplate Name"
runat="server" width="107px" maxlength="8"></asp:textbox></td>
<td style="WIDTH: 153px"></td>
<td></td>
</tr>
<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblOrientat ion"
runat="server" width="109px">O rientation:</asp:label></td>
<td style="WIDTH: 149px"><asp:tex tbox id="txtOrientat ion"
runat="server" width="107px" maxlength="1"></asp:textbox></td>
<td style="WIDTH: 153px"><asp:lab el id="lblType"
runat="server" width="109px">T ype:</asp:label></td>
<td style="WIDTH: 121px"><asp:tex tbox id="txtType"
runat="server" width="107px" maxlength="1"></asp:textbox></td>
</tr>
<tr>
<td style="WIDTH: 140px"><asp:lab el id="lblRetainag e"
runat="server" width="109px">R etainage:</asp:label></td>
<td style="WIDTH: 149px"><asp:tex tbox id="txtRetainag e"
runat="server" width="107px" maxlength="5"></asp:textbox></td>
<td style="WIDTH: 153px"><asp:lab el id="lblEmailOpt ions"
runat="server" width="109px">E mail Options:</asp:label></td>
<td style="WIDTH: 121px"><asp:tex tbox id="txtEmailOpt ions"
runat="server" width="107px" maxlength="1"></asp:textbox></td>
</tr>
</table>
<br>
<table class="TableBor der" id="Table7" cellSpacing="0"
cellPadding="3" width="100%" border="0">
<tr>
<td class="THList" style="WIDTH: 140px" colSpan="4">Rep ort
Paramters</td>
</tr>
<tr>
<td style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px; PADDING-TOP: 0px"><asp:tabl e id="tblParamter s"
runat="server" cssclass="table BorderList" width="100%"></asp:table></td>
</tr>
</table>
<br>
<table id="Table8" cellSpacing="0" cellPadding="3" width="100%"
border="0">
<tr>
<td style="WIDTH: 66px"></td>
<td style="WIDTH: 79px"><asp:imag ebutton id="ibtnBack"
runat="server" imageurl="Image s\btn_Back.jpg" ></asp:imagebutton ></td>
<td style="WIDTH: 158px"></td>
<td style="WIDTH: 435px"></td>
<td style="WIDTH: 4px"><asp:image button id="ibtnCancel "
runat="server" imageurl="Image s\btn_cancel.jp g"></asp:imagebutton ></td>
<td><asp:imageb utton id="ibtnAdd" runat="server"
imageurl="Image s\btnAdd.gif"></asp:imagebutton ></td>
<td><asp:imageb utton id="ibtnEdit" runat="server"
imageurl="Image s\btn_Edit.jpg" ></asp:imagebutton ></td>
<td><asp:imageb utton id="ibtnDelete " runat="server"
imageurl="Image s\btnDelete.gif "></asp:imagebutton ></td>
<td><asp:imageb utton id="ibtnSave" runat="server"
imageurl="Image s\btnSave.gif"
causesvalidatio n="False"></asp:imagebutton ></td>
</tr>
</table>
<table id="Table9" cellSpacing="0" cellPadding="3" width="100%">
<tr>
<td style="HEIGHT: 10px" align="right">< asp:label
id="lblReloadIn fo" runat="server" visible="False" ></asp:label><asp: label
id="lblBackLink " runat="server" visible="False" ></asp:label></td>
</tr>
</table>
<table id="BottomTable " cellSpacing="0" cellPadding="3"
width="100%" border="0">
<tr>
<td style="HEIGHT: 11px"><asp:labe l id="lblDebugMsg "
runat="server" forecolor="#804 040"></asp:label><asp: label id="lblFilter"
runat="server" visible="False" ></asp:label></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</HTML>

"Jax" <an*******@disc ussions.microso ft.com> wrote in message
news:C0******** *************** ***********@mic rosoft.com...
Can you post the .cs file as well?

Nov 16 '05 #3
YAY!!!! that worked thanks

"Jax" <an*******@disc ussions.microso ft.com> wrote in message
news:52******** *************** ***********@mic rosoft.com...
Do you initialize the text in the textbox to start with?

E.G: Say in the Form_Load event

txtFullName.Tex t = "";

because if you have you want to change it to this instead.

if(IsPostBack!= true)
{
txtFullName.Tex t = "";
}

Nov 16 '05 #4
Jax
Splendid, thats fixed then eh

Jax
Nov 16 '05 #5

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

Similar topics

0
1734
by: Giulio Santorini | last post by:
Hi, I've got two drop down list controls. When I select a value from the first one I fill the second one. And when I select a value from the second one I would like to fill another control. But after have choose from the first control and filled the second... when I select something from the second control I have not the post back event! I hope to be understandable! I've attached the code that make problems. It's commented in italian so...
5
1263
by: StillStuckOnJava | last post by:
I'm having a stupid problem with V.S./C#. I've created a class and two subclasses, and I want to instantiate either of hte subclasses after users make a selection. Then I want to use that class to modify its members as users make more selections. IT'S NOT WORKING DAMN IT! The following is my asp.net behind code for the web form, and then my class code. I'm getting an error when I try to access the class instance that I previously...
5
2151
by: ElanKathir | last post by:
Hi ! I wrote one code for Send the E-mail, But that code have some problem , So please help me Here i paste my code and Error: Error: Server Error in '/Elan_Sample' Application. --------------------------------------------------------------------------------
4
2093
by: Bass Pro | last post by:
Hi, I am creating textbox, radiobuttonlist and checkboxlist dynamically depending on data from a table. It is a questionnaire. I add the control on a Panel control during the 1st load_page event. Each question is displayed and answered, then result written to a SQL table. Then the next question is read from a table and displayed using the load_page event again. The questions display and function perfectly. The user anwers the question...
3
1563
by: Aaron | last post by:
Why do my session values return to nothing on post back? I want to click a button and have the row, as in: dataset.table(0).rows(THIS ROW NUMBER IS WHAT I AM TALKING ABOUT), either increment or decrement to facilitate a movenext and movelast. I have been pulling my hair out and am at the end of my rope. PLEASE, how should I implement this? I have tried everything I can think of, which really isn't much considering I am just beginning...
1
1518
by: GL | last post by:
I am trying to develop a prgram that randomly selects numbers for an addition program, then when the check answer button is pressed it colors the answer text field either green or red depending if the answer is correct. When I hit the button the array variables seem to reinitialize to zero. Any ideas why this would happen? I have posted the vb behind code for the web page. Public Class WebForm1 Inherits System.Web.UI.Page
2
4552
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was set to...it is set to false. Can someone show me what I am doing wrong and tell me the correct way? Thank you. In the page load event, I am doing the following:
0
2091
by: nate | last post by:
the error returned is this: Server Error in '/AnnAccRpt' Application. -------------------------------------------------------------------------------- Could not find control 'DropDownList1' in ControlParameter 'DropDownList1'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
2
2958
by: DC | last post by:
The Code <%@ import namespace="System" %> <%@ import namespace="System.Web" %> <%@ import namespace="System.Web.UI" %> <%@ import namespace="System.Web.UI.HtmlControls" %> <%@ import namespace="System.Web.UI.WebControls" %> <%@ import namespace="System.Data" %> <%@ import namespace="System.Data.OleDb" %>
0
8969
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
8788
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,...
0
9476
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
9335
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...
1
6751
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
6053
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
4570
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...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2745
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.