473,729 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GridView - ObjectDataSourc e NOT retrieving records

Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView control by
using the ObjectDataSourc e. This is our first OOP web application, and we
have no tables. Right now we are simply working with objects in memory.

So, it appears as though Microsoft requires that our datamapper classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers in a
location other than "App_Code", and actually retrieve records from a
datamapper class?

TIA, Randy
Jan 8 '07 #1
5 2650
Hi Phillip,
I rally appreciate your help. I like your sample "Dropdownli st within a
GridView", but I do have a few questions about your ObjectDataSourc e.

Here is the code I'm interested in:
<asp:ObjectData Source ID="odsProducts " runat="server"
SelectMethod="P roductByID"
TypeName="WEBSW APP_BLL.Demos"
DataObjectTypeN ame="WEBSWAPP_B LL.clsProduct">
<SelectParamete rs>
<asp:ControlPar ameter
ControlID="ddlP roducts" Name="productID " PropertyName="S electedValue"
Type="String" />
</SelectParameter s>
</asp:ObjectDataS ource>
1) I presume that "WEBSWAPP_B LL" is a DLL, right? Where is it located in
your folder structure?
2) I see that you are using "TypeName". I presume that "Demos" is the class
inside your "WEBSWAPP_B LL" DLL, right?
3) Did you have to add any specific entries into the web.config file to get
it to work?
4) I haven't seen your "default.aspx.c s" code, but do you have this
reference: "using WEBSWAPP_BLL;" (C#)?

Many thanks, Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:DA******** *************** ***********@mic rosoft.com...
Hello Randy,

You can compile your domain layer into a separate assembly and add a
reference to it in your project (all the demos on my website are build
using
this strategy) or you can also download the "Visual Studio 2005 Web
Application Projects" to build applications in the same way as you used to
VS2003 where you do not have to put your datamappers in the App_Code
folder
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
>Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView control by
using the ObjectDataSourc e. This is our first OOP web application, and
we
have no tables. Right now we are simply working with objects in memory.

So, it appears as though Microsoft requires that our datamapper classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers in a
location other than "App_Code", and actually retrieve records from a
datamapper class?

TIA, Randy

Jan 9 '07 #2
Hi,
Well, I've changed my ObjectDataSourc e to match your examples, but I am
still not getting any data. I wonder if you can post the code for
"default.aspx.c s" (within "Dropdownli st within a GridView". I'm
particularly interested in seeing how you go about doing the "databind",
which may be my problem.
Many, many thanks!!! Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:34******** *************** ***********@mic rosoft.com...
Hello Randy,

For the purpose of my website where the demos do not have real business
logic (it is just a presentation logic built on top of a dataset),
WEBSWAPP_BLL is just a domain layer with a dataset.

The DAL in that demos website is a VS generated dataset named Samples.xsd
(which is not listed on the website). Its structure (a typed dataset of a
collection of datatables) is not necessary to understanding the demos that
I
placed to demonstrate the ASP.NET server controls features. I load it
into
the application cache to allow the users to write to the dataset in cache
but
then I do not persist their entries on the data store.

The class named WEBSWAPP_BLL.De mos is the compiled into a separate
assembly
from another project (class library), which is not within the folders
structure of the web application. I only add the compiled assembly (dll
file) to the bin folder on the web application (by adding a reference to
the
class library project into my web application project).

So to answer to your questions:
1- A separate class library project compiled into a dll that is copied to
the bin folder of the website
2- Yes
3- No.
4- No.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
>Hi Phillip,
I rally appreciate your help. I like your sample "Dropdownli st within a
GridView", but I do have a few questions about your ObjectDataSourc e.

Here is the code I'm interested in:
<asp:ObjectData Source ID="odsProducts " runat="server"
SelectMethod=" ProductByID"
TypeName="WEBSW APP_BLL.Demos"
DataObjectType Name="WEBSWAPP_ BLL.clsProduct" >
<SelectParamete rs>
<asp:ControlPar ameter
ControlID="ddl Products" Name="productID " PropertyName="S electedValue"
Type="String" />
</SelectParameter s>
</asp:ObjectDataS ource>
1) I presume that "WEBSWAPP_B LL" is a DLL, right? Where is it located in
your folder structure?
2) I see that you are using "TypeName". I presume that "Demos" is the
class
inside your "WEBSWAPP_B LL" DLL, right?
3) Did you have to add any specific entries into the web.config file to
get
it to work?
4) I haven't seen your "default.aspx.c s" code, but do you have this
reference: "using WEBSWAPP_BLL;" (C#)?

Many thanks, Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:DA******* *************** ************@mi crosoft.com...
Hello Randy,

You can compile your domain layer into a separate assembly and add a
reference to it in your project (all the demos on my website are build
using
this strategy) or you can also download the "Visual Studio 2005 Web
Application Projects" to build applications in the same way as you used
to
VS2003 where you do not have to put your datamappers in the App_Code
folder
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView control
by
using the ObjectDataSourc e. This is our first OOP web application,
and
we
have no tables. Right now we are simply working with objects in
memory.

So, it appears as though Microsoft requires that our datamapper
classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers in a
location other than "App_Code", and actually retrieve records from a
datamapper class?

TIA, Randy



Jan 10 '07 #3
So,
Do I understand that you didn't need to do any sort of "databind"? I had
this code in my Page_Load event:
gvMaterialRates .DataSource = ObjectDataSourc e1;

gvMaterialRates .DataBind();

I've tried it several different ways:
1) As above
2) With the "DataSource " line commented out, and the other line active.
3) With the "DataBind" line commented out, and the other line active.
4) With both lines commented out.

