Click here to Skip to main content
16,013,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: Crystal Reports Pin
Gavin_Mannion30-Apr-02 22:11
Gavin_Mannion30-Apr-02 22:11 
GeneralZip and Unzip Pin
- Emanuele -28-Apr-02 22:56
- Emanuele -28-Apr-02 22:56 
GeneralRe: Zip and Unzip Pin
AndyG29-Apr-02 4:53
AndyG29-Apr-02 4:53 
GeneralRe: Zip and Unzip Pin
- Emanuele -29-Apr-02 5:52
- Emanuele -29-Apr-02 5:52 
QuestionIs there any sound classes!? Pin
Rickard Andersson2028-Apr-02 21:48
Rickard Andersson2028-Apr-02 21:48 
AnswerRe: Is there any sound classes!? Pin
Neil Van Note28-Apr-02 22:00
Neil Van Note28-Apr-02 22:00 
GeneralRe: Is there any sound classes!? Pin
Rickard Andersson2029-Apr-02 0:53
Rickard Andersson2029-Apr-02 0:53 
GeneralDataGridColumnStyle Pin
Mazdak28-Apr-02 19:40
Mazdak28-Apr-02 19:40 
I waana define some Column style for my datagrid somewhere in my codes,I use this code:

DataGridColumnStyle GridSeqStyle;
DGStyle = new DataGridTableStyle();
     
DGStyle.MappingName = "FS";
 
PropertyDescriptorCollection pcol = this.BindingContext[myDataSet, "FS"].GetItemProperties();


GridSeqStyle = new DataGridColumnStyle(pcol["FS"]);
GridSeqStyle.MappingName = "SeqNo";
GridSeqStyle.HeaderText = "Sequence No";
GridSeqStyle.Width = 100;
DGStyle.GridColumnStyles.Add(GridSeqStyle);


But I get this error:
Cannot create an instance of the abstract class or interface 'System.Windows.Forms.DataGridColumnStyle'

for this line:----->GridSeqStyle = new DataGridColumnStyle(pcol["FS"]);

Any Suggestion?


Mazy

"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

GeneralRe: DataGridColumnStyle Pin
Mazdak29-Apr-02 2:16
Mazdak29-Apr-02 2:16 
GeneralMSChart Pin
28-Apr-02 12:11
suss28-Apr-02 12:11 
GeneralWeb services and c# Pin
ez228-Apr-02 10:59
ez228-Apr-02 10:59 
GeneralRe: Web services and c# Pin
Nick Parker29-Apr-02 6:47
protectorNick Parker29-Apr-02 6:47 
GeneralRe: Web services and c# Pin
ez229-Apr-02 7:15
ez229-Apr-02 7:15 
GeneralGetAsyncKeyState!?!?! Pin
Rickard Andersson2028-Apr-02 9:56
Rickard Andersson2028-Apr-02 9:56 
GeneralRe: GetAsyncKeyState!?!?! Pin
Nish Nishant28-Apr-02 14:20
sitebuilderNish Nishant28-Apr-02 14:20 
GeneralRe: GetAsyncKeyState!?!?! [Eureka] Pin
Nish Nishant28-Apr-02 14:27
sitebuilderNish Nishant28-Apr-02 14:27 
GeneralRe: GetAsyncKeyState!?!?! [Eureka] Pin
James T. Johnson28-Apr-02 15:16
James T. Johnson28-Apr-02 15:16 
GeneralRe: GetAsyncKeyState!?!?! [Eureka] Pin
Nish Nishant28-Apr-02 15:21
sitebuilderNish Nishant28-Apr-02 15:21 
QuestionHow to make a modal form? Pin
Rickard Andersson2028-Apr-02 6:12
Rickard Andersson2028-Apr-02 6:12 
AnswerRe: How to make a modal form? Pin
Andrew Peace28-Apr-02 6:47
Andrew Peace28-Apr-02 6:47 
Questionhow to minimize the window form into tray icons toolbox! Pin
zhoujun28-Apr-02 3:20
zhoujun28-Apr-02 3:20 
QuestionGraphics::FromHwnd ??? Pin
Christian Graus28-Apr-02 1:50
protectorChristian Graus28-Apr-02 1:50 
AnswerRe: Graphics::FromHwnd ??? Pin
Neil Van Note28-Apr-02 9:08
Neil Van Note28-Apr-02 9:08 
GeneralRe: Graphics::FromHwnd ??? Pin
Neil Van Note28-Apr-02 10:19
Neil Van Note28-Apr-02 10:19 
GeneralRe: Graphics::FromHwnd ??? Pin
Christian Graus28-Apr-02 10:28
protectorChristian Graus28-Apr-02 10:28 

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.