Click here to Skip to main content
15,607,413 members
Home / Discussions / C#
   

C#

 
GeneralRe: Who can help me about this question? Pin
je_gonzalez17-Jan-04 8:57
je_gonzalez17-Jan-04 8:57 
GeneralDatagrid and c# Pin
caheo16-Jan-04 14:08
caheo16-Jan-04 14:08 
GeneralRe: Datagrid and c# Pin
Heath Stewart16-Jan-04 19:29
protectorHeath Stewart16-Jan-04 19:29 
QuestionEditboxes show unknown chars as ?? Pin
Anonymous16-Jan-04 14:02
Anonymous16-Jan-04 14:02 
AnswerRe: Editboxes show unknown chars as ?? Pin
LiquidKnight16-Jan-04 14:06
LiquidKnight16-Jan-04 14:06 
AnswerRe: Editboxes show unknown chars as ?? Pin
Heath Stewart16-Jan-04 19:22
protectorHeath Stewart16-Jan-04 19:22 
GeneralGive name to table from stored procedure Pin
laphijia16-Jan-04 8:29
laphijia16-Jan-04 8:29 
GeneralRe: Give name to table from stored procedure Pin
Rocky Moore16-Jan-04 8:44
Rocky Moore16-Jan-04 8:44 
If you are using a DataAdapter to fill you dataset you can always create a strong typed dataset which allows you to access the data as:

myDs.MyTableName[row].MyField;

or

dsMyStrongType.MyStrongTypeRow dr = myDs.MyTableName[row];
dr.MyField = something

Makes life a lot easier and less apt to have typos on field names (plus you get Intellesense). Just build your DataAdapter in the editor and the right click on it to generate a dataset. If your stored procedure returns multiple results it will build a table by name for each. You can also select the table mapping property to call the tables anything you like.

Really cool stuff.




Rocky <><
www.HintsAndTips.com
GeneralRe: Give name to table from stored procedure Pin
Guillermo Rivero16-Jan-04 12:51
Guillermo Rivero16-Jan-04 12:51 
GeneralRe: Give name to table from stored procedure Pin
Heath Stewart16-Jan-04 19:18
protectorHeath Stewart16-Jan-04 19:18 
GeneralLearned something new.. Pin
Rocky Moore16-Jan-04 8:14
Rocky Moore16-Jan-04 8:14 
GeneralRe: Learned something new.. Pin
Mazdak16-Jan-04 8:22
Mazdak16-Jan-04 8:22 
GeneralRe: Learned something new.. Pin
leppie16-Jan-04 9:01
leppie16-Jan-04 9:01 
QuestionHow to test Microphone, Pin
Shahin7716-Jan-04 6:57
Shahin7716-Jan-04 6:57 
AnswerRe: How to test Microphone, Pin
Hauptman(n)16-Jan-04 7:25
Hauptman(n)16-Jan-04 7:25 
GeneralRe: How to test Microphone, Pin
eggie516-Jan-04 11:39
eggie516-Jan-04 11:39 
GeneralRe: How to test Microphone, Pin
Guillermo Rivero16-Jan-04 12:09
Guillermo Rivero16-Jan-04 12:09 
GeneralRe: How to test Microphone, Pin
Hauptman(n)17-Jan-04 0:47
Hauptman(n)17-Jan-04 0:47 
Generalseting focus on a control Pin
elena1234516-Jan-04 6:54
elena1234516-Jan-04 6:54 
GeneralRe: seting focus on a control Pin
Heath Stewart16-Jan-04 7:11
protectorHeath Stewart16-Jan-04 7:11 
Question.NET Bug or bad code ? Pin
Guinness4Strength16-Jan-04 5:11
Guinness4Strength16-Jan-04 5:11 
AnswerRe: .NET Bug or bad code ? Pin
Daniel Turini16-Jan-04 5:20
Daniel Turini16-Jan-04 5:20 
GeneralRe: .NET Bug or bad code ? Pin
Guinness4Strength16-Jan-04 5:29
Guinness4Strength16-Jan-04 5:29 
GeneralRe: .NET Bug or bad code ? Pin
Heath Stewart16-Jan-04 5:42
protectorHeath Stewart16-Jan-04 5:42 
AnswerRe: .NET Bug or bad code ? Pin
Heath Stewart16-Jan-04 5:38
protectorHeath Stewart16-Jan-04 5:38 

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.