I'll try the debug route and see what happens.

Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:17******** *************** ***********@mic rosoft.com...
Have you tried stepping in debug mode with break points within the BLL &
DAL
to see if the web interface is calling the methods of your object library?
It might be an issue of the structure of your namespaces. In my demos I
put
the fully qualified name of the class starting from the root namespace,
e.g.
WEBSWAPP_BLL.De mos is the fully qualified path.

In your case it might be something like MyCompany.Modul es.App1.classNa me.
Make sure you put the fully qualified path in the values for TypeName and
DataObjectTypeN ame properties of the ObjectDataSourc e. Then set break
points
within those methods to debug in VS.

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
>Hi,
Well, I've changed my ObjectDataSourc e to match your examples, but I am
still not getting any data. I wonder if you can post the code for
"default.aspx. cs" (within "Dropdownli st within a GridView". I'm
particularly interested in seeing how you go about doing the "databind",
which may be my problem.
Many, many thanks!!! Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:34******* *************** ************@mi crosoft.com...
Hello Randy,

For the purpose of my website where the demos do not have real business
logic (it is just a presentation logic built on top of a dataset),
WEBSWAPP_BLL is just a domain layer with a dataset.

The DAL in that demos website is a VS generated dataset named
Samples.xsd
(which is not listed on the website). Its structure (a typed dataset
of a
collection of datatables) is not necessary to understanding the demos
that
I
placed to demonstrate the ASP.NET server controls features. I load it
into
the application cache to allow the users to write to the dataset in
cache
but
then I do not persist their entries on the data store.

The class named WEBSWAPP_BLL.De mos is the compiled into a separate
assembly
from another project (class library), which is not within the folders
structure of the web application. I only add the compiled assembly
(dll
file) to the bin folder on the web application (by adding a reference
to
the
class library project into my web application project).

So to answer to your questions:
1- A separate class library project compiled into a dll that is copied
to
the bin folder of the website
2- Yes
3- No.
4- No.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi Phillip,
I rally appreciate your help. I like your sample "Dropdownli st within
a
GridView", but I do have a few questions about your ObjectDataSourc e.

Here is the code I'm interested in:
<asp:ObjectData Source ID="odsProducts " runat="server"
SelectMethod=" ProductByID"
TypeName="WEBSW APP_BLL.Demos"
DataObjectType Name="WEBSWAPP_ BLL.clsProduct" >
<SelectParamete rs>
<asp:ControlPar ameter
ControlID="ddl Products" Name="productID " PropertyName="S electedValue"
Type="String" />
</SelectParameter s>
</asp:ObjectDataS ource>
1) I presume that "WEBSWAPP_B LL" is a DLL, right? Where is it located
in
your folder structure?
2) I see that you are using "TypeName". I presume that "Demos" is the
class
inside your "WEBSWAPP_B LL" DLL, right?
3) Did you have to add any specific entries into the web.config file
to
get
it to work?
4) I haven't seen your "default.aspx.c s" code, but do you have this
reference: "using WEBSWAPP_BLL;" (C#)?

Many thanks, Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:DA******* *************** ************@mi crosoft.com...
Hello Randy,

You can compile your domain layer into a separate assembly and add a
reference to it in your project (all the demos on my website are
build
using
this strategy) or you can also download the "Visual Studio 2005 Web
Application Projects" to build applications in the same way as you
used
to
VS2003 where you do not have to put your datamappers in the App_Code
folder
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView
control
by
using the ObjectDataSourc e. This is our first OOP web application,
and
we
have no tables. Right now we are simply working with objects in
memory.

So, it appears as though Microsoft requires that our datamapper
classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers in
a
location other than "App_Code", and actually retrieve records from
a
datamapper class?

TIA, Randy




Jan 10 '07 #4
UPDATE:
I debugged the "FetchAllRa tes" and found that it was showing a count of ZERO
records, even though I have 3 rows in the object. It then dawned on me that
our consultant switched us over to ApplicationMana ger.cs. This piece of
code actually returns a count of 3, whereas my direct code retrieves ZERO.
lblRows.Text =
ApplicationMana ger.MaterialRat eDM.FetchAllRat es().Count.ToSt ring();
//returns 3 rows

Here's the code I was using for my ObjectDataSourc e:

<asp:ObjectData Source ID="ObjectDataS ource1" runat="server"

SelectMethod="F etchAllRates" TypeName="GWO.M aterialRateData Mapper"
EnablePaging="f alse">

</asp:ObjectDataS ource>

If I replace the "GWO.MaterialRa teDataMapper" with
"ApplicationMan ager.MaterialRa teDM", I get an error indicating that
"FetchAllRa tes" could not be found.
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:CC******** *************** ***********@mic rosoft.com...
That's correct. The ObjectDataSourc e encapsulates the logic for
retrieving
the data and the GridView uses the value of the DataSourceID property to
locate the ObjectDataSourc e control within the page's controls hierarchy
and
automatically binds the data.

You can still use the programmatic approach if you wish, in which case you
would not need to place an ObjectDataSourc e on the page.

You can read further about the GridView:
http://msdn2.microsoft.com/en-gb/lib....gridview.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
>So,
Do I understand that you didn't need to do any sort of "databind"? I had
this code in my Page_Load event:
gvMaterialRates .DataSource = ObjectDataSourc e1;

gvMaterialRates .DataBind();

I've tried it several different ways:
1) As above
2) With the "DataSource " line commented out, and the other line active.
3) With the "DataBind" line commented out, and the other line active.
4) With both lines commented out.

