473,320 Members | 1,865 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.

columns in a DataSet

How can I set the width of the columns in a DataSet?

Thank you.
Nov 16 '05 #1
3 1298
Alberto,
Have you tried setting the DataColumn.MaxLength property?

Hope this helps
Jay

"Alberto" <al*****@nospam.com> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl...
How can I set the width of the columns in a DataSet?

Thank you.

Nov 16 '05 #2
Where is this property?
Thank you.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> escribió en el
mensaje news:ee*************@TK2MSFTNGP09.phx.gbl...
Alberto,
Have you tried setting the DataColumn.MaxLength property?

Hope this helps
Jay

"Alberto" <al*****@nospam.com> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl...
How can I set the width of the columns in a DataSet?

Thank you.


Nov 16 '05 #3
Alberto,
On System.Data.DataColumn...

http://msdn.microsoft.com/library/de...engthTopic.asp

I don't have the link handy on how to set the above in the DataSet Designer.

Hope this helps
Jay

"Alberto" <al*****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Where is this property?
Thank you.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> escribió en el
mensaje news:ee*************@TK2MSFTNGP09.phx.gbl...
Alberto,
Have you tried setting the DataColumn.MaxLength property?

Hope this helps
Jay

"Alberto" <al*****@nospam.com> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl...
How can I set the width of the columns in a DataSet?

Thank you.



Nov 16 '05 #4

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

Similar topics

2
by: Andreas Palm | last post by:
I have a dataset that has DBNull in certain columns, now when I write out this one to XML, I only get the columns as elements that do have data in it. However I do need also the empty colums as...
3
by: Diego TERCERO | last post by:
Hi... I'm working on a tool for editing text resources for a family of software product my company produces. These text resources are found in a SQL Server database, in a table called...
3
by: Alexander | last post by:
Hi, I am using a DataGrid and assign a DataTable as a DataSource to it: void ShowData() { DataTable myNewDataTable = new DataTable(); ... // fill table this.m_DataGrid1.DataSource =...
2
by: Wing | last post by:
Hi all, I am using Microsoft Visual Studio .NET 2003 to program my code. I have following question. I am trying to adding a few bound columns which from a dataset that containing 2 tables to...
0
by: bboyd | last post by:
:?: I have a stored procedure that returns 2 tables. One table with 8 columns and one table with 2 columns. I have set up a typed dataset that is similar to the data returned. However, in my typed...
4
by: Greg | last post by:
I have a VB.NET Windows application with bound DataGrid control with it’s DataSource property set to a DataSet object. The DataSet object is created from an XML Schema. I would like to define...
2
by: Kjetil Klaussen | last post by:
Hi, I’m having some troubles trying to bind my dataset to a GridView control through an ObjectDataSource control. The binding works fine for regular columns in my dataset, but I can’t seem...
3
by: BartMan | last post by:
Greetings, I have a gridview which is sitting on a multi view control (witin a view), and it is bound to a dataset which I dynamically apply to the control within asp.net page. The problem is...
3
by: ASPnewb1 | last post by:
I am currently filling a dataTable then adding this table to a dataset, setting the dataset to the Gridview's datasource. If I set the Gridview to generate columns automatically it will fill the...
1
by: Mark Baldwin | last post by:
Steven Thanks for your reply, however the typed datasets are defined in the web service and there seems to way to open the partial class code window - double clicking on the design surface does...
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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
0
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.