Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/01/2015, 23:56
wwwmaster
 
Fecha de Ingreso: noviembre-2002
Ubicación: DF
Mensajes: 1.056
Antigüedad: 21 años, 5 meses
Puntos: 37
Respuesta: duda en c# web :S

Yo cargo asi mis gridview (con Visual Basic):
El metodo: objRutinasDB.recuperarRecordsetGENERICO_SQLDR me retorna un datatable o SqlDataReader


strSql = "SELECT * FROM areas "
strSql = strSql & " WHERE areas.idCompania= '" & idCompaniaMAIN & "'"
rsTemporal = objRutinasDB.recuperarRecordsetGENERICO_SQLDR(strS ql)

GridView1.DataSource = rsTemporal 'DS.Tables("locaciones").DefaultView
GridView1.DataBind()