473,385 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Modal Forms Question in Web Application

Not really sure if this is a javascript problem or C# - sorry if in
wrong place.

Modal Forms Question in Web Application
I have two web forms: Form1 and Form2

Form1 calls Form2 using showModalDialog

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("Form2.aspx",null, WinSettings);
Form2 has a ListBox, a Label and a Button. The listbox is populated
from a sql call to the database. The "SelectedIndexChanged" event
changes the text appearing on the label to the value associated from
the ListBox. The Button closes the form and returns the text from the
label. Form2 works properly when ran by itself.

However, when I load it using showModalDialog from Form1, the first
time the "SelectedIndexChanged" event fires, a new window opens up of
class Form2 rather than just changing the text in the Label field.

Any help would be appreciated.

-------------Form2 Code Behind-----------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EnterpriseObjects;
using StoreObjects;
using System.Data.SqlClient;

using System.Configuration;

namespace ASPNET.StarterKit.Portal
{
public class Form2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblArticleView;
protected DataView dvp;
protected System.Web.UI.WebControls.ListBox ListBox1;
protected DataSet asas;

private void Page_Load(object sender, System.EventArgs e)
{
EnterpriseApplication.Application.ConnectionString =
ConfigurationSettings.AppSettings["ConnectionString"].ToString();
System.Data.SqlClient.SqlConnection connection = new
System.Data.SqlClient.SqlConnection(EnterpriseAppl ication.Application.Connec
tionString);
asas = new DataSet();
SqlDataAdapter ad;
ad = new SqlDataAdapter("Select * from Store_Articles", connection);
ad.Fill(asas, "Table");
dvp = new DataView(asas.Tables["Table"]);

if(!(Page.IsPostBack))
{
dvp.Sort = "SortOrder";
ListBox1.DataSource = dvp;
ListBox1.DataMember = "Table";
ListBox1.DataValueField = "ArticleID";
ListBox1.DataTextField = "Name";
ListBox1.DataBind();
}
}

override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}

private void InitializeComponent()
{
this.ListBox1.SelectedIndexChanged += new
System.EventHandler(this.ListBox1_SelectedIndexCha nged);
this.Load += new System.EventHandler(this.Page_Load);
}

private void ListBox1_SelectedIndexChanged(object sender,
System.EventArgs e)
{
dvp.RowFilter = "ArticleID = '" + ListBox1.SelectedValue.ToString() +
"'";
lblArticleView.Text = dvp[0].Row["Text"].ToString();
}
}
}
Nov 15 '05 #1
4 1802
Every time you do a postback in a modal dialog it opens a new windows. I am
not sure why that happens, but there is a way to get around it. Instead of
calling the pop-up page, you will need to create an 'interim' .asp or .htm
page set up as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Add New Ship To</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
</head>
<body MS_POSITIONING="FlowLayout">
<IFRAME width='100%' height='100%' NAME="Frame1" SRC="<popuppage.aspx">
</IFRAME>
</body>
</html>

By having the popuppage in an Iframe and using the this 'interim' page as
the direct call from the javascript ShowModalDialog as follows:

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("interimpage.html",null, WinSettings);

This will eliminate the opening of a new window when the popuppage
refreshes.

Let me know if you have any other questions!

Thanks!

Jim

"news" <me*******@yahoo.com> wrote in message
news:xT*****************@newsread3.news.atl.earthl ink.net...
Not really sure if this is a javascript problem or C# - sorry if in
wrong place.

Modal Forms Question in Web Application
I have two web forms: Form1 and Form2

Form1 calls Form2 using showModalDialog

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("Form2.aspx",null, WinSettings);
Form2 has a ListBox, a Label and a Button. The listbox is populated
from a sql call to the database. The "SelectedIndexChanged" event
changes the text appearing on the label to the value associated from
the ListBox. The Button closes the form and returns the text from the
label. Form2 works properly when ran by itself.

