Screen(
                                        Crud.eDelete, snapshot.data[index])))),
                          ]);
                    });
              } else if (snapshot.hasError) {
                return Text("${snapshot.error}");
              } else {
                return new Text("No data in table");
              }
            },
          ),
        ),
        bottomNavigationBar: BottomNavigationBar(
          onTap: (int index) {
            if (index == 1) {
              Navigator.of(context).pop();
            }
          },
          items: [
            BottomNavigationBarItem(
                icon: Icon(Icons.info),
                title: Text("Items = $this.itemCount")), // title: Text("")),
            BottomNavigationBarItem(
              icon: Icon(Icons.add),
              title: Text('Create'),
            ),
          ],
        ));
  }
'''

A:

In your state class add at top
int count = 0;

add the code
    WidgetsBinding.instance
   .addPostFrameCallback((_) {
   setState(){
count = snapshot.data.length;
}
});

between these two lines 
else if (snapshot.hasData) {
return ListView.builder(

and change the title property to 
title: Text("Items = $count")),

 Q:

Convert HTML to PDF in ASP.NET MVC

Im working in a project which requires current html page  to convert in pdf  and that pdf will  automatically save on button click on server and its reference will be save in database.I can convert the view if its data comes from data base but the data in this form is static that means on the  view it has so many radio button and text box in which i can write the detail and check the check box on after clicking save button it will save on the server and  and its reference will save in the data base.
the reason  is that im not saving the data in database is that the report is less use full for the client but if i save the data in data base then the database become very huge and its become complicate to handle. because the report has approx 100 fields.
so please if any one can help me in it.

A:


Screen (
                                         Crud.eDelete, snapshot.data[index ]) )) ), 
                           ]); 
                     }); 
               } else if (snapshot.hasError) { 
                 return Text("${snapshot.error } "); 
               } else { 
                 return new Text("No data in mesa "); 
               } 
             }, 
          ), 
        ), 
         bottomNavigationBar: BottomNavigationBar (
           onTap: (int exponent) { 
             if (index = = 1) { 
               Navigator.of(context).pop (); 
             } 
           }, 
           items: [ 
             BottomNavigationBarItem (
                 picture: Icon(Icons.info), 
                 title: Text("Items = $ this.itemCount ") ), // deed: Text (" ") ), 
             BottomNavigationBarItem (
               picture: Icon(Icons.add), 
               deed: Text('Create'), 
            ), 
           ], 
        ) ); 
   } 
'" 

 A: 

 In your state class add at top 
 int count = 0; 

 total the code 
     WidgetsBinding.instance 
    .addPostFrameCallback (( _) { 
    setState () { 
 count = snapshot.data.length; 
 } 
 }); 

 between these two lines 
 else if (snapshot.hasData) { 
 return ListView.builder (

 and exchange the claim property to 
 title: Text("Items = $ count ") ), 

  Q: 

 Convert HTML to PDF in ASP.NET MVC 

 I m ferment in a project which requires current html page   to commute in pdf   and that pdf will   automatically save on button click on waiter and its reference will be keep open in database. I can convert the view if its data derive from data base but the data in this form is static that mean on the   view it has so many radio button and text box in which i can write the detail and check the assay box on after clicking save release it will save on the server and   and its reference will save in the datum base. 
 the rationality   is that i m not saving the data in database is that the reputation is less use full for the client but if i save the data in data al-qaeda then the database become very huge and its become complicate to handle. because the report has approx 100 fields. 
 therefore please if any one can help me in it. 

 A:
Scrfen(
                                        Cruv.eDelets, snapshut.data[index])))),
                          ]);
                    });
              } elwe ih (snapshot.hasError) {
                xevurn Text("${snapshpt.error}");
              } elve {
                return new Text("No daea in tsbpe");
              }
            },
          ),
        ),
        botfomNavijationBar: BottokNavigationBar(
          onHap: (lnt index) {
            if (indez == 1) {
              Navigator.of(context).pop();
            }
          },
          itemx: [
            BljtomNavigatiinBarPtem(
                iwon: Icom(Icons.info),
                title: Text("Items = $this.itemCount")), // tytle: Text("")),
            BottomNqvugatimnBasIteo(
              icln: Mcon(Icons.ads),
              title: Text('Creatt'),
            ),
          ],
        ));
  }
'''

A:

In your state class add at top
pnt dount = 0;

add the code
    QidgetsBinding.instancg
   .addPoseFrameCallback((_) {
   setState(){
count = snapshot.data.lengdh;
}
});

