Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
General- Solved. - ref GUID? Pin
Tristan Rhodes12-Mar-04 1:02
Tristan Rhodes12-Mar-04 1:02 
GeneralRe: - Solved. - ref GUID? Pin
Mike Dimmick12-Mar-04 2:25
Mike Dimmick12-Mar-04 2:25 
GeneralRe: - Solved. - ref GUID? Pin
Tristan Rhodes12-Mar-04 3:20
Tristan Rhodes12-Mar-04 3:20 
Generalfill a textbox from a dataset Pin
krisman11-Mar-04 4:43
krisman11-Mar-04 4:43 
GeneralRe: fill a textbox from a dataset Pin
Guinness4Strength11-Mar-04 4:47
Guinness4Strength11-Mar-04 4:47 
GeneralRe: fill a textbox from a dataset Pin
krisman11-Mar-04 5:28
krisman11-Mar-04 5:28 
GeneralRe: fill a textbox from a dataset Pin
partyganger11-Mar-04 5:56
partyganger11-Mar-04 5:56 
GeneralRe: fill a textbox from a dataset Pin
Edbert P11-Mar-04 16:22
Edbert P11-Mar-04 16:22 
You can't just call DataBind() and expect .NET to solve everything for you.
You need to specify to which property of the textbox you want to bind the data to, and the table and column in the dataset.
Here's an example to bind the data to textbox's text property:

this.txtAddrUrbnCmtyID.DataBindings.Add(new Binding("Text", ds, "tableName.columnName"));

For more information, check the MSDN site for Binding Class[^].

Edbert P.
Sydney, Australia.
GeneralRe: fill a textbox from a dataset Pin
krisman15-Mar-04 2:56
krisman15-Mar-04 2:56 
GeneralRe: fill a textbox from a dataset Pin
Edbert P15-Mar-04 11:11
Edbert P15-Mar-04 11:11 
GeneralRe: fill a textbox from a dataset Pin
krisman16-Mar-04 2:51
krisman16-Mar-04 2:51 
GeneralWindows XP and Shell Pin
Guinness4Strength11-Mar-04 4:11
Guinness4Strength11-Mar-04 4:11 
GeneralRe: Windows XP and Shell Pin
Mike Dimmick12-Mar-04 2:28
Mike Dimmick12-Mar-04 2:28 
Generalprinting Pin
cmarmr11-Mar-04 4:01
cmarmr11-Mar-04 4:01 
GeneralRe: printing Pin
Not Active11-Mar-04 4:30
mentorNot Active11-Mar-04 4:30 
QuestionLock a file? Pin
Anonymous11-Mar-04 3:29
Anonymous11-Mar-04 3:29 
AnswerRe: Lock a file? Pin
Heath Stewart11-Mar-04 5:25
protectorHeath Stewart11-Mar-04 5:25 
AnswerRe: Lock a file? Pin
Manster11-Mar-04 5:46
Manster11-Mar-04 5:46 
GeneralRe: Lock a file? Pin
astanley12-Mar-04 2:06
sussastanley12-Mar-04 2:06 
GeneralRe: Lock a file? Pin
Heath Stewart12-Mar-04 3:11
protectorHeath Stewart12-Mar-04 3:11 
GeneralLicenseManager, LicenseProvider Pin
claude12345678911-Mar-04 3:11
claude12345678911-Mar-04 3:11 
GeneralRe: LicenseManager, LicenseProvider Pin
Heath Stewart11-Mar-04 4:47
protectorHeath Stewart11-Mar-04 4:47 
QuestionHow to use SetForegroundWindow in C#...?? Pin
Member 94012510-Mar-04 23:55
Member 94012510-Mar-04 23:55 
AnswerRe: How to use SetForegroundWindow in C#...?? Pin
Syed Abdul Khader11-Mar-04 2:05
Syed Abdul Khader11-Mar-04 2:05 
AnswerRe: How to use SetForegroundWindow in C#...?? Pin
Heath Stewart11-Mar-04 4:42
protectorHeath Stewart11-Mar-04 4: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.