I'll try the debug route and see what happens.

Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:17******* *************** ************@mi crosoft.com...
Have you tried stepping in debug mode with break points within the BLL
&
DAL
to see if the web interface is calling the methods of your object
library?
It might be an issue of the structure of your namespaces. In my demos I
put
the fully qualified name of the class starting from the root namespace,
e.g.
WEBSWAPP_BLL.De mos is the fully qualified path.

In your case it might be something like
MyCompany.Modul es.App1.classNa me.
Make sure you put the fully qualified path in the values for TypeName
and
DataObjectTypeN ame properties of the ObjectDataSourc e. Then set break
points
within those methods to debug in VS.

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi,
Well, I've changed my ObjectDataSourc e to match your examples, but I
am
still not getting any data. I wonder if you can post the code for
"default.aspx. cs" (within "Dropdownli st within a GridView". I'm
particularly interested in seeing how you go about doing the
"databind",
which may be my problem.
Many, many thanks!!! Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:34******* *************** ************@mi crosoft.com...
Hello Randy,

For the purpose of my website where the demos do not have real
business
logic (it is just a presentation logic built on top of a dataset),
WEBSWAPP_BLL is just a domain layer with a dataset.

The DAL in that demos website is a VS generated dataset named
Samples.xsd
(which is not listed on the website). Its structure (a typed
dataset
of a
collection of datatables) is not necessary to understanding the
demos
that
I
placed to demonstrate the ASP.NET server controls features. I load
it
into
the application cache to allow the users to write to the dataset in
cache
but
then I do not persist their entries on the data store.

The class named WEBSWAPP_BLL.De mos is the compiled into a separate
assembly
from another project (class library), which is not within the
folders
structure of the web application. I only add the compiled assembly
(dll
file) to the bin folder on the web application (by adding a
reference
to
the
class library project into my web application project).

So to answer to your questions:
1- A separate class library project compiled into a dll that is
copied
to
the bin folder of the website
2- Yes
3- No.
4- No.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi Phillip,
I rally appreciate your help. I like your sample "Dropdownli st
within
a
GridView", but I do have a few questions about your
ObjectDataSour ce.

Here is the code I'm interested in:
<asp:ObjectData Source ID="odsProducts " runat="server"
SelectMethod=" ProductByID"
TypeName="WEBSW APP_BLL.Demos"
DataObjectType Name="WEBSWAPP_ BLL.clsProduct" >
<SelectParamete rs>
<asp:ControlPar ameter
ControlID="ddl Products" Name="productID "
PropertyName=" SelectedValue"
Type="String" />
</SelectParameter s>
</asp:ObjectDataS ource>
1) I presume that "WEBSWAPP_B LL" is a DLL, right? Where is it
located
in
your folder structure?
2) I see that you are using "TypeName". I presume that "Demos" is
the
class
inside your "WEBSWAPP_B LL" DLL, right?
3) Did you have to add any specific entries into the web.config
file
to
get
it to work?
4) I haven't seen your "default.aspx.c s" code, but do you have this
reference: "using WEBSWAPP_BLL;" (C#)?

Many thanks, Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:DA******* *************** ************@mi crosoft.com...
Hello Randy,

You can compile your domain layer into a separate assembly and
add a
reference to it in your project (all the demos on my website are
build
using
this strategy) or you can also download the "Visual Studio 2005
Web
Application Projects" to build applications in the same way as
you
used
to
VS2003 where you do not have to put your datamappers in the
App_Code
folder
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView
control
by
using the ObjectDataSourc e. This is our first OOP web
application,
and
we
have no tables. Right now we are simply working with objects in
memory.

So, it appears as though Microsoft requires that our datamapper
classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers
in
a
location other than "App_Code", and actually retrieve records
from
a
datamapper class?

TIA, Randy





Jan 10 '07 #5
Have you tried stepping in debug mode with break points within the BLL & DAL
to see if the web interface is calling the methods of your object library?
It might be an issue of the structure of your namespaces. In my demos I put
the fully qualified name of the class starting from the root namespace, e.g.
WEBSWAPP_BLL.De mos is the fully qualified path.

In your case it might be something like MyCompany.Modul es.App1.classNa me.
Make sure you put the fully qualified path in the values for TypeName and
DataObjectTypeN ame properties of the ObjectDataSourc e. Then set break points
within those methods to debug in VS.

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
Hi,
Well, I've changed my ObjectDataSourc e to match your examples, but I am
still not getting any data. I wonder if you can post the code for
"default.aspx.c s" (within "Dropdownli st within a GridView". I'm
particularly interested in seeing how you go about doing the "databind",
which may be my problem.
Many, many thanks!!! Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:34******** *************** ***********@mic rosoft.com...
Hello Randy,

For the purpose of my website where the demos do not have real business
logic (it is just a presentation logic built on top of a dataset),
WEBSWAPP_BLL is just a domain layer with a dataset.

The DAL in that demos website is a VS generated dataset named Samples.xsd
(which is not listed on the website). Its structure (a typed dataset of a
collection of datatables) is not necessary to understanding the demos that
I
placed to demonstrate the ASP.NET server controls features. I load it
into
the application cache to allow the users to write to the dataset in cache
but
then I do not persist their entries on the data store.

The class named WEBSWAPP_BLL.De mos is the compiled into a separate
assembly
from another project (class library), which is not within the folders
structure of the web application. I only add the compiled assembly (dll
file) to the bin folder on the web application (by adding a reference to
the
class library project into my web application project).

So to answer to your questions:
1- A separate class library project compiled into a dll that is copied to
the bin folder of the website
2- Yes
3- No.
4- No.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:
Hi Phillip,
I rally appreciate your help. I like your sample "Dropdownli st within a
GridView", but I do have a few questions about your ObjectDataSourc e.

Here is the code I'm interested in:
<asp:ObjectData Source ID="odsProducts " runat="server"
SelectMethod="P roductByID"
TypeName="WEBSW APP_BLL.Demos"
DataObjectTypeN ame="WEBSWAPP_B LL.clsProduct">
<SelectParamete rs>
<asp:ControlPar ameter
ControlID="ddlP roducts" Name="productID " PropertyName="S electedValue"
Type="String" />
</SelectParameter s>
</asp:ObjectDataS ource>
1) I presume that "WEBSWAPP_B LL" is a DLL, right? Where is it located in
your folder structure?
2) I see that you are using "TypeName". I presume that "Demos" is the
class
inside your "WEBSWAPP_B LL" DLL, right?
3) Did you have to add any specific entries into the web.config file to
get
it to work?
4) I haven't seen your "default.aspx.c s" code, but do you have this
reference: "using WEBSWAPP_BLL;" (C#)?

Many thanks, Randy
"Phillip Williams" <WE******@newsg roups.nospamwro te in message
news:DA******** *************** ***********@mic rosoft.com...
Hello Randy,

You can compile your domain layer into a separate assembly and add a
reference to it in your project (all the demos on my website are build
using
this strategy) or you can also download the "Visual Studio 2005 Web
Application Projects" to build applications in the same way as you used
to
VS2003 where you do not have to put your datamappers in the App_Code
folder
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Randy Smith" wrote:

Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView control
by
using the ObjectDataSourc e. This is our first OOP web application,
and
we
have no tables. Right now we are simply working with objects in
memory.

So, it appears as though Microsoft requires that our datamapper
classes
reside inside a folder called "App_Code", and NO WHERE ELSE.

So, has anyone successfully been able to place their datamappers in a
location other than "App_Code", and actually retrieve records from a
datamapper class?

TIA, Randy



Jan 13 '07 #6

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

Similar topics

1
3717
by: Oleg Ogurok | last post by:
Hi there, I've noticed that ASP.NET 2.0 GridView control doesn't have AllowCustomPaging and VirtualRecordCount. In 1.1, I used DataGrid and a SQL stored procedure that would return only the right records based on page number and page size passed to it. Thus instead of retrieving all 100k records, I would only get, e.g. 10 of them each time. Is there a way to achieve the same behavior with GridView?
2
6550
by: Robert Smith jr. | last post by:
Hello, Please pardon my newbie question ... I am building an ASP.NET page that displays a recordset with a Delete statement enabled (this all works fine). I want to Insert the current row *that is going to be deleted* into another table, before the original data is deleted. I am trying to use the RowDeleting method to call an Update or Insert
7
5471
by: Ken | last post by:
Hi All - I have a filtered GridView. This GridView has a check box in the first column. This check box is used to identify specific rows for delete operations. On the button click event I loop through the filtered GridView to identify the selected rows and assemble some XML to be sent to a stored proc. The problem I have is that when looping through the GridView, it doesn't
1
1981
by: A_StClaire_ | last post by:
hi all, I am using a GridView bound to an ObjectDataSource. edit and delete functionality has been enabled. my ObjectDataSource is tied to a TableAdapter that accesses three stored procedures - SPGetAllPrograms (Select), SPDeleteProgram (Delete) and SPRetireProgram (Update). deleting database records via clicking the GridView Delete button works fine. as does the Select function. however after clicking the Edit button and making...
2
3786
by: Ian | last post by:
Hiya, Hope this isn't too stupid a question :) I can bind an objectdatasource to a gridview very easily (and there's a thousand tutorials of this on the net). BUT! I just want to get at the data so I can say put it in a label.text, or
2
4978
by: OJ | last post by:
Hi, I am retrieving data from an external (www) data provider through socket communication. I send a structured query (not SQL or XML) in the form of a string containing tab seperated values and the external provider returns data in the same format. I have written classes in C# to represent the individual types of records returned, and to group these results in to DataTable objects. This works great. The problem I have is that when I bind...
8
18084
by: Greg Lyles | last post by:
Hi all, I'm trying to develop an ASP.NET 2.0 website and am running into some real problems with what I thought would be a relatively simple thing to do. In a nutshell, I'm stuck on trying to display data in a "GridView" which is tied to an "ObjectDataSource". In turn, this ObjectDatasource gets it's data from a strongly-typed business object within my code.
3
3750
by: Mike | last post by:
I'm using the 2.0 framework and cannot get a gridview to return records with an objectDataSource. I can preview the data from the datatable. To make this as simple as possible I used the wizard and turned all paging and sorting options off and the gridview will not display anything. Not even column headings. I have a text box, drop down list, button and a label on the page and they all display fine. Why won't the gridview do it's job? ...
0
1536
by: =?Utf-8?B?RGVubmlzIE1jQ2FydGh5?= | last post by:
I am displaying data from a web service in a DataGrid, using an ObjectDataSource. Retrieving and displaying data is working fine, but there is a problem using Edit mode in the GridView. If my GridView contains columns that correspond exactly to the input parameters for the UpdateMethod of the ObjectDataSource, then everything works. However, there are some columns in the DataGrid that should be invisible or read-only. When I set the...
0
8921
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
8763
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
9427
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
9284
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
9202
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9148
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
8151
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
3238
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
2
2683
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.