473,591 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fill() problem in VS .NET 2003 in Windows application C# with SQL Server

I starting to use Visual Studio .NET 2003 creating C# Windows application
with SQL Server and I get problem with method Fill() for which when
running ends with System Error even with the most simple cases which I
copied from a tutorial. everything else works right for ex Preview Data
except for example sqlDataAdapter1 .Fill(ds1).

Is it a bug or some other kind of error. What should I do?

Dalius

Fill() problem in VS .NET 2003 in Windows application C# with SQL Server
Nov 15 '05 #1
7 1523
Auto wrote:
Fill() problem in VS .NET 2003 in Windows application C# with SQL Server


Most likely the error is in your code, which you did not show.

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
Nov 15 '05 #2
Might you look in the code
using System;

using System.Drawing;

using System.Collecti ons;

using System.Componen tModel;

using System.Windows. Forms;

using System.Data;

namespace Autocentras2

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows. Forms.Form

{

private System.Data.Sql Client.SqlConne ction sqlConnection1;

private System.Data.Sql Client.SqlComma nd sqlSelectComman d1;

private System.Data.Sql Client.SqlComma nd sqlInsertComman d1;

private System.Data.Sql Client.SqlComma nd sqlUpdateComman d1;

private System.Data.Sql Client.SqlComma nd sqlDeleteComman d1;

private System.Data.Sql Client.SqlDataA dapter aGamintojas;

private Autocentras2.ds _gam ds_gam1;

private System.Windows. Forms.Button button1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.Componen tModel.Containe r components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeCompo nent();

//

// TODO: Add any constructor code after InitializeCompo nent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Disp ose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeCompo nent()

{

this.sqlConnect ion1 = new System.Data.Sql Client.SqlConne ction();

this.sqlSelectC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlInsertC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlUpdateC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlDeleteC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.aGamintoja s = new System.Data.Sql Client.SqlDataA dapter();

this.ds_gam1 = new Autocentras2.ds _gam();

this.button1 = new System.Windows. Forms.Button();

((System.Compon entModel.ISuppo rtInitialize)(t his.ds_gam1)).B eginInit();

this.SuspendLay out();

//

// sqlConnection1

//

this.sqlConnect ion1.Connection String = "workstatio n id=DALIUSXP;pac ket
size=4096;user id=sa;data source=\"DALIUS XP\\DALIUSS" +

"QLSERVER\";per sist security info=False;init ial catalog=Autocen trasDB";

//

// sqlSelectComman d1

//

this.sqlSelectC ommand1.Command Text = "SELECT Gamintojas_ID, Gamintojas FROM
TblGamintojas";

this.sqlSelectC ommand1.Connect ion = this.sqlConnect ion1;

//

// sqlInsertComman d1

//

this.sqlInsertC ommand1.Command Text = "INSERT INTO TblGamintojas(G amintojas)
VALUES (@Gamintojas); SELECT Gamintojas_ID," +

" Gamintojas FROM TblGamintojas WHERE (Gamintojas_ID = @@IDENTITY)";

this.sqlInsertC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlInsertC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as",
System.Data.Sql DbType.VarChar, 50, "Gamintojas "));

//

// sqlUpdateComman d1

//

this.sqlUpdateC ommand1.Command Text = @"UPDATE TblGamintojas SET Gamintojas =
@Gamintojas WHERE (Gamintojas_ID = @Original_Gamin tojas_ID) AND (Gamintojas
= @Original_Gamin tojas OR @Original_Gamin tojas IS NULL AND Gamintojas IS
NULL); SELECT Gamintojas_ID, Gamintojas FROM TblGamintojas WHERE
(Gamintojas_ID = @Gamintojas_ID) ";

