Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ntier app Pin
Colin Angus Mackay18-Oct-04 11:46
Colin Angus Mackay18-Oct-04 11:46 
GeneralRe: Ntier app Pin
StephenMcAllister18-Oct-04 16:28
StephenMcAllister18-Oct-04 16:28 
GeneralRe: Ntier app Pin
Salil Khedkar19-Oct-04 22:40
Salil Khedkar19-Oct-04 22:40 
GeneralRe: Ntier app Pin
Carl Mercier21-Oct-04 18:50
Carl Mercier21-Oct-04 18:50 
GeneralRe: Ntier app Pin
StephenMcAllister23-Oct-04 7:53
StephenMcAllister23-Oct-04 7:53 
GeneralAdjusting the columns on the datagrid Pin
steve_rm18-Oct-04 5:54
steve_rm18-Oct-04 5:54 
GeneralRe: Adjusting the columns on the datagrid Pin
Heath Stewart18-Oct-04 7:31
protectorHeath Stewart18-Oct-04 7:31 
GeneralRe: Adjusting the columns on the datagrid Pin
steve_rm19-Oct-04 7:44
steve_rm19-Oct-04 7:44 
Hello,

I have adjusted some properties in the tablestyle and columnstyle design properties, but l still can't get it to work. This what l have done:

In my database l have a table called Book

I have 3 collumns called RefNumber, Title, and Remarks

my datagrid code to bind to the datatable is:
grdStudents.Source = dtStudents(); //This works fine displays the data ok <br />
grdReflesh(); 


Now I design the datagrid columns shape.

In the datagrid properties i have a property called : tablestyles, inside it is a designer . I add a new tablestyle and make it's mapping = "Book"
so this table properties will be applied on the table called "Book" which is the name of the table

Inside this table styles there is a gridcolumnstyles property, inside it there is a designer, I add the columns I want inside it and set their properties (height,width etc....) and for each column set it's mapping name to the column names. I l have 3 columns styles mapped to RefNumber, Title, and Remarks.

After doing all this l still can't get it to work. I have used the datatable, but will this work with only using a dataset. I am not sure.

Thanks in advance for any help,

Steve
GeneralRe: Adjusting the columns on the datagrid Pin
Heath Stewart19-Oct-04 7:54
protectorHeath Stewart19-Oct-04 7:54 
GeneralDetecting the enter key Pin
exhaulted18-Oct-04 5:18
exhaulted18-Oct-04 5:18 
GeneralRe: Detecting the enter key Pin
Roger Stewart18-Oct-04 7:28
professionalRoger Stewart18-Oct-04 7:28 
GeneralRe: Detecting the enter key Pin
Heath Stewart18-Oct-04 7:34
protectorHeath Stewart18-Oct-04 7:34 
GeneralRe: Detecting the enter key Pin
Roger Stewart18-Oct-04 9:32
professionalRoger Stewart18-Oct-04 9:32 
GeneralRe: Detecting the enter key Pin
exhaulted18-Oct-04 22:22
exhaulted18-Oct-04 22:22 
Questioncan I create rotatable widgets? Pin
Daniel Tomasini18-Oct-04 5:07
Daniel Tomasini18-Oct-04 5:07 
AnswerRe: can I create rotatable widgets? Pin
Heath Stewart18-Oct-04 7:27
protectorHeath Stewart18-Oct-04 7:27 
GeneralRe: can I create rotatable widgets? Pin
Daniel Tomasini19-Oct-04 3:09
Daniel Tomasini19-Oct-04 3:09 
GeneralRe: can I create rotatable widgets? Pin
Heath Stewart19-Oct-04 5:16
protectorHeath Stewart19-Oct-04 5:16 
QuestionIs using reflection 'cheating'? Pin
Anonymous18-Oct-04 4:05
Anonymous18-Oct-04 4:05 
AnswerRe: Is using reflection 'cheating'? Pin
afinnell18-Oct-04 5:31
afinnell18-Oct-04 5:31 
AnswerRe: Is using reflection 'cheating'? Pin
Steven Campbell18-Oct-04 14:50
Steven Campbell18-Oct-04 14:50 
Generallooking for a user modeling open source written in c# Pin
Pupik36018-Oct-04 2:57
Pupik36018-Oct-04 2:57 
Generaltwo xml doubts Pin
ee9903518-Oct-04 1:26
ee9903518-Oct-04 1:26 
GeneralRe: two xml doubts Pin
Stanciu Vlad18-Oct-04 5:16
Stanciu Vlad18-Oct-04 5:16 
GeneralRe: two xml doubts Pin
Heath Stewart18-Oct-04 7:23
protectorHeath Stewart18-Oct-04 7:23 

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.