Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: About error monitoring ? Pin
fu012-Jul-04 15:35
fu012-Jul-04 15:35 
GeneralRe: About error monitoring ? Pin
exhaulted12-Jul-04 21:48
exhaulted12-Jul-04 21:48 
GeneralRe: About error monitoring ? Pin
fu013-Jul-04 15:51
fu013-Jul-04 15:51 
GeneralRe: About error monitoring ? Pin
exhaulted13-Jul-04 22:43
exhaulted13-Jul-04 22:43 
GeneralRe: About error monitoring ? Pin
fu014-Jul-04 2:44
fu014-Jul-04 2:44 
GeneralRe: About error monitoring ? Pin
exhaulted14-Jul-04 4:34
exhaulted14-Jul-04 4:34 
GeneralDataView binding with Dataset Pin
orpus11-Jul-04 20:16
orpus11-Jul-04 20:16 
GeneralRe: DataView binding with Dataset Pin
Heath Stewart12-Jul-04 4:11
protectorHeath Stewart12-Jul-04 4:11 
orpus wrote:
How will I accomplish this the task? How do i save the Columns and fields of the ListView into a dataset

The ListView does not support data-binding like this. You must enumerate ListView.Items and for each row enumerate ListViewItem.SubItems. Each ListViewItem represents a separate DataRow which can be inserted into your DataTable (within a DataSet) in many different ways, which would be obvious if you read the class documentation[^] for the DataTable class in the .NET Framework SDK.

There are several methods that work a little different, from simply adding the row to updating an existing row (by key) or adding if the key doesn't exist. It's not worth discussing here because it's all documented in the .NET Framework SDK, which I've linked above.

 

Microsoft MVP, Visual C#
My Articles
GeneralApplying Windows XP look for my Application Pin
ilmian11-Jul-04 20:11
ilmian11-Jul-04 20:11 
GeneralRe: Applying Windows XP look for my Application Pin
partyganger11-Jul-04 21:24
partyganger11-Jul-04 21:24 
GeneralRe: Applying Windows XP look for my Application Pin
ilmian11-Jul-04 23:59
ilmian11-Jul-04 23:59 
GeneralRe: Applying Windows XP look for my Application Pin
Dave Kreskowiak12-Jul-04 1:00
mveDave Kreskowiak12-Jul-04 1:00 
GeneralRe: Applying Windows XP look for my Application Pin
ilmian12-Jul-04 2:00
ilmian12-Jul-04 2:00 
GeneralRe: Applying Windows XP look for my Application Pin
Heath Stewart12-Jul-04 3:06
protectorHeath Stewart12-Jul-04 3:06 
GeneralMicrosoft ObjectSpaces Pin
sreejith ss nair11-Jul-04 17:54
sreejith ss nair11-Jul-04 17:54 
GeneralRe: Microsoft ObjectSpaces Pin
Colin Angus Mackay11-Jul-04 22:36
Colin Angus Mackay11-Jul-04 22:36 
GeneralHelp. Exporting to Excel Workbook using ASP.NET,C# Pin
frdharish11-Jul-04 17:17
frdharish11-Jul-04 17:17 
GeneralLength of proportional width string Pin
SnuhEyeless11-Jul-04 16:19
SnuhEyeless11-Jul-04 16:19 
GeneralRe: Length of proportional width string Pin
Jay Shankar11-Jul-04 16:56
Jay Shankar11-Jul-04 16:56 
GeneralRe: Length of proportional width string Pin
exhaulted12-Jul-04 3:26
exhaulted12-Jul-04 3:26 
GeneralRe: Length of proportional width string Pin
SnuhEyeless15-Jul-04 12:34
SnuhEyeless15-Jul-04 12:34 
GeneralOLE Containers Pin
LZ-AT-WORK11-Jul-04 14:29
LZ-AT-WORK11-Jul-04 14:29 
GeneralPrinting Controls with Page Margins Pin
myNameIsRon11-Jul-04 13:51
myNameIsRon11-Jul-04 13:51 
GeneralRe: Printing Controls with Page Margins Pin
exhaulted12-Jul-04 3:41
exhaulted12-Jul-04 3:41 
GeneralRe: Printing Controls with Page Margins Pin
myNameIsRon13-Jul-04 13:21
myNameIsRon13-Jul-04 13: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.