However, when I load it using showModalDialog from Form1, the first
time the "SelectedIndexChanged" event fires, a new window opens up of
class Form2 rather than just changing the text in the Label field.

Any help would be appreciated.

-------------Form2 Code Behind-----------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EnterpriseObjects;
using StoreObjects;
using System.Data.SqlClient;

using System.Configuration;

namespace ASPNET.StarterKit.Portal
{
public class Form2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblArticleView;
protected DataView dvp;
protected System.Web.UI.WebControls.ListBox ListBox1;
protected DataSet asas;

private void Page_Load(object sender, System.EventArgs e)
{
EnterpriseApplication.Application.ConnectionString =
ConfigurationSettings.AppSettings["ConnectionString"].ToString();
System.Data.SqlClient.SqlConnection connection = new
System.Data.SqlClient.SqlConnection(EnterpriseAppl ication.Application.Connec tionString);
asas = new DataSet();
SqlDataAdapter ad;
ad = new SqlDataAdapter("Select * from Store_Articles", connection);
ad.Fill(asas, "Table");
dvp = new DataView(asas.Tables["Table"]);

if(!(Page.IsPostBack))
{
dvp.Sort = "SortOrder";
ListBox1.DataSource = dvp;
ListBox1.DataMember = "Table";
ListBox1.DataValueField = "ArticleID";
ListBox1.DataTextField = "Name";
ListBox1.DataBind();
}
}

override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}

private void InitializeComponent()
{
this.ListBox1.SelectedIndexChanged += new
System.EventHandler(this.ListBox1_SelectedIndexCha nged);
this.Load += new System.EventHandler(this.Page_Load);
}

private void ListBox1_SelectedIndexChanged(object sender,
System.EventArgs e)
{
dvp.RowFilter = "ArticleID = '" + ListBox1.SelectedValue.ToString() +
"'";
lblArticleView.Text = dvp[0].Row["Text"].ToString();
}
}
}

Nov 15 '05 #2
Hi

Or try using
<base target="_self">

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"James Radke" <jr*****@wi.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Every time you do a postback in a modal dialog it opens a new windows. I am not sure why that happens, but there is a way to get around it. Instead of calling the pop-up page, you will need to create an 'interim' .asp or .htm
page set up as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Add New Ship To</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
</head>
<body MS_POSITIONING="FlowLayout">
<IFRAME width='100%' height='100%' NAME="Frame1" SRC="<popuppage.aspx">
</IFRAME>
</body>
</html>

By having the popuppage in an Iframe and using the this 'interim' page as
the direct call from the javascript ShowModalDialog as follows:

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("interimpage.html",null, WinSettings);

This will eliminate the opening of a new window when the popuppage
refreshes.

Let me know if you have any other questions!

Thanks!

Jim

"news" <me*******@yahoo.com> wrote in message
news:xT*****************@newsread3.news.atl.earthl ink.net...
Not really sure if this is a javascript problem or C# - sorry if in
wrong place.

Modal Forms Question in Web Application
I have two web forms: Form1 and Form2

Form1 calls Form2 using showModalDialog

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("Form2.aspx",null, WinSettings);
Form2 has a ListBox, a Label and a Button. The listbox is populated
from a sql call to the database. The "SelectedIndexChanged" event
changes the text appearing on the label to the value associated from
the ListBox. The Button closes the form and returns the text from the
label. Form2 works properly when ran by itself.

However, when I load it using showModalDialog from Form1, the first
time the "SelectedIndexChanged" event fires, a new window opens up of
class Form2 rather than just changing the text in the Label field.

Any help would be appreciated.

-------------Form2 Code Behind-----------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EnterpriseObjects;
using StoreObjects;
using System.Data.SqlClient;

using System.Configuration;

