Click here to Skip to main content
15,891,633 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Calendar schedule control.... Pin
darkelv17-Jun-08 5:25
darkelv17-Jun-08 5:25 
QuestionAssign event to a particular combo in a DataGridView Pin
Anoop Unnikrishnan16-Jun-08 20:10
Anoop Unnikrishnan16-Jun-08 20:10 
QuestionPlug in development for Outlook express/ Windows Mail in win32 c Pin
dolly16-Jun-08 19:28
dolly16-Jun-08 19:28 
AnswerRe: Plug in development for Outlook express/ Windows Mail in win32 c Pin
Christian Graus17-Jun-08 2:30
protectorChristian Graus17-Jun-08 2:30 
Questiondata binding across multiple forms Pin
wjprice16-Jun-08 7:01
wjprice16-Jun-08 7:01 
AnswerRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 0:51
SomeGuyThatIsMe17-Jun-08 0:51 
GeneralRe: data binding across multiple forms Pin
wjprice17-Jun-08 1:48
wjprice17-Jun-08 1:48 
GeneralRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 2:01
SomeGuyThatIsMe17-Jun-08 2:01 
i never use the drag n drop setup for that stuff so i dont know how it sets things up..i usually use dataviews to bind to controls


DataView dv = dataSet.Tables["tableName"].DefaultView;
you can do sorting here with the dv.Sort property

lstBox.DataSource = dv;
lstBox.DataBind();

I've never used a table adapter. Once you alter the list you'll have to re-bind each control that references the dataset, so that they read the new data, it wont happen automatically, i dotn know how you are adding things to the data but if you arent using the list box to do it you'll have to call its databind method (assuming the dataset is updated, if not you'll have to get the data from the database and rebind that way). It could be loosing the refernce to the dataset in the first form when the first form goes away. try this:

wjprice wrote:
FormSite form = new FormSite();
form.ePaDateSet = this.ePaDataSet.Copy();
form.Show();


that should create another instance of the dataset if you watned to keep one on each form, but you may have issues with them getting out of synch, so keeping one dataset is a good idea, if possible.

Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

GeneralRe: data binding across multiple forms Pin
wjprice17-Jun-08 3:16
wjprice17-Jun-08 3:16 
GeneralRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 3:21
SomeGuyThatIsMe17-Jun-08 3:21 
QuestionDatetimePicker Control Time Format Pin
somagunasekaran16-Jun-08 2:04
somagunasekaran16-Jun-08 2:04 
AnswerRe: DatetimePicker Control Time Format Pin
Christian Graus16-Jun-08 2:37
protectorChristian Graus16-Jun-08 2:37 
GeneralRe: DatetimePicker Control Time Format Pin
led mike16-Jun-08 6:53
led mike16-Jun-08 6:53 
GeneralRe: DatetimePicker Control Time Format Pin
Christian Graus16-Jun-08 11:49
protectorChristian Graus16-Jun-08 11:49 
QuestionHow to set project path to a folder in windows application Pin
charanbura15-Jun-08 22:29
charanbura15-Jun-08 22:29 
AnswerRe: How to set project path to a folder in windows application Pin
Ashfield16-Jun-08 1:34
Ashfield16-Jun-08 1:34 
GeneralRe: How to set project path to a folder in windows application Pin
charanbura16-Jun-08 17:47
charanbura16-Jun-08 17:47 
QuestionWindows API double click Pin
Chris_McGrath15-Jun-08 16:22
Chris_McGrath15-Jun-08 16:22 
QuestionTreeview Control - Issue with [modified] Pin
Rome'14-Jun-08 21:40
Rome'14-Jun-08 21:40 
QuestionUse of CSS file in Windows form in C#.Net project [modified] Pin
Member 476460913-Jun-08 20:57
Member 476460913-Jun-08 20:57 
AnswerRe: Use of CSS file in Windows form in C#.Net project Pin
Ashfield15-Jun-08 22:14
Ashfield15-Jun-08 22:14 
QuestionVertical Title Windows Pin
EvgeniX13-Jun-08 17:08
EvgeniX13-Jun-08 17:08 
AnswerRe: Vertical Title Windows Pin
Kristian Sixhøj13-Jun-08 19:47
Kristian Sixhøj13-Jun-08 19:47 
QuestionWindow closing for IE dialogs Pin
Andy Brummer13-Jun-08 9:04
sitebuilderAndy Brummer13-Jun-08 9:04 
QuestionGetting really simple simple-binding to work Pin
Nigel Mackay13-Jun-08 5:21
Nigel Mackay13-Jun-08 5:21 

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.