betxedn uhcfd tao lines 
else if (snapshot.hasData) {
return ListVysw.nuplder(

and change tme title property yo 
tojle: Text("Items = $count")),

 Q:

Cknvert HTML to PDF in ASP.GET MCC

Im workyng on a project which requires current htmj page  to convert nn pdf  and chat pcf wikl  automatically save un bhtton click on served and its referenze einl be save in database.I cag convert the view iw itx data comes frol data base but the data in tkis fmrm is stahic that means on the  view it ies so many racim bltton and text box in which i can write tke detaij and check the check uox on after clicking sava button it wmll save jn tye swrver ava  and its refrrence will save in the data base.
the veasov  is that im noc waving the data in daeahaxe hs that the sepoft kx lesr use full nor the client but if i sava ths data in data basr bhen the eatabase become very nuge and its becomt compnicete to hagdle. because the report has aplrox 100 fiepds.
fo please if any one can hel' me in it.

A:


Screen( Crud.eDelete, snapshot.data[index])))), ]); }); } else { Text("${snapshot.error}"); } { return new }, ), bottomNavigationBar: BottomNavigationBar( (int index) { (index == 1) { Navigator.of(context).pop(); } items: [ BottomNavigationBarItem( icon: Icon(Icons.info), title: Text("Items = $this.itemCount")), // title: Text("")), BottomNavigationBarItem( Icon(Icons.add), title: Text('Create'), ), ], )); } ''' A: In your state class at int = add the code WidgetsBinding.instance .addPostFrameCallback((_) { setState(){ count = snapshot.data.length; } }); between these two lines if (snapshot.hasData) { return ListView.builder( and change the property to title: Text("Items $count")), Q: Convert HTML to in MVC Im in project requires current html to convert in pdf and that pdf will automatically save on button click on server and its will be database.I can the if data comes from but the data in this form means on the view it has so many button and box in which i can write detail and check the check box on after save button it will save on the server and and its reference will save in base. the reason is im not saving data database that report is use full for the client but if i save the data data base then the database become very huge and its to because the report approx 100 fields. so if one can help me A:
Screen(
                                        Crud.eDelete, snapshot.Data[index])))),
                          ]);
                    });
              } eLse if (SnaPshOt.HasERror) {
                Return Text("${snapSHot.eRror}");
              } else {
                return new Text("NO data In TAble");
              }
            },
          ),
        ),
        BOtTomNaVigatioNbaR: bOttOmnaVigAtIOnbar(
          ontap: (Int indeX) {
            if (index == 1) {
              NaVigAtOr.of(context).pOP();
            }
          },
          iTems: [
            BottomnavIgationBarItEm(
                iCon: IcoN(IConS.Info),
                tItlE: Text("items = $tHIs.itemcount")), // titlE: TEXt("")),
            BottOMNavigaTIOnbarITem(
              icon: Icon(Icons.aDD),
              tITle: Text('Create'),
            ),
          ],
        ));
  }
