I need to get the value of a datatable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • macupryk
    New Member
    • Sep 2006
    • 24

    I need to get the value of a datatable

    I need to get the value of a datatable.

    _dtProjectQuest ion[Convert.ToInt32 (var.no)][3],



    ProjectQuestion ToDatabase.Proj ectResponseandR espondentToDB(_ dtProjectQuesti on[Convert.ToInt32 (var.no)][3], intId, Convert.ToInt32 (var.no));
    Error 1 Cannot apply indexing with [] to an expression of type 'System.Data.Da taTable' C:\Voxco.Report Generator\dotNE T2.0\Voxco.Repo rtGenerator\Vox co.ReportGenera torImport\Voxco .ReportGenerato r.Importing\XML ParseProject.cs 90 76 Voxco.ReportGen erator.Importin g

    How do I this?
  • axas
    New Member
    • Jul 2006
    • 32

    #2
    What do you want to get, the value of a row from the dataTable?

    Comment

    Working...