|
by: SammyBar |
last post by:
Hi all,
I have some custom collections (ArrayList of custom Objects) and I want to
display them using typical Windows form controls (DataGrid, Combo). What
should I do to expose them as valid datasources to these controls? What if I
want that these collections work with Visual Studio on design time in order
to allow me easy create grid columns on design time? Can you point me to
some examples?
Thanks in advance
|
by: Greg |
last post by:
Anyone having issues with their object datasources appearing and
vanishing from the datasource browser?
I create an object for binding as a datasource in my App_Code folder,
compile my web project and it appears in the datasources in the report
designer. Then I will make an aspx, setup a reportviewer control for
my new report, go back to the rdlc and the object datasource sometimes
just vanishes.
I refresh, no luck.
|
by: GaryDean |
last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much
in answers so I'm reposting some questions posted by some of the programmers
here in our organization that never got answered...
There are articles on the new TableAdapters where it says that a key new
advantage is that a single TableAdapter, which can have multiple queries,
can be used on multiple forms. Now that was in an article on using
TableAdapters with...
|
by: Joey Chömpff |
last post by:
L.S.,
Hello is there a way to implement 2-way databinding without using the
datasources from dotnet 2.0. Why would you ask? Now that's simple.
I've created an object model with BusinessObjects and I don't want to write
an separate provider layer for the datasources. This is because I loose all
the benefits of my objectmodel.
Are there other developers who think this way?
|
by: Owen Richardson |
last post by:
I have a page that displays a news article in a form view feeding off a
datasource that just picks up the id from a query string. I want to add
functionality for related links - so i created a stored procedure that takes
three parameters. On the page i have added a second datasource which calls my
stored proc, and spits out the results into a Repeater.
Currently however the two datasources are independant - my second data
source takes 3...
|
|
by: Magnus |
last post by:
I have a set of typed datasets that are tied to a database on a mssql2005
server. They are naturally displayed and available in the DataSources
window. Now I want to rename the database, but when I do that and
reconfigure any of the datasets with the Wizard, all the datatables I have
previously selected are marked as unavailable (with a red x next to it), and
displays all database objects in the renamed database as "new" and
unchecked.
...
|
by: jobs |
last post by:
I've got a gridview that does not have a datasourceid assigned in the
markup.
I'd like to switch between two datasources in the codebehind. when I do
switch, I first reset the the
gridviewx.datasource = nothing and gridviewx.datasourceid = nothing
before setting it to gridviewx.datasource = newdatasoruceid and then
rebinding.
All appears to work well until I try to excute a delete command that
|
by: jobs |
last post by:
Is there a correct way to change the datasourceId of a gridview in
codebehind so that things like sorting, paging and deleting actually
work?
Or will have have to have one one to one relationship between
datasources and gridviews?
when I switch datasources - deletes don't happen and I get erros like
this when I try to page or sort:
|
by: cpnet |
last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL
Reporting Services (to be used in local mode so I don't have to deal with
SQL Server). When I create a new report in my website, nothing shows up in
the Website Data Sources window. I added a few different strongly-typed
Datasets to my website, and they don't show up. The only way I could get
anything to show up was to create a new class that's derived from a...
|
by: nev |
last post by:
i created a program with datasources which i added using the datasources wizard.
my problem is the connectionstring server = localhost
the program will be installed in 4 computers and the mysql database will be configured in one of those pc.
what must i do to correct the connection string in my program. when i tried searching the word 'localhost' in my current project, i was able to find it in 3 locations namely: in the app.config, in...
|
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: 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,...
|
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...
|
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: 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: 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.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|