this.sqlUpdateC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as",
System.Data.Sql DbType.VarChar, 50, "Gamintojas "));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas_ID" ,
System.Data.Sql DbType.Int, 4, System.Data.Par ameterDirection .Input, false,
((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas_ID" ,
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas",
System.Data.Sql DbType.VarChar, 50, System.Data.Par ameterDirection .Input,
false, ((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas ",
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as_ID",
System.Data.Sql DbType.Int, 4, "Gamintojas_ID" ));

//

// sqlDeleteComman d1

//

this.sqlDeleteC ommand1.Command Text = "DELETE FROM TblGamintojas WHERE
(Gamintojas_ID = @Original_Gamin tojas_ID) AND (Ga" +

"mintojas = @Original_Gamin tojas OR @Original_Gamin tojas IS NULL AND
Gamintojas I" +

"S NULL)";

this.sqlDeleteC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlDeleteC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas_ID" ,
System.Data.Sql DbType.Int, 4, System.Data.Par ameterDirection .Input, false,
((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas_ID" ,
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlDeleteC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas",
System.Data.Sql DbType.VarChar, 50, System.Data.Par ameterDirection .Input,
false, ((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas ",
System.Data.Dat aRowVersion.Ori ginal, null));

//

// aGamintojas

//

this.aGamintoja s.DeleteCommand = this.sqlDeleteC ommand1;

this.aGamintoja s.InsertCommand = this.sqlInsertC ommand1;

this.aGamintoja s.SelectCommand = this.sqlSelectC ommand1;

this.aGamintoja s.TableMappings .AddRange(new
System.Data.Com mon.DataTableMa pping[] {

new System.Data.Com mon.DataTableMa pping("Table", "TblGamintojas" , new
System.Data.Com mon.DataColumnM apping[] {

new System.Data.Com mon.DataColumnM apping("Gaminto jas_ID", "Gamintojas_ID" ),

new System.Data.Com mon.DataColumnM apping("Gaminto jas", "Gamintojas")}) });

this.aGamintoja s.UpdateCommand = this.sqlUpdateC ommand1;

//

// ds_gam1

//

this.ds_gam1.Da taSetName = "ds_gam";

this.ds_gam1.Lo cale = new System.Globaliz ation.CultureIn fo("lt-LT");

//

// button1

//

this.button1.Lo cation = new System.Drawing. Point(112, 120);

this.button1.Na me = "button1";

this.button1.Si ze = new System.Drawing. Size(144, 23);

this.button1.Ta bIndex = 0;

this.button1.Te xt = "PildytiDataset ";

this.button1.Cl ick += new System.EventHan dler(this.butto n1_Click);

//

// Form1

//

this.AutoScaleB aseSize = new System.Drawing. Size(5, 13);

this.ClientSize = new System.Drawing. Size(464, 334);

this.Controls.A dd(this.button1 );

this.Name = "Form1";

this.Text = "Form1";

((System.Compon entModel.ISuppo rtInitialize)(t his.ds_gam1)).E ndInit();

this.ResumeLayo ut(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[STAThread]

static void Main()

{

Application.Run (new Form1());

}

private void button1_Click(o bject sender, System.EventArg s e)

{

//THIS DOES NOT WORK !!!!!!! WHY?

aGamintojas.Fil l(ds_gam1);

}

}

}

"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:#Q******** ******@TK2MSFTN GP09.phx.gbl...
Auto wrote:
Fill() problem in VS .NET 2003 in Windows application C# with SQL Server


Most likely the error is in your code, which you did not show.

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)

Nov 15 '05 #3
using System;

using System.Drawing;

using System.Collecti ons;

using System.Componen tModel;

using System.Windows. Forms;

using System.Data;

namespace Autocentras2

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows. Forms.Form

{

private System.Data.Sql Client.SqlConne ction sqlConnection1;

private System.Data.Sql Client.SqlComma nd sqlSelectComman d1;

private System.Data.Sql Client.SqlComma nd sqlInsertComman d1;

private System.Data.Sql Client.SqlComma nd sqlUpdateComman d1;

private System.Data.Sql Client.SqlComma nd sqlDeleteComman d1;

private System.Data.Sql Client.SqlDataA dapter aGamintojas;

private Autocentras2.ds _gam ds_gam1;

private System.Windows. Forms.Button button1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.Componen tModel.Containe r components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeCompo nent();

//

// TODO: Add any constructor code after InitializeCompo nent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Disp ose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeCompo nent()

{

this.sqlConnect ion1 = new System.Data.Sql Client.SqlConne ction();

this.sqlSelectC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlInsertC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlUpdateC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.sqlDeleteC ommand1 = new System.Data.Sql Client.SqlComma nd();

this.aGamintoja s = new System.Data.Sql Client.SqlDataA dapter();

this.ds_gam1 = new Autocentras2.ds _gam();

this.button1 = new System.Windows. Forms.Button();

((System.Compon entModel.ISuppo rtInitialize)(t his.ds_gam1)).B eginInit();

this.SuspendLay out();

//

// sqlConnection1

//

this.sqlConnect ion1.Connection String = "workstatio n id=DALIUSXP;pac ket
size=4096;user id=sa;data source=\"DALIUS XP\\DALIUSS" +

"QLSERVER\";per sist security info=False;init ial catalog=Autocen trasDB";

//

// sqlSelectComman d1

//

this.sqlSelectC ommand1.Command Text = "SELECT Gamintojas_ID, Gamintojas FROM
TblGamintojas";

this.sqlSelectC ommand1.Connect ion = this.sqlConnect ion1;

//

// sqlInsertComman d1

//

this.sqlInsertC ommand1.Command Text = "INSERT INTO TblGamintojas(G amintojas)
VALUES (@Gamintojas); SELECT Gamintojas_ID," +

" Gamintojas FROM TblGamintojas WHERE (Gamintojas_ID = @@IDENTITY)";

this.sqlInsertC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlInsertC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as",
System.Data.Sql DbType.VarChar, 50, "Gamintojas "));

//

// sqlUpdateComman d1

//

this.sqlUpdateC ommand1.Command Text = @"UPDATE TblGamintojas SET Gamintojas =
@Gamintojas WHERE (Gamintojas_ID = @Original_Gamin tojas_ID) AND (Gamintojas
= @Original_Gamin tojas OR @Original_Gamin tojas IS NULL AND Gamintojas IS
NULL); SELECT Gamintojas_ID, Gamintojas FROM TblGamintojas WHERE
(Gamintojas_ID = @Gamintojas_ID) ";

this.sqlUpdateC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as",
System.Data.Sql DbType.VarChar, 50, "Gamintojas "));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas_ID" ,
System.Data.Sql DbType.Int, 4, System.Data.Par ameterDirection .Input, false,
((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas_ID" ,
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas",
System.Data.Sql DbType.VarChar, 50, System.Data.Par ameterDirection .Input,
false, ((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas ",
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlUpdateC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Gamintoj as_ID",
System.Data.Sql DbType.Int, 4, "Gamintojas_ID" ));

//

// sqlDeleteComman d1

//

this.sqlDeleteC ommand1.Command Text = "DELETE FROM TblGamintojas WHERE
(Gamintojas_ID = @Original_Gamin tojas_ID) AND (Ga" +

"mintojas = @Original_Gamin tojas OR @Original_Gamin tojas IS NULL AND
Gamintojas I" +

"S NULL)";

this.sqlDeleteC ommand1.Connect ion = this.sqlConnect ion1;

this.sqlDeleteC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas_ID" ,
System.Data.Sql DbType.Int, 4, System.Data.Par ameterDirection .Input, false,
((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas_ID" ,
System.Data.Dat aRowVersion.Ori ginal, null));

this.sqlDeleteC ommand1.Paramet ers.Add(new
System.Data.Sql Client.SqlParam eter("@Original _Gamintojas",
System.Data.Sql DbType.VarChar, 50, System.Data.Par ameterDirection .Input,
false, ((System.Byte)( 0)), ((System.Byte)( 0)), "Gamintojas ",
System.Data.Dat aRowVersion.Ori ginal, null));

//

// aGamintojas

//

this.aGamintoja s.DeleteCommand = this.sqlDeleteC ommand1;

this.aGamintoja s.InsertCommand = this.sqlInsertC ommand1;

this.aGamintoja s.SelectCommand = this.sqlSelectC ommand1;

this.aGamintoja s.TableMappings .AddRange(new
System.Data.Com mon.DataTableMa pping[] {

new System.Data.Com mon.DataTableMa pping("Table", "TblGamintojas" , new
System.Data.Com mon.DataColumnM apping[] {

new System.Data.Com mon.DataColumnM apping("Gaminto jas_ID", "Gamintojas_ID" ),

new System.Data.Com mon.DataColumnM apping("Gaminto jas", "Gamintojas")}) });

this.aGamintoja s.UpdateCommand = this.sqlUpdateC ommand1;

//

// ds_gam1

//

this.ds_gam1.Da taSetName = "ds_gam";

this.ds_gam1.Lo cale = new System.Globaliz ation.CultureIn fo("lt-LT");

//

// button1

//

this.button1.Lo cation = new System.Drawing. Point(112, 120);

this.button1.Na me = "button1";

this.button1.Si ze = new System.Drawing. Size(144, 23);

this.button1.Ta bIndex = 0;

this.button1.Te xt = "PildytiDataset ";

this.button1.Cl ick += new System.EventHan dler(this.butto n1_Click);

//

// Form1

//

this.AutoScaleB aseSize = new System.Drawing. Size(5, 13);

this.ClientSize = new System.Drawing. Size(464, 334);

this.Controls.A dd(this.button1 );

this.Name = "Form1";

this.Text = "Form1";

((System.Compon entModel.ISuppo rtInitialize)(t his.ds_gam1)).E ndInit();

this.ResumeLayo ut(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[STAThread]

static void Main()

{

Application.Run (new Form1());

}

private void button1_Click(o bject sender, System.EventArg s e)

{

//THIS DOES NOT WORK !!!!!!! WHY?

aGamintojas.Fil l(ds_gam1);

}

}

}

"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:#Q******** ******@TK2MSFTN GP09.phx.gbl...
Auto wrote:
Fill() problem in VS .NET 2003 in Windows application C# with SQL Server


Most likely the error is in your code, which you did not show.

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)

Nov 15 '05 #4
Auto wrote:
Might you look in the code


And what is the full text of the error message you recieve?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
Nov 15 '05 #5
'System error' during execution

"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uB******** ******@TK2MSFTN GP10.phx.gbl...
Auto wrote:
Might you look in the code


And what is the full text of the error message you recieve?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)

Nov 15 '05 #6
An unhandled exception of type 'System.Data.Sq lClient.SqlExce ption' occurred
in system.data.dll

Additional information: System error.
"Auto" <da****@autocen tras.com> wrote in message
news:#M******** ******@tk2msftn gp13.phx.gbl...
'System error' during execution

"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uB******** ******@TK2MSFTN GP10.phx.gbl...
Auto wrote:
Might you look in the code


And what is the full text of the error message you recieve?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)


