Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
AnswerRe: SerialPort acess using framework 2.0 Pin
Dave Kreskowiak14-Oct-05 4:34
mveDave Kreskowiak14-Oct-05 4:34 
GeneralRe: SerialPort acess using framework 2.0 Pin
varmag14-Oct-05 19:32
varmag14-Oct-05 19:32 
GeneralRe: SerialPort acess using framework 2.0 Pin
Dave Kreskowiak15-Oct-05 6:34
mveDave Kreskowiak15-Oct-05 6:34 
QuestionGetting values for arraylist of arrays? Pin
parvinder sehrawat13-Oct-05 20:10
parvinder sehrawat13-Oct-05 20:10 
AnswerRe: Getting values for arraylist of arrays? Pin
Guffa13-Oct-05 20:29
Guffa13-Oct-05 20:29 
AnswerRe: Getting values for arraylist of arrays? Pin
Maqsood Ahmed14-Oct-05 1:18
Maqsood Ahmed14-Oct-05 1:18 
QuestionUrgent -How to convert Dataview to DataSet Pin
ksumputh13-Oct-05 19:46
ksumputh13-Oct-05 19:46 
AnswerRe: Dataview to DataSet Pin
turbochimp13-Oct-05 19:58
turbochimp13-Oct-05 19:58 
If you already have a DataView (presumably with data "in" it), don't you have the DataSet too?

Can't you just do this:

public DataSet GetDsFromDv(DataView view)
{
    if (view != null && view.Table != null)
    {
        return view.Table.DataSet;
    }
    return null;
}

DataViews act on DataTables, after all. They're a tool for manipulating the data in tables.
There's no way of creating a brand new DataSet directly from a DataView, but then again, the DataView wouldn't have much meaning without the DataTable and DataSet.

Hope this helps.

The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

GeneralRe: Nope still not working for me :-( Pin
ksumputh13-Oct-05 20:13
ksumputh13-Oct-05 20:13 
GeneralRe: Dataview to DataSet Pin
turbochimp13-Oct-05 20:48
turbochimp13-Oct-05 20:48 
GeneralRe: Dataview to DataSet Pin
ksumputh22-Oct-05 8:35
ksumputh22-Oct-05 8:35 
QuestionProblem with projects in project Pin
hg270513-Oct-05 19:14
hg270513-Oct-05 19:14 
AnswerRe: Problem with projects in project Pin
Guffa13-Oct-05 19:48
Guffa13-Oct-05 19:48 
GeneralRe: Problem with projects in project Pin
hg270513-Oct-05 20:10
hg270513-Oct-05 20:10 
QuestionControl for live video display on windows form Pin
varmag13-Oct-05 19:01
varmag13-Oct-05 19:01 
QuestionDrawing is Lost when Paint is called... Pin
maddy jiger13-Oct-05 17:21
maddy jiger13-Oct-05 17:21 
AnswerRe: Drawing is Lost when Paint is called... Pin
Guffa13-Oct-05 19:54
Guffa13-Oct-05 19:54 
QuestionDatabase Access Problem with C# Pin
TheMajorRager13-Oct-05 17:01
TheMajorRager13-Oct-05 17:01 
GeneralRe: Database Access Problem with C# Pin
Luis Alonso Ramos13-Oct-05 17:19
Luis Alonso Ramos13-Oct-05 17:19 
AnswerRe: Database Access Problem with C# Pin
Gulfraz Khan14-Oct-05 4:09
Gulfraz Khan14-Oct-05 4:09 
GeneralRe: Database Access Problem with C# Pin
TheMajorRager14-Oct-05 6:59
TheMajorRager14-Oct-05 6:59 
QuestionEndless MessageBox Mess..... Pin
Anonymous13-Oct-05 13:21
Anonymous13-Oct-05 13:21 
AnswerRe: Endless MessageBox Mess..... Pin
Guffa13-Oct-05 20:01
Guffa13-Oct-05 20:01 
Questiontopmost form to the application only? Pin
zhyluopro13-Oct-05 13:07
zhyluopro13-Oct-05 13:07 
AnswerRe: topmost form to the application only? Pin
Luis Alonso Ramos13-Oct-05 17:22
Luis Alonso Ramos13-Oct-05 17:22 

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.