Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
AnswerRe: Marshaling c LARGE_INTEGER (ulong, ulong)? Pin
Heath Stewart17-Mar-04 5:54
protectorHeath Stewart17-Mar-04 5:54 
GeneralOpen MDI Child form from already MDI child form Pin
Inpreet Singh17-Mar-04 1:36
Inpreet Singh17-Mar-04 1:36 
GeneralRe: Open MDI Child form from already MDI child form Pin
Heath Stewart17-Mar-04 5:53
protectorHeath Stewart17-Mar-04 5:53 
GeneralRe: Open MDI Child form from already MDI child form Pin
Dave Kreskowiak17-Mar-04 5:59
mveDave Kreskowiak17-Mar-04 5:59 
GeneralRe: Open MDI Child form from already MDI child form Pin
surgeproof17-Mar-04 6:21
surgeproof17-Mar-04 6:21 
QuestionHow to resize column width of datagrid. Pin
Inpreet Singh17-Mar-04 0:49
Inpreet Singh17-Mar-04 0:49 
AnswerRe: How to resize column width of datagrid. Pin
Mazdak17-Mar-04 3:29
Mazdak17-Mar-04 3:29 
AnswerRe: How to resize column width of datagrid. Pin
Heath Stewart17-Mar-04 5:47
protectorHeath Stewart17-Mar-04 5:47 
See the DataGrid.TableStyles Property[^] documentation in the .NET Framework SDK for a detailed review of how to explicitly define table and column styles. For instance, if you use a DataSet (and assign the DataGrid.DataMember to the appropriate table name within the DataSet) or DataTable for the DataGrid.DataSource property, you create a new DataGridTableStyle with the MappingName set to the table (you can also set it to specially formatted names for non-DataSet data sources, but see the documentation for more information). You then add DataGridColumnStyles to the table style that map to your column names. You can specify captions, column widths, string formats (for numbers, dates, etc.), and more. You can also define your own.

The VS.NET DataGrid designer also does a great job of helping you if you assign your DataSet at design-time to the DataGrid.DataSource (using the DataSet to create an instance of some strongly-typed DataSet defined in your current or dependent project). Even without, click on the "..." button next to the TableStyles property and explore.

 

Microsoft MVP, Visual C#
My Articles
Questionhow to write meta information in files? Pin
g112917-Mar-04 0:42
g112917-Mar-04 0:42 
AnswerRe: how to write meta information in files? Pin
Heath Stewart17-Mar-04 5:42
protectorHeath Stewart17-Mar-04 5:42 
Generalwindows explorer type Treeview/Listview structure Pin
Inpreet Singh17-Mar-04 0:38
Inpreet Singh17-Mar-04 0:38 
GeneralRe: windows explorer type Treeview/Listview structure Pin
Heath Stewart17-Mar-04 5:37
protectorHeath Stewart17-Mar-04 5:37 
GeneralUpdate data in Grid on form1 from form2. Pin
Inpreet Singh16-Mar-04 23:55
Inpreet Singh16-Mar-04 23:55 
GeneralRe: Update data in Grid on form1 from form2. Pin
Heath Stewart17-Mar-04 5:33
protectorHeath Stewart17-Mar-04 5:33 
GeneralListView update Problem Pin
Snowjim16-Mar-04 23:55
Snowjim16-Mar-04 23:55 
GeneralRe: ListView update Problem Pin
Heath Stewart17-Mar-04 5:29
protectorHeath Stewart17-Mar-04 5:29 
GeneralSTGMEDIUM Union Layout Woes Pin
Tristan Rhodes16-Mar-04 22:03
Tristan Rhodes16-Mar-04 22:03 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Heath Stewart17-Mar-04 4:51
protectorHeath Stewart17-Mar-04 4:51 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:18
Tristan Rhodes17-Mar-04 5:18 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:47
Tristan Rhodes17-Mar-04 5:47 
QuestionHow to use class in Web Service Pin
boat2002w16-Mar-04 22:01
boat2002w16-Mar-04 22:01 
AnswerRe: How to use class in Web Service Pin
Mazdak16-Mar-04 22:17
Mazdak16-Mar-04 22:17 
GeneralRe: How to use class in Web Service Pin
boat2002w16-Mar-04 22:30
boat2002w16-Mar-04 22:30 
GeneralRe: How to use class in Web Service Pin
Mazdak17-Mar-04 3:26
Mazdak17-Mar-04 3:26 
AnswerRe: How to use class in Web Service Pin
Michael Flanakin17-Mar-04 18:44
Michael Flanakin17-Mar-04 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.