namespace ASPNET.StarterKit.Portal
{
public class Form2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblArticleView;
protected DataView dvp;
protected System.Web.UI.WebControls.ListBox ListBox1;
protected DataSet asas;

private void Page_Load(object sender, System.EventArgs e)
{
EnterpriseApplication.Application.ConnectionString =
ConfigurationSettings.AppSettings["ConnectionString"].ToString();
System.Data.SqlClient.SqlConnection connection = new

System.Data.SqlClient.SqlConnection(EnterpriseAppl ication.Application.Connec
tionString);
asas = new DataSet();
SqlDataAdapter ad;
ad = new SqlDataAdapter("Select * from Store_Articles", connection);
ad.Fill(asas, "Table");
dvp = new DataView(asas.Tables["Table"]);

if(!(Page.IsPostBack))
{
dvp.Sort = "SortOrder";
ListBox1.DataSource = dvp;
ListBox1.DataMember = "Table";
ListBox1.DataValueField = "ArticleID";
ListBox1.DataTextField = "Name";
ListBox1.DataBind();
}
}

override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}

private void InitializeComponent()
{
this.ListBox1.SelectedIndexChanged += new
System.EventHandler(this.ListBox1_SelectedIndexCha nged);
this.Load += new System.EventHandler(this.Page_Load);
}

private void ListBox1_SelectedIndexChanged(object sender,
System.EventArgs e)
{
dvp.RowFilter = "ArticleID = '" + ListBox1.SelectedValue.ToString() +
"'";
lblArticleView.Text = dvp[0].Row["Text"].ToString();
}
}
}


Nov 15 '05 #3
Where would you use that? In the popup page itself? Then you wouldn't need
the separate .htm or .asp page?

Jim

"Vidar Petursson" <th**************************@icysoft.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi

Or try using
<base target="_self">

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"James Radke" <jr*****@wi.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Every time you do a postback in a modal dialog it opens a new windows. I
am
not sure why that happens, but there is a way to get around it. Instead

of
calling the pop-up page, you will need to create an 'interim' .asp or ..htm page set up as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Add New Ship To</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
</head>
<body MS_POSITIONING="FlowLayout">
<IFRAME width='100%' height='100%' NAME="Frame1" SRC="<popuppage.aspx">
</IFRAME>
</body>
</html>

By having the popuppage in an Iframe and using the this 'interim' page as the direct call from the javascript ShowModalDialog as follows:

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("interimpage.html",null, WinSettings);
This will eliminate the opening of a new window when the popuppage
refreshes.

Let me know if you have any other questions!

Thanks!

Jim

"news" <me*******@yahoo.com> wrote in message
news:xT*****************@newsread3.news.atl.earthl ink.net...
Not really sure if this is a javascript problem or C# - sorry if in
wrong place.

Modal Forms Question in Web Application
I have two web forms: Form1 and Form2

Form1 calls Form2 using showModalDialog

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("Form2.aspx",null, WinSettings);
Form2 has a ListBox, a Label and a Button. The listbox is populated
from a sql call to the database. The "SelectedIndexChanged" event
changes the text appearing on the label to the value associated from
the ListBox. The Button closes the form and returns the text from the
label. Form2 works properly when ran by itself.

However, when I load it using showModalDialog from Form1, the first
time the "SelectedIndexChanged" event fires, a new window opens up of
class Form2 rather than just changing the text in the Label field.

Any help would be appreciated.

-------------Form2 Code Behind-----------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EnterpriseObjects;
using StoreObjects;
using System.Data.SqlClient;

using System.Configuration;

