Click here to Skip to main content
15,849,182 members
Home / Discussions / C#
   

C#

 
AnswerRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius18-Sep-16 4:41
mentorWendelius18-Sep-16 4:41 
GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Zeyad Jalil18-Sep-16 20:31
professionalZeyad Jalil18-Sep-16 20:31 
GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius18-Sep-16 22:38
mentorWendelius18-Sep-16 22:38 
GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius13-Oct-16 12:04
mentorWendelius13-Oct-16 12:04 
QuestionBar Code Generate Pin
Member 1116631816-Sep-16 22:55
professionalMember 1116631816-Sep-16 22:55 
AnswerRe: Bar Code Generate Pin
Gerry Schmitz17-Sep-16 7:27
mveGerry Schmitz17-Sep-16 7:27 
SuggestionRe: Bar Code Generate Pin
Richard Deeming19-Sep-16 3:05
mveRichard Deeming19-Sep-16 3:05 
QuestionWinForms bind Combobox to DataSet Table Names Pin
hpjchobbes16-Sep-16 11:13
hpjchobbes16-Sep-16 11:13 
Is there an easy way to bind a combobox to populate with the names of the tables in a given dataset? When I search all I am finding are questions and examples of binding to a datatable, not the names of the tables in a dataset.

I was hoping for something similar to when debugging in Visual Studio and you have a watch on a dataset. When you examine the value, you get a dropdown with the table names, and switching will show you the data table in a datagrid view.

I currently clear the items from the combobox, and iterate through the table names adding them to the combobox. When the combobox changes I then set my datamember of my grid view to be dataset[combobox1.SelectedItem.ToString], which works but feels clunky.

My application will be using different typed datasets so I need to be able to change the combobox when the dataset changes.
AnswerRe: WinForms bind Combobox to DataSet Table Names Pin
Gerry Schmitz17-Sep-16 7:46
mveGerry Schmitz17-Sep-16 7:46 
QuestionHow to draw an image using form controls? Pin
Le@rner15-Sep-16 22:52
Le@rner15-Sep-16 22:52 
AnswerRe: How to draw an image using form controls? Pin
OriginalGriff15-Sep-16 23:00
mveOriginalGriff15-Sep-16 23:00 
GeneralRe: How to draw an image using form controls? Pin
Le@rner16-Sep-16 0:54
Le@rner16-Sep-16 0:54 
GeneralRe: How to draw an image using form controls? Pin
OriginalGriff16-Sep-16 1:07
mveOriginalGriff16-Sep-16 1:07 
GeneralRe: How to draw an image using form controls? Pin
Le@rner16-Sep-16 1:09
Le@rner16-Sep-16 1:09 
GeneralRe: How to draw an image using form controls? Pin
OriginalGriff16-Sep-16 1:19
mveOriginalGriff16-Sep-16 1:19 
GeneralRe: How to draw an image using form controls? Pin
Le@rner16-Sep-16 20:40
Le@rner16-Sep-16 20:40 
GeneralRe: How to draw an image using form controls? Pin
OriginalGriff16-Sep-16 22:27
mveOriginalGriff16-Sep-16 22:27 
GeneralRe: How to draw an image using form controls? Pin
Le@rner16-Sep-16 1:09
Le@rner16-Sep-16 1:09 
AnswerRe: How to draw an image using form controls? Pin
Pete O'Hanlon15-Sep-16 23:04
subeditorPete O'Hanlon15-Sep-16 23:04 
QuestionCalling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 6:35
Member 1274201915-Sep-16 6:35 
AnswerRe: Calling a stored procedure from C# failing Pin
#realJSOP15-Sep-16 6:43
mve#realJSOP15-Sep-16 6:43 
GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 6:45
Member 1274201915-Sep-16 6:45 
AnswerRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 6:51
mveOriginalGriff15-Sep-16 6:51 
GeneralRe: Calling a stored procedure from C# failing Pin
Member 1274201915-Sep-16 7:28
Member 1274201915-Sep-16 7:28 
GeneralRe: Calling a stored procedure from C# failing Pin
OriginalGriff15-Sep-16 7:42
mveOriginalGriff15-Sep-16 7:42 

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.