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

C#

 
GeneralRe: Crystal Reports and .net Pin
Braulio Dez28-May-03 3:44
Braulio Dez28-May-03 3:44 
GeneralC# graphics help required urgent. Pin
Hayat28-May-03 0:48
Hayat28-May-03 0:48 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:23
Hayat30-May-03 0:23 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:29
Hayat30-May-03 0:29 
GeneralUpdating data programmatically Pin
totig27-May-03 23:28
totig27-May-03 23:28 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 0:44
jtmtv1828-May-03 0:44 
GeneralRe: Updating data programmatically Pin
totig28-May-03 2:51
totig28-May-03 2:51 
GeneralRe: Updating data programmatically Pin
Rocky Moore28-May-03 3:38
Rocky Moore28-May-03 3:38 
With the data in a DataSet you can simply set the filter on the DefaultView for the table in the DataSet. If you are not using a strongly typed DataSet and you now there is only one table in your DataSet you can:

myDataSet.Tables[0].DefaultView.Filter = "IDField="+theValueTheyEntered.ToString();

That would give you one item in the DefaultView, and you would bind your grid or whatever you want to display the row to the:

myDataSet.Tables[0].DefaultView

I do not know if you have much experience in this area. If not, you might want to check out the DataForm Wizard in VS.NET (assuming you are using Visual Studio.NET). It will take a table and generate a dialog window with all the controls to load, update, delete and navigate through the table one record at a time. It also will generate a Master/Detail dialog window that allows you to select a master record in display a grid with the matching details all in the same window. Really nice for starters.

Rocky Moore <><
GeneralRe: Updating data programmatically Pin
totig28-May-03 5:16
totig28-May-03 5:16 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 11:20
jtmtv1828-May-03 11:20 
GeneralXML Loading Problem Pin
Nick Parker27-May-03 17:10
protectorNick Parker27-May-03 17:10 
GeneralRe: XML Loading Problem Pin
J. Dunlap27-May-03 20:21
J. Dunlap27-May-03 20:21 
GeneralRe: XML Loading Problem Pin
Nick Parker28-May-03 1:43
protectorNick Parker28-May-03 1:43 
GeneralGrabbing Text Input with C# / .net Pin
dratti27-May-03 12:41
dratti27-May-03 12:41 
GeneralInstantiate .NET type within web page (like ActiveX) Pin
Michal Januszczyk27-May-03 10:15
sussMichal Januszczyk27-May-03 10:15 
GeneralRe: Instantiate .NET type within web page (like ActiveX) Pin
Vasudevan Deepak Kumar27-May-03 19:52
Vasudevan Deepak Kumar27-May-03 19:52 
GeneralRe: Instantiate .NET type within web page (like ActiveX) Pin
Ed K30-May-03 3:49
Ed K30-May-03 3:49 
GeneralGood Enum Question Pin
Ed K27-May-03 9:26
Ed K27-May-03 9:26 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 11:29
Eric Gunnerson (msft)27-May-03 11:29 
GeneralRe: Good Enum Question Pin
ralfoide27-May-03 14:08
ralfoide27-May-03 14:08 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 17:43
Eric Gunnerson (msft)27-May-03 17:43 
GeneralRe: Good Enum Question Pin
J. Dunlap27-May-03 14:11
J. Dunlap27-May-03 14:11 
GeneralRe: Good Enum Question Pin
KingTermite27-May-03 11:32
KingTermite27-May-03 11:32 
GeneralRe: Good Enum Question Pin
Rein Hillmann27-May-03 15:26
Rein Hillmann27-May-03 15:26 
GeneralRe: Good Enum Question Pin
leppie28-May-03 6:57
leppie28-May-03 6:57 

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.