Click here to Skip to main content
16,011,469 members
Home / Discussions / C#
   

C#

 
QuestionCreating C# TCP listener windows Service Pin
Tobben_4-Jan-14 11:47
Tobben_4-Jan-14 11:47 
AnswerRe: Creating C# TCP listener windows Service PinPopular
Ron Beyer4-Jan-14 12:00
professionalRon Beyer4-Jan-14 12:00 
QuestionGetting Thread Exception: while using System.Timer Class Pin
Member 99612394-Jan-14 7:16
Member 99612394-Jan-14 7:16 
AnswerRe: Getting Thread Exception: while using System.Timer Class Pin
Pete O'Hanlon4-Jan-14 8:15
mvePete O'Hanlon4-Jan-14 8:15 
AnswerRe: Getting Thread Exception: while using System.Timer Class Pin
Dave Kreskowiak4-Jan-14 10:20
mveDave Kreskowiak4-Jan-14 10:20 
AnswerRe: Getting Thread Exception: while using System.Timer Class Pin
Brite Varghese9-Jan-14 6:22
Brite Varghese9-Jan-14 6:22 
AnswerRe: Getting Thread Exception: while using System.Timer Class Pin
Member 99612399-Jan-14 17:47
Member 99612399-Jan-14 17:47 
QuestionC# datagridview navigator Pin
Member 78188924-Jan-14 3:58
Member 78188924-Jan-14 3:58 
Hi

I have a rather large table in sql server 2012 which I am pulling into a C# winform app datagridview. I am having problem with getting the navigator to work.

Background
I am only using a single table

I am using the sortable example here
<a href="http://www.codeproject.com/Articles/31418/Implementing-a-Sortable-BindingList-Very-Very-Quic">Implementing a Sortable BindingList Very, Very Quickly</a>

Here is my linq
dbcontext = new LOBappsContext();
dbcontext.myTable.Load();
this.myTableBindingSource.DataSource = dbcontext.myTable.Local.ToBindingList();
//
Cursor.Current = Cursors.WaitCursor;
strSubvertical = this.cboSubverticalOnly.SelectedItem.ToString();
var theGridData = new List<LOBapp.myTable>();
theGridData = (
from g in dbcontext.myTable
where g.System_and_Projects == strSubvertical
orderby g.Project_Name
select g
).ToList();

var sortableCollection = new customSortableBindingList<myTable>(theGridData);

BindingSource bs = new BindingSource();
bs.DataSource = sortableCollection;
this.myTableBindingNavigator.BindingSource = bs;
this.myTableDataGridView1.DataSource = sortableCollection;
myTableBindingNavigator.Update();
myTableBindingNavigator.Refresh();
hideGridColumns();
Cursor.Current = Cursors.Arrow;

The problem
When I click on the left and right arrows (any arrow actually), the little triangle next to the selected row does not move to next row.

I would appreciate any help with this.

Thanks
AnswerRe: C# datagridview navigator Pin
Alan N4-Jan-14 4:20
Alan N4-Jan-14 4:20 
Questionabout Sign unsigned drivers Pin
delphix53-Jan-14 8:43
delphix53-Jan-14 8:43 
AnswerRe: about Sign unsigned drivers Pin
Dave Kreskowiak3-Jan-14 9:05
mveDave Kreskowiak3-Jan-14 9:05 
GeneralRe: about Sign unsigned drivers Pin
delphix53-Jan-14 9:37
delphix53-Jan-14 9:37 
GeneralRe: about Sign unsigned drivers Pin
Dave Kreskowiak3-Jan-14 10:29
mveDave Kreskowiak3-Jan-14 10:29 
GeneralRe: about Sign unsigned drivers Pin
delphix53-Jan-14 10:50
delphix53-Jan-14 10:50 
GeneralRe: about Sign unsigned drivers Pin
Dave Kreskowiak3-Jan-14 14:11
mveDave Kreskowiak3-Jan-14 14:11 
GeneralRe: about Sign unsigned drivers Pin
delphix54-Jan-14 2:48
delphix54-Jan-14 2:48 
Questionget the property name of custom folder Pin
Member 102635192-Jan-14 19:54
Member 102635192-Jan-14 19:54 
AnswerRe: get the property name of custom folder Pin
Eddy Vluggen3-Jan-14 6:23
professionalEddy Vluggen3-Jan-14 6:23 
QuestionDeserialize Pin
shers2-Jan-14 18:52
shers2-Jan-14 18:52 
AnswerRe: Deserialize Pin
dan!sh 2-Jan-14 21:02
professional dan!sh 2-Jan-14 21:02 
QuestionHow to save data in c# Pin
gaurav23252-Jan-14 18:24
gaurav23252-Jan-14 18:24 
QuestionRe: How to save data in c# Pin
Richard MacCutchan2-Jan-14 21:31
mveRichard MacCutchan2-Jan-14 21:31 
AnswerRe: How to save data in c# Pin
OriginalGriff2-Jan-14 21:35
mveOriginalGriff2-Jan-14 21:35 
AnswerRe: How to save data in c# Pin
Eddy Vluggen3-Jan-14 6:24
professionalEddy Vluggen3-Jan-14 6:24 
QuestionFilter list of classes by ComboBox. Harder than I thought. Pin
dudz artiaga2-Jan-14 4:10
dudz artiaga2-Jan-14 4:10 

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.