namespace ASPNET.StarterKit.Portal
{
public class Form2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblArticleView;
protected DataView dvp;
protected System.Web.UI.WebControls.ListBox ListBox1;
protected DataSet asas;

private void Page_Load(object sender, System.EventArgs e)
{
EnterpriseApplication.Application.ConnectionString =
ConfigurationSettings.AppSettings["ConnectionString"].ToString();
System.Data.SqlClient.SqlConnection connection = new

System.Data.SqlClient.SqlConnection(EnterpriseAppl ication.Application.Connec
tionString);
asas = new DataSet();
SqlDataAdapter ad;
ad = new SqlDataAdapter("Select * from Store_Articles", connection);
ad.Fill(asas, "Table");
dvp = new DataView(asas.Tables["Table"]);

if(!(Page.IsPostBack))
{
dvp.Sort = "SortOrder";
ListBox1.DataSource = dvp;
ListBox1.DataMember = "Table";
ListBox1.DataValueField = "ArticleID";
ListBox1.DataTextField = "Name";
ListBox1.DataBind();
}
}

override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}

private void InitializeComponent()
{
this.ListBox1.SelectedIndexChanged += new
System.EventHandler(this.ListBox1_SelectedIndexCha nged);
this.Load += new System.EventHandler(this.Page_Load);
}

private void ListBox1_SelectedIndexChanged(object sender,
System.EventArgs e)
{
dvp.RowFilter = "ArticleID = '" + ListBox1.SelectedValue.ToString() +
"'";
lblArticleView.Text = dvp[0].Row["Text"].ToString();
}
}
}



Nov 15 '05 #4
Hi

In the document head
http://msdn.microsoft.com/library/de...jects/base.asp
--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"James Radke" <jr*****@wi.rr.com> wrote in message
news:OP**************@TK2MSFTNGP11.phx.gbl...
Where would you use that? In the popup page itself? Then you wouldn't need the separate .htm or .asp page?

Jim

"Vidar Petursson" <th**************************@icysoft.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi

Or try using
<base target="_self">

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"James Radke" <jr*****@wi.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Every time you do a postback in a modal dialog it opens a new windows. I
am
not sure why that happens, but there is a way to get around it. Instead
of
calling the pop-up page, you will need to create an 'interim' .asp or

.htm page set up as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Add New Ship To</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
</head>
<body MS_POSITIONING="FlowLayout">
<IFRAME width='100%' height='100%' NAME="Frame1"
SRC="<popuppage.aspx"> </IFRAME>
</body>
</html>

By having the popuppage in an Iframe and using the this 'interim' page

as the direct call from the javascript ShowModalDialog as follows:

var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
var result = window.showModalDialog("interimpage.html",null, WinSettings);
This will eliminate the opening of a new window when the popuppage
refreshes.

Let me know if you have any other questions!

Thanks!

Jim

