Click here to Skip to main content
15,881,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPartial public Sub ??? Pin
satc22-Apr-15 9:41
satc22-Apr-15 9:41 
AnswerRe: Partial public Sub ??? Pin
Sascha Lefèvre22-Apr-15 10:16
professionalSascha Lefèvre22-Apr-15 10:16 
QuestionDataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt22-Apr-15 3:06
Johan Hakkesteegt22-Apr-15 3:06 
AnswerRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Dave Kreskowiak22-Apr-15 4:15
mveDave Kreskowiak22-Apr-15 4:15 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt22-Apr-15 20:26
Johan Hakkesteegt22-Apr-15 20:26 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt22-Apr-15 21:21
Johan Hakkesteegt22-Apr-15 21:21 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Dave Kreskowiak23-Apr-15 2:20
mveDave Kreskowiak23-Apr-15 2:20 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt23-Apr-15 3:46
Johan Hakkesteegt23-Apr-15 3:46 
Hi Dave,

Would it suffice if I tell you the steps (in pseudo code) ?
1. Open Visual Studio 2012 Express
2. Start new Windows Forms project (.NET 4)
3. Drag DataGridView and button controls onto Window
4. Press button =
- Use SqlCommand to run MS SQL stored procedure that returns a table
- Use SqlDataAdapter to enter data into DataSet
5. BindingSource.DataSource = DataSet
6. DataGridView.DataSource = BindingSource
7. Run Method as in my original post

Regards,
Johan
My advice is free, and you may get what you paid for.

GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Dave Kreskowiak23-Apr-15 4:05
mveDave Kreskowiak23-Apr-15 4:05 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt23-Apr-15 22:21
Johan Hakkesteegt23-Apr-15 22:21 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Dave Kreskowiak24-Apr-15 3:49
mveDave Kreskowiak24-Apr-15 3:49 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt24-Apr-15 4:03
Johan Hakkesteegt24-Apr-15 4:03 
AnswerRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Eddy Vluggen22-Apr-15 4:51
professionalEddy Vluggen22-Apr-15 4:51 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Johan Hakkesteegt22-Apr-15 20:31
Johan Hakkesteegt22-Apr-15 20:31 
GeneralRe: DataGridView.Column("name").DefaultCellStyle.Format applied to all columns (it shouldn't be) Pin
Eddy Vluggen22-Apr-15 22:38
professionalEddy Vluggen22-Apr-15 22:38 
QuestionUnsure How to Approach New Personal Project Pin
cyberphreak198121-Apr-15 7:06
cyberphreak198121-Apr-15 7:06 
AnswerRe: Unsure How to Approach New Personal Project Pin
Sascha Lefèvre21-Apr-15 7:24
professionalSascha Lefèvre21-Apr-15 7:24 
GeneralRe: Unsure How to Approach New Personal Project Pin
cyberphreak198121-Apr-15 7:27
cyberphreak198121-Apr-15 7:27 
GeneralRe: Unsure How to Approach New Personal Project Pin
Sascha Lefèvre21-Apr-15 7:36
professionalSascha Lefèvre21-Apr-15 7:36 
GeneralRe: Unsure How to Approach New Personal Project Pin
cyberphreak198121-Apr-15 7:40
cyberphreak198121-Apr-15 7:40 
GeneralRe: Unsure How to Approach New Personal Project Pin
Sascha Lefèvre21-Apr-15 8:34
professionalSascha Lefèvre21-Apr-15 8:34 
QuestionEntity framework : How to get DBcontext.ChangeTracker.Entries(of ???)) for a class known only at runtime Pin
dilkonika20-Apr-15 18:22
dilkonika20-Apr-15 18:22 
AnswerRe: Entity framework : How to get DBcontext.ChangeTracker.Entries(of ???)) for a class known only at runtime Pin
Dave Kreskowiak21-Apr-15 1:50
mveDave Kreskowiak21-Apr-15 1:50 
QuestionContinue to next step in a for..next loop only when the user press a button. Pin
dilkonika18-Apr-15 17:59
dilkonika18-Apr-15 17:59 
AnswerRe: Continue to next step in a for..next loop only when the user press a button. Pin
PIEBALDconsult18-Apr-15 18:52
mvePIEBALDconsult18-Apr-15 18:52 

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.