Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
QuestionHow to resize column width of datagrid. Pin
Inpreet Singh17-Mar-04 0:49
Inpreet Singh17-Mar-04 0:49 
AnswerRe: How to resize column width of datagrid. Pin
Mazdak17-Mar-04 3:29
Mazdak17-Mar-04 3:29 
AnswerRe: How to resize column width of datagrid. Pin
Heath Stewart17-Mar-04 5:47
protectorHeath Stewart17-Mar-04 5:47 
Questionhow to write meta information in files? Pin
g112917-Mar-04 0:42
g112917-Mar-04 0:42 
AnswerRe: how to write meta information in files? Pin
Heath Stewart17-Mar-04 5:42
protectorHeath Stewart17-Mar-04 5:42 
Generalwindows explorer type Treeview/Listview structure Pin
Inpreet Singh17-Mar-04 0:38
Inpreet Singh17-Mar-04 0:38 
GeneralRe: windows explorer type Treeview/Listview structure Pin
Heath Stewart17-Mar-04 5:37
protectorHeath Stewart17-Mar-04 5:37 
GeneralUpdate data in Grid on form1 from form2. Pin
Inpreet Singh16-Mar-04 23:55
Inpreet Singh16-Mar-04 23:55 
Hello,
I am using Datagrid to show records and there are two buttons for Add new record and edit record. when add or edit button is clicked new form is opened where user enter data n after clicking ok on that form activation returns to datagrid form. Now the problem is, I want to execute UpdateGrid() method which shows updated data into grid. This can be called on Activated event of the form but if that form is MDI child Activated event does not work. so after editing or add new record I don't have any event to raise to update data into grid. If I don't make grid form as MDI child Activated event work properly but that doesn't fullfill my requirement. So plz could u tell me how to solve this problem. I tried making UpdateGrid() function as public and calling this function from add or edit on close event. but it haven't update my grid. Thank you for your support.


Inpreet Singh
GeneralRe: Update data in Grid on form1 from form2. Pin
Heath Stewart17-Mar-04 5:33
protectorHeath Stewart17-Mar-04 5:33 
GeneralListView update Problem Pin
Snowjim16-Mar-04 23:55
Snowjim16-Mar-04 23:55 
GeneralRe: ListView update Problem Pin
Heath Stewart17-Mar-04 5:29
protectorHeath Stewart17-Mar-04 5:29 
GeneralSTGMEDIUM Union Layout Woes Pin
Tristan Rhodes16-Mar-04 22:03
Tristan Rhodes16-Mar-04 22:03 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Heath Stewart17-Mar-04 4:51
protectorHeath Stewart17-Mar-04 4:51 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:18
Tristan Rhodes17-Mar-04 5:18 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:47
Tristan Rhodes17-Mar-04 5:47 
QuestionHow to use class in Web Service Pin
boat2002w16-Mar-04 22:01
boat2002w16-Mar-04 22:01 
AnswerRe: How to use class in Web Service Pin
Mazdak16-Mar-04 22:17
Mazdak16-Mar-04 22:17 
GeneralRe: How to use class in Web Service Pin
boat2002w16-Mar-04 22:30
boat2002w16-Mar-04 22:30 
GeneralRe: How to use class in Web Service Pin
Mazdak17-Mar-04 3:26
Mazdak17-Mar-04 3:26 
AnswerRe: How to use class in Web Service Pin
Michael Flanakin17-Mar-04 18:44
Michael Flanakin17-Mar-04 18:44 
GeneralEasy Arithmetic question Pin
northernlights16-Mar-04 21:02
northernlights16-Mar-04 21:02 
GeneralRe: Easy Arithmetic question Pin
Colin Angus Mackay16-Mar-04 22:48
Colin Angus Mackay16-Mar-04 22:48 
GeneralRe: Easy Arithmetic question Pin
northernlights16-Mar-04 23:49
northernlights16-Mar-04 23:49 
GeneralRe: Easy Arithmetic question Pin
Chris Meech17-Mar-04 4:05
Chris Meech17-Mar-04 4:05 
GeneralRe: Easy Arithmetic question Pin
Manster17-Mar-04 4:39
Manster17-Mar-04 4:39 

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.