Nov 15 '05 #7
Wrap your Fill() line with

try
{
adapter.Fill(.. .);
}
catch(ex as System.Data.Sql Client.SqlExcep tion)
{
System.Diagnost ics.Debug.Write Line(ex.Message );
}

And watch wat is output to your "output" window in VS.NET. This will give
you more information about your error (which may be on your SQL Server, or
in your select statement). It may be something as simple as a DB
permissions issue or misspelled table name.


"Auto" <da****@autocen tras.com> wrote in message
news:O0******** *****@TK2MSFTNG P12.phx.gbl...
An unhandled exception of type 'System.Data.Sq lClient.SqlExce ption' occurred in system.data.dll

Additional information: System error.
"Auto" <da****@autocen tras.com> wrote in message
news:#M******** ******@tk2msftn gp13.phx.gbl...
'System error' during execution

"Frank Oquendo" <fr****@acadxpi n.com> wrote in message
news:uB******** ******@TK2MSFTN GP10.phx.gbl...
Auto wrote:

> Might you look in the code

And what is the full text of the error message you recieve?

--
There are 10 kinds of people. Those who understand binary and those who don't.

http://code.acadx.com
(Pull the pin to reply)



Nov 15 '05 #8

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

Similar topics

11
3745
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
1
2386
by: Marino | last post by:
Hi all, I have a Windows 2003 server, which is also a terminal server for application, with sql 2000 installed. My company has developed an application that uses SQL 2000 as its database. The application is a client/server one. In each client computer there's a link to the application on the server. There is no problem with Windows 98, Windows 2000 pro, Windows xp pro clients, but the windows 95 ones cannot log in to the database. The...
6
1388
by: Auto | last post by:
I starting to use Visual Studio .NET 2003 creating C# Windows application with SQL Server and I get problem with method Fill() for which when running ends with System Error even with the most simple cases which I copied from a tutorial. everything else works right for ex Preview Data except for example sqlDataAdapter1.Fill(ds1). Is it a bug or some other kind of error. What should I do? Dalius
4
4036
by: Matthew Louden | last post by:
My ASP.NET application is working fine when I run under IIS Personal Web Server in Windows 2000 machine. However, after I upload all the files to the Windows Server 2003 machine, and tried to run the application, it has 404 error on all .aspx files. Even I re-compile and build the whole project in Windows Server 2003, it couldn't help. any ideas??
0
1149
by: AndyAFCW | last post by:
I am developing my first .NET application that connects to a SQL Server 2000 database and I am having a total nightmare :x :evil: I am running Windows 2000 with Visual Studio .NET version 7.0.9466, .NET Framework 1.0.3705 and SQL Server 2000. I have created a simple table in an SQL database. SQL server includes ASPNET as a valid login which has unlimited access to all databases, including the database I have created. The ASPNET...
5
2683
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the Administration group (on server side) to have the necessary authorization to start a Windows Service (I don't understand why "Power User" rights are not enough to do the same thing) Although I'm able to start a service using windows 2000 server...
2
6067
by: Stanav | last post by:
Hello all, I'm developing a web application using VB.Net 2003 and Framework 1.1. This application queries an AS/400 database. I'm using the IBM OleDb provider that came with IBM Client Access for Windows (V5R3). Everything works fine on my development PC, but when I move the application to a Windows Server 2003, it crashes when trying to fill a dataset. I've double-checked that the Win 2k3 server does have Client Access installed, that it...
3
4610
by: Stanav | last post by:
Hello all, I'm developing a web application using VB.Net 2003 and Framework 1.1. This application queries an AS/400 database. I'm using the IBM OleDb provider that came with IBM Client Access for Windows (V5R3). Everything works fine on my development PC, but when I move the application to a Windows Server 2003, it crashes when trying to fill a dataset. I've double-checked that the Win 2k3 server does have Client Access installed, that it...
3
2007
by: Vinod R.Shenoy | last post by:
Hi All, Came across a post wherin you had helped somebody with a similar problem and was wondering if you could help us out with it. Our problem is , We have a development SQL Server 2000 (running on Win2K SP4) machine that we want to run on a Windows 2003 server machine and access it via our internal LAN. We have opened the firewall to allow our applications
0
7934
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
7870
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
8236
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
8225
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...
0
5400
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
3850
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
3891
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2378
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
1465
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.