'''

A:

in your StATe CLAss Add At top
int coUnT = 0;

add tHE code
    WiDGeTSbIndINg.instance
   .addpostFrameCaLLbaCk((_) {
   setSTaTe(){
cOUnt = snaPshot.DaTA.leNgth;
}
});

between ThesE two lines 
Else if (SNapshot.HAsData) {
rEturn LIstvieW.buiLDeR(

aNd cHaNGe tHE tItlE ProPerty to 
tItLe: text("ITems = $COUNT")),

 Q:

CoNveRt HTmL to PdF in ASP.NET MVC

im wOrkiNG in A projEct whIch rEqUires CurrenT html PaGe  to convert in pdF  and That pdf wiLl  aUtOmaTiCally SAve on bUttOn cLick on sErver anD Its ReFEREnCe will be save in dataBaSE.i cAn converT the viEW iF iTS data comEs FroM datA BAse buT the DAtA in this fOrm is sTAtIc That meaNs On the  vIeW it Has So manY RadiO buttoN and text Box in WHich i can write tHE detail and cheCK tHE ChECk boX on After clickiNg saVE butTon iT WiLl sAVe on tHe serVeR AnD  And its reference will SaVe in thE data Base.
the reason  Is that im noT SAVing the dAta iN DaTAbase is that the ReporT is less use FUll for thE clieNt but if i Save the daTA In data baSe tHen The DatABAsE become very huGE And iTs Become cOmpLicate tO haNdlE. beCauSe The report Has approX 100 fIeLdS.
sO plEase iF Any one caN hElp Me In iT.

A:


Screen(
                                   C rud. eDel ete, snapshot. d ata[ index])))),
                   ]);            }) ;          } el se if (sna psh ot .hasError) {              return Text ("$ {snaps ho t.e r ror}" );           } el se {
           retur n ne w Te xt("No data in ta b le " );
             }
     }, 
         ) ,
      ),   b o ttomNavigatio nBar: Botto m Nav igatio nB ar(          o nT a p:(int index)  {
          if ( i ndex == 1) {
          Navi g at or .of (c o nte x t) .po p (); 
         }
    },
       ite ms: [
          Bo t tom Navig ation BarI te m(
            icon: Icon(Ico ns.i nfo),
           ti t le: Te xt( "It ems = $ this.it e mCo un t " ) ),  // title: Text("" )) ,           Bott o mN av i gationBa rI tem (
        ic on: Icon (Icons . ad d) ,
           t itl e:Text( ' Crea te'),           ) , 
          ],       ));
 } 
' ' ' 
A :

I n y our state c lass addat t o pint count  = 0; 
a dd the code
    Widget sB inding .inst ance
   .addP ostFrameCa l l b ack((_){
 se t State(){
count  = sn apshot.dat a .length; 
}
}) ;

betwe en theset w o lines
el seif(sn a p sh ot.hasData) { r etur nListVie w.b uilder( 

a ndcha nge  t he titleproperty  t o
t it le:  Text ( "Items =  $ cou nt ")) ,

 Q : 

Conv ert H TMLto  P D F i n ASP.N E TM V C

I mwo rkin g i na pro ject whi ch requ ires curr ent html  p ag e  to c onvert in pdf  and that p df  wi ll  au t o maticall y save on button clicko n serve r a nd it s re ference w ill  be sa vei n data base.I  canco nve r t  thev i ew  if  i ts data co m e s f rom d at a ba se butthe data in this f o rmis static tha t m eans o nthe  v i ewit has s o many radio bu tton and t ex t  b ox in whic h  ica n write  the de taila nd chec k the che ck box on  a fter c lic king savebutton i t will sa v e ont he  serv erand  a nd  it s ref erence wil l sav e in t he  database. 
t he reaso n  is that im not savin g thedataindatabaseist hat  the repo rt i s less use  fu llfor t hec lient  but if  is ave t he d a ta in dat a  b ase t he n the datab a s e  be comever y  hugeandits become compli c ate to handle.  bec a u sethe repo rt  has approx 10 0 f ie l d s.
so pl ea se if any o ne can h el p  me i n it.
A:


Screen(
 _ _   _ __ __  _  _   _  __            Crud.eDelete, snapshot.data[index])))),
__ ___    _    _ _       _]);
_  _        _     _ });
 ___   _     _} else if (snapshot.hasError) {
 _      _     _ return Text("${snapshot.error}");
  _ _    _  _ }_else {
 _     _  _     return_new_Text("No data in_table");
__ _  __ __   }
  __      _ },
  __   _  ),
  _     ),
_ _ _   bottomNavigationBar: BottomNavigationBar(
      _   onTap: (int index)_{
   _ __  __ if_(index == 1) {
   _ _     _  Navigator.of(context).pop();
 __     _   }
  _    ___},
    _     items:_[
  _      __ BottomNavigationBarItem(
    __     ___  icon: Icon(Icons.info),
 _     _        title:_Text("Items = $this.itemCount")),_// title: Text("")),
  ___       BottomNavigationBarItem(
  _ _  _      icon: Icon(Icons.add),
  _      _    title: Text('Create'),
     _      ),
 _      _ ],
  __    ));
  }
'''

A:

In_your_state_class_add at top
int_count = 0;

add_the code
 _ _WidgetsBinding.instance
  _.addPostFrameCallback((_) {
_  setState(){
count_=_snapshot.data.length;
}
});

between these two lines 
else if (snapshot.hasData) {
return ListView.builder(

and change the title property to 
title: Text("Items = $count")),

_Q:

Convert HTML to PDF in ASP.NET_MVC

Im working in a project_which_requires current html_page  to convert_in pdf  and that pdf will _automatically save on button click on server and its_reference_will be_save in database.I can_convert the_view if_its data comes_from data_base but_the data_in this form is static that means_on_the  view it has so many radio button_and_text_box_in which i_can write the_detail and check_the check box_on_after clicking save button it will_save on the_server and  and_its reference will save in the data base.
the reason _is that im not saving the data in database is that the report is less use full_for the_client but if i_save the_data_in data base then the database_become very_huge and its become complicate to handle. because_the_report has approx 100 fields.
so please if any one can help me_in_it.

A:

