473,413 Members | 1,811 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,413 software developers and data experts.

How to manual databinding in VS2005 Express ?

ad
We must manually fill a dataset and bind a dataGrid when we want to display
data in a datagird in the VS2003.
The two steps will auto execute in VS2005 Express win SqlDatasource and
GridView
But I want these steps to do manually.
How an I set them?
Nov 19 '05 #1
1 945
Set the DataSource to something that is a collection, so a DataReader, DataTable,
DataSet, Array, whatever. Then call DataBind.

_grid.DataSource = yourCollectionOfData;
_grid.DataBind();

-Brock
DevelopMentor
http://staff.develop.com/ballen
We must manually fill a dataset and bind a dataGrid when we want to
display
data in a datagird in the VS2003.
The two steps will auto execute in VS2005 Express win SqlDatasource
and
GridView
But I want these steps to do manually.
How an I set them?


Nov 19 '05 #2

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

Similar topics

7
by: ad | last post by:
I found that there is reporting service bundle with SQLSever 2005 express. Can VS2005 express can use the reporting service in SQLSever 2005 express?
1
by: ad | last post by:
When I run my application in VS2005 Express, it will use VWD Web Server to run my application. The link css and image can't show will in the VWD Web Server. Can I start my application with IIS...
1
by: Eric L | last post by:
what do i need to be able to make applications for windows mobile 2003 second edition. i cant figure out for the life of me what to download that will let me build SDE projects. any help would be...
7
by: Cyril Gupta | last post by:
In VS2003 There is a Class viewer option in Solution explorer which lets me browse the classes in my project. This feature is missing from VS2005 Express edition which I downloaded. Is this feature...
2
by: Steve | last post by:
has anyone tired vs2005 express on vista beta 2??? i so does it work??? cheers guys Steve
6
by: mimeo | last post by:
Hi all I would like to know if it is possible to build a dll with VS2005 C++ Express Edition, that is unmanaged, and that is not dependent on the .NET framework. So the dll should be able to...
1
by: Goofy | last post by:
OK, the scenario is this. I have added a MDF Database to my application. I want to run a Select Into myTable From ( an external sqlServer.FromTable ) It tells me that I need to add a linked...
2
bartonc
by: bartonc | last post by:
I just spent the most frustrating week of my life pounding on Visual Studio 2005 Express trying to get DirectShow baseclasses to compile. My success has left me feeling quite elated. Not a single...
2
by: colin | last post by:
Hi, I seem to have introduced a probem into my application wich cuases the IDE to hang when I switch from debug to reease mode. it doesnt even consume any cpu %, just sits there, with the...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...
0
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...
0
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,...

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.