"news" <me*******@yahoo.com> wrote in message
news:xT*****************@newsread3.news.atl.earthl ink.net...
> Not really sure if this is a javascript problem or C# - sorry if in
> wrong place.
>
> Modal Forms Question in Web Application
> I have two web forms: Form1 and Form2
>
> Form1 calls Form2 using showModalDialog
>
> var WinSettings = "resizable:no;dialogHeight:600px;dialogWidth:6 00"
> var result = window.showModalDialog("Form2.aspx",null, WinSettings);
>
>
> Form2 has a ListBox, a Label and a Button. The listbox is populated
> from a sql call to the database. The "SelectedIndexChanged" event
> changes the text appearing on the label to the value associated from
> the ListBox. The Button closes the form and returns the text from the > label. Form2 works properly when ran by itself.
>
> However, when I load it using showModalDialog from Form1, the first
> time the "SelectedIndexChanged" event fires, a new window opens up of > class Form2 rather than just changing the text in the Label field.
>
> Any help would be appreciated.
>
> -------------Form2 Code Behind-----------
> using System;
> using System.Collections;
> using System.ComponentModel;
> using System.Data;
> using System.Drawing;
> using System.Web;
> using System.Web.SessionState;
> using System.Web.UI;
> using System.Web.UI.WebControls;
> using System.Web.UI.HtmlControls;
> using EnterpriseObjects;
> using StoreObjects;
> using System.Data.SqlClient;
>
> using System.Configuration;
>
> namespace ASPNET.StarterKit.Portal
> {
> public class Form2 : System.Web.UI.Page
> {
> protected System.Web.UI.WebControls.Label lblArticleView;
> protected DataView dvp;
> protected System.Web.UI.WebControls.ListBox ListBox1;
> protected DataSet asas;
>
> private void Page_Load(object sender, System.EventArgs e)
> {
> EnterpriseApplication.Application.ConnectionString =
> ConfigurationSettings.AppSettings["ConnectionString"].ToString();
> System.Data.SqlClient.SqlConnection connection = new
>

System.Data.SqlClient.SqlConnection(EnterpriseAppl ication.Application.Connec
> tionString);
> asas = new DataSet();
> SqlDataAdapter ad;
> ad = new SqlDataAdapter("Select * from Store_Articles", connection);
> ad.Fill(asas, "Table");
> dvp = new DataView(asas.Tables["Table"]);
>
> if(!(Page.IsPostBack))
> {
> dvp.Sort = "SortOrder";
> ListBox1.DataSource = dvp;
> ListBox1.DataMember = "Table";
> ListBox1.DataValueField = "ArticleID";
> ListBox1.DataTextField = "Name";
> ListBox1.DataBind();
> }
> }
>
> override protected void OnInit(EventArgs e)
> {
> InitializeComponent();
> base.OnInit(e);
> }
>
> private void InitializeComponent()
> {
> this.ListBox1.SelectedIndexChanged += new
> System.EventHandler(this.ListBox1_SelectedIndexCha nged);
> this.Load += new System.EventHandler(this.Page_Load);
> }
>
> private void ListBox1_SelectedIndexChanged(object sender,
> System.EventArgs e)
> {
> dvp.RowFilter = "ArticleID = '" + ListBox1.SelectedValue.ToString() + > "'";
> lblArticleView.Text = dvp[0].Row["Text"].ToString();
> }
> }
> }
>
>



Nov 15 '05 #5

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

Similar topics

3
by: Chris | last post by:
Modal forms are great for locking the user out of non focused forms allowing tight control over program flow, but they have one side effect which user find very irritating i.e. Access cannot be...
2
by: D Cameron | last post by:
I'd like to be able to make a full screen form in one of my apps inescapable: disable the Start button, Alt-Tab etc. until my application closes the form. I seem to remember VB3.0 distinguishing...
0
by: Hector | last post by:
I have a ComboBox set up in a non-modal form. When a selection is made from the ComboBox, the handler code closes the form, but then the system crashes because of an unhandled NullReferenceException....
0
by: Alireza Haghshenass | last post by:
Dear All, I am facing a problem which I could not solve. I am writing an application which uses a notify icon and a context menu bound to it to show modal dialog forms. When these forms is shown...
3
by: Andrew | last post by:
I get a Null Reference Exception if I close a non-modal dialog (that is, a form opened with Show()) when a selection is made from a ComboBox. The error message refers to Unsafe Native Methods, but...
2
by: cassidyc | last post by:
Hi, I was wondering if anyone has come accross this issue? And if they have any solutions I have that can create new copies of itself Form1 as = new form1(); af.show(); This form can also...
8
by: Stephen Rice | last post by:
Hi, I have a periodic problem which I am having a real time trying to sort. Background: An MDI VB app with a DB on SQL 2000. I have wrapped all the DB access into an object which spawns a...
2
by: =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post by:
Hi, I am wondering why the .NET Framework is quite different from Win32 API when it comes to displaying system modal message boxes. Consider the four following types of system modal message...
4
by: =?Utf-8?B?Z2luYWNyZXNzZQ==?= | last post by:
I am trying to close/dispose multiple instances of a form but because they are modal and hidden, they do not show up in My.Application.OpenForms. They must be modal, so making them modeless is not...
1
by: Mohit | last post by:
Hi all, I am working on a windows based client server application with multiple forms. All forms are having custom title bars with no default bars. There is one main form. Some forms are opened up...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...

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.