473,320 Members | 2,024 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,320 software developers and data experts.

Newbe question about databinding

Hello

Is it so difficult to make a databound form or am I somewhere wrong?

First I create a SQL DataAdapter with a connection to Northwid Products

VB creates a SQLConnection1

Then I'm creating a Dataset

I'm putting a datagrid in the form and I'm changing the property Datasource
to Dataset11

I'm running the project and the Grid its empty!

What did I missed?

Thanks a lot
Nov 20 '05 #1
3 1087
Cor
Hi Kostas,
I thought, Dataset11.table,

You use the IDE properties I think, than you have to push the plus and
choose the table.

I did not check it, and did not do it in that way some time,

Tell me if it was the solution or not but I am quiet sure?.

Cor

I'm putting a datagrid in the form and I'm changing the property Datasource to Dataset11

Nov 20 '05 #2
Hi,

Ensure the data set is filled with the data. This is done by calling the
DataAdapter.Fill() method.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Kostas Kousinovalis" <in**@lexiconsoftware.gr> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello

Is it so difficult to make a databound form or am I somewhere wrong?

First I create a SQL DataAdapter with a connection to Northwid Products

VB creates a SQLConnection1

Then I'm creating a Dataset

I'm putting a datagrid in the form and I'm changing the property Datasource to Dataset11

I'm running the project and the Grid its empty!

What did I missed?

Thanks a lot


Nov 20 '05 #3
"Kostas Kousinovalis" <in**@lexiconsoftware.gr> schrieb
Is it so difficult to make a databound form or am I somewhere
wrong?

First I create a SQL DataAdapter with a connection to Northwid
Products

VB creates a SQLConnection1

Then I'm creating a Dataset

I'm putting a datagrid in the form and I'm changing the property
Datasource to Dataset11

I'm running the project and the Grid its empty!

What did I missed?


Do you fill the dataset by code?

More databinding questions:
microsoft.public.dotnet.framework.windowsforms.dat abinding
--
Armin

http://learn.to/quote
http://www.plig.net/nnq/nquote.html

Nov 20 '05 #4

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

Similar topics

1
by: Sebastien GIRAUD | last post by:
Hello, First let say that am french and that i'll try to write the best english i can... I'm a python newbe and have the following problem : I try to create 2 threads in a server program and they...
1
by: Ron | last post by:
Is this built into any of the python versions? Need it! Using 2.3.5 and doesn't seem to have it.Newbe needs help!email ron@nac.net Thanks Ron
7
by: Jean Pierre Daviau | last post by:
Hi, <script language="javascript" type="text/javascript"> if(navigator.appName.indexOf("Netscape") != -1){ document.writeln('<link rel="stylesheet" href="~styles/aquarelle_ns.css"...
9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
3
by: Kevin Swanson | last post by:
I'm writing what should be a very simple app against an Oracle database. The app has a number of user controls, any one of which is loaded into a main display page using the loadControl method,...
8
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...
17
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not...
8
by: Dirk | last post by:
Hello, I have a problem to use databinding with my business layer classes. My data class does not have simple properties (string, int or datetime), instead, all my properties are objects of the...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello to all, I want to know if DataBinding in asp.net 2,0 is better than to fill up the values of the controls of the following form: this.miControlTextBox.Text = valorParaControlTextbox; ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.