|
by: adam222 |
last post by:
hello,
i have a web-form with a GridView control, i wanted to update & delete,
using the AutoGenerateEditButton.
when i used it with sqlDataSource (executing SP in the DB) it works
like a charm, but when i want to pass the data through the
application's layers (BL etc.), it did not work.
it seems that the 'AutoGenerateEditButton' is capable only with
sqlDataSource...
|
by: |
last post by:
I'm building some user controls. I very much like how you can build custom
properties to be bound to a user control, and how instances of that control
will show those custom properties in the VS.NET IDE.
I've made a user control -- let's call it MyUserControl.ascx -- with a
DataGrid and an SqlDataSource. The SqlDataSource that loads content by
categoryID.
I've defined a property on MyUserControl.ascx called ContentCategoryID.
|
by: msch-prv |
last post by:
I use an Access db in my application. So far I have been exclusively
working wtih the AccessDataSource controls to hook up to the db. I
know that Access db connections can also be established with
SqlDataSource.
What are the trade-offs between the AccessDataSource and SqlDataSource?
Also, I am confused about the connection state. What are the rules of
thumb for maintaining a db connection open vs closing it?
|
by: Jason Wilson |
last post by:
I have two dropdownlists that are bound to the same datasource and I
have a couple of questions:
1) Because they are bound to the same datasource, I am assuming that
they only make 1 round trip to the DB server -- is that correct?
2) On a user's click of a button, one of the actions in the button
OnClick event is to set the selectedindex of the 2nd DDL to that of the
1st. I get a runtime error here that says that the given index is...
|
by: Asaf |
last post by:
Hi,
I have SqlDataSource control that makes a "select count" to show how many
rows there are in a Table and it is working fine on first page load.
The problem is that when I am inserting a new row to the database table at
the same ASPX page the rows count from the SqlDataSource remain the same.
To refresh the SqlDataSource I have used his
Select(DataSourceSelectArguments.Empty) but no luck.
|
|
by: djc |
last post by:
I had previously (in asp.net 1.1 and asp.net web matrix) just done this to
populate a listbox with data from a database:
------------ this was from the page load event ----------------
'fill recipient address list box
Dim cnn As SqlConnection
cnn = New SqlConnection(Application("cnn").ToString())
Dim cmdGetAllRecipientAddresses As SqlCommand = New
SqlCommand("GetAllRecipientAddresses", cnn)
|
by: djc |
last post by:
1) I am wondering if I should be using an sqlDataSource object for my
particular scenario. I need to loop through a listbox and perform an INSERT
sql operation for each item. Could be a few or several items. The reason I'm
wondering if I should use an SqlDataSource object is overhead. For example,
prior to learning about the sqlDataSource I would just code the ado.net
procedure myself. For example, create connection object, create and...
|
by: Ken Fine |
last post by:
I'm using SQLDataSource, which generates some kind of dataset, and then I
attach that datasource to various data display controls such as DataList and
repeater which loop through to the end of the data that was retrieved by the
query.
At times I may want the display control only to render some items in the set
of data returned by SqlDataSource. There would be several scenarios:
* render the second data item or third item in to the end...
|
by: staeri |
last post by:
I have a dropdownlist attached to a SqlDataSource inside an Accordion.
I receive the following error message when the SqlDataSource is inside
the Accordion:
"The DataSourceID of 'ddGroup' must be the ID of a control of type
IDataSource. A control with ID 'SqlDataSourceGroup' could not be
found."
I've been suggested to move the SqlDataSource out of the Accordion to
get rid of the error message above, but when I do so the SqlDataSource
|
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...
|
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...
|
|
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...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|