Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
QuestionVisual Studio 2008 Pro edition Pin
VS newbie 29-Oct-09 21:12
VS newbie 29-Oct-09 21:12 
AnswerRe: Visual Studio 2008 Pro edition Pin
SeMartens29-Oct-09 23:37
SeMartens29-Oct-09 23:37 
Questionco-relating C#, GPS and NXT Pin
melvin199029-Oct-09 20:15
melvin199029-Oct-09 20:15 
Questionabout database Pin
miss YY29-Oct-09 19:00
miss YY29-Oct-09 19:00 
AnswerRe: about database Pin
miss YY29-Oct-09 19:07
miss YY29-Oct-09 19:07 
GeneralRe: about database Pin
padmanabhan N29-Oct-09 19:57
padmanabhan N29-Oct-09 19:57 
GeneralRe: about database Pin
Christian Graus29-Oct-09 20:57
protectorChristian Graus29-Oct-09 20:57 
GeneralRe: about database Pin
miss YY1-Nov-09 20:40
miss YY1-Nov-09 20:40 
use BindingManagerBase Class,it can be finished

private void GetBindingManagerBase()
{
/* CustomersToOrders is the RelationName of a DataRelation.
Therefore, the list maintained by the BindingManagerBase is the
list of orders that belong to a specific customer in the
DataTable named Customers, found in DataSet1. */
myBindingManagerBase =
this.BindingContext[DataSet1, "Customers.CustomersToOrders"];

// Adds delegates to the CurrentChanged and PositionChanged events.
myBindingManagerBase.PositionChanged +=
new EventHandler(BindingManagerBase_PositionChanged);
myBindingManagerBase.CurrentChanged +=
new EventHandler(BindingManagerBase_CurrentChanged);
}

private void BindingManagerBase_PositionChanged
(object sender, EventArgs e)
{
// Prints the new Position of the BindingManagerBase.
Console.Write("Position Changed: ");
Console.WriteLine(((BindingManagerBase)sender).Position);
}

private void BindingManagerBase_CurrentChanged
(object sender, EventArgs e)
{
// Prints the new value of the current object.
Console.Write("Current Changed: ");
Console.WriteLine(((BindingManagerBase)sender).Current);
}

private void MoveNext()
{
// Increments the Position property value by one.
myBindingManagerBase.Position += 1;
}

private void MovePrevious()
{
// Decrements the Position property value by one.
myBindingManagerBase.Position -= 1;
}

private void MoveFirst()
{
// Goes to the first row in the list.
myBindingManagerBase.Position = 0;
}

private void MoveLast()
{
// Goes to the last row in the list.
myBindingManagerBase.Position =
myBindingManagerBase.Count - 1;
}
Questionabout tree view Pin
miss YY29-Oct-09 18:35
miss YY29-Oct-09 18:35 
AnswerRe: about tree view Pin
Christian Graus29-Oct-09 18:45
protectorChristian Graus29-Oct-09 18:45 
GeneralRe: about tree view Pin
vivasaayi29-Oct-09 19:09
vivasaayi29-Oct-09 19:09 
QuestionNeed advice and help with editing arraylists Pin
rooster215429-Oct-09 17:17
rooster215429-Oct-09 17:17 
AnswerRe: Need advice and help with editing arraylists Pin
Luc Pattyn29-Oct-09 17:33
sitebuilderLuc Pattyn29-Oct-09 17:33 
GeneralRe: Need advice and help with editing arraylists Pin
rooster215431-Oct-09 14:49
rooster215431-Oct-09 14:49 
GeneralRe: Need advice and help with editing arraylists Pin
Luc Pattyn31-Oct-09 15:17
sitebuilderLuc Pattyn31-Oct-09 15:17 
QuestionTake pictures with multiple webcams Pin
toby3129-Oct-09 17:09
toby3129-Oct-09 17:09 
AnswerRe: Take pictures with multiple webcams Pin
Christian Graus29-Oct-09 18:46
protectorChristian Graus29-Oct-09 18:46 
QuestionPressing buttons in a webpage programmatically Pin
Nanostrike29-Oct-09 12:07
Nanostrike29-Oct-09 12:07 
AnswerRe: Pressing buttons in a webpage programmatically Pin
Christian Graus29-Oct-09 12:33
protectorChristian Graus29-Oct-09 12:33 
AnswerRe: Pressing buttons in a webpage programmatically Pin
Naruki30-Oct-09 0:13
Naruki30-Oct-09 0:13 
Questiontext formatting in two language Pin
Milad79429-Oct-09 10:26
professionalMilad79429-Oct-09 10:26 
AnswerRe: text formatting in two language Pin
Abhishek Sur29-Oct-09 10:38
professionalAbhishek Sur29-Oct-09 10:38 
Questionhow to open Image n Video file header in c# Pin
shrikant121329-Oct-09 8:29
shrikant121329-Oct-09 8:29 
AnswerRe: how to open Image n Video file header in c# Pin
Dave Kreskowiak29-Oct-09 10:39
mveDave Kreskowiak29-Oct-09 10:39 
AnswerRe: how to open Image n Video file header in c# Pin
Abhishek Sur29-Oct-09 10:40
professionalAbhishek Sur29-Oct-09 10:40 

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.