Search

You searched for the word(s): userid:831185

Matching Posts

  • Re: Update/Edit/Delete records in a GridView

    Inittilay the grid appears correctly but if I select a diff date the grid dissapears. If I select de initial date the grid reappears with a row selected for update. It's really odd.
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/31/2008
  • Re: Update/Edit/Delete records in a GridView

    You are right, I have changed the editgrid_click method. Let me try to explain what I need. When the form is first displayed I am running a stored procedure to get all the records for TODAYS date. On the form I have a calendar where the user can select a new date. When that happens I run the updategrid() to get the records for that particular day. But now the grid is not responding correctly. If I select a different day from the calendar and the press Edit strange things start to happen. Please check
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/31/2008
  • Re: Update/Edit/Delete records in a GridView

    Thanks that worked but now when I press the Edit button on the grid nothing happens, it wasn't supose to get the Update and Cancel buttons? any ideas? Here is the code: < asp : GridView ID ="dgAgenda" runat ="server" AutoGenerateColumns ="False" BorderColor ="Black" BorderStyle ="Solid" BorderWidth ="2px" CellPadding ="4" ForeColor ="#333333" OnRowDataBound ="dgAgenda_RowDataBound" datakeynames ="id_registo"
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/31/2008
  • Update/Edit/Delete records in a GridView

    Hi, I am trying to write some code to update/edit/delete records in a GridView but I am having problems. The GridView is populated through a stored procedure. Here is the code and the error I am getting. I have been doing searches over the net for the last two days and could not find an explanation that works. Can someone be so kind and explain me how can I write some code that will do just that? Store Procedure (GetAgendaHoje) SELECT CONVERT ( VARCHAR ( 10 ), e . data_evento , 103 ) as Data , e
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/31/2008
  • Re: Reformat sql data from for presenting in datagrid control

    Hi Qin Dian Tang, this is of a great help. I will study this code and check how can I apply it to my needs. Best regards Miguel Freitas
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/15/2008
  • Re: Reformat sql data from for presenting in datagrid control

    Hi Kabhishek I am using this query on a SQL Server 2008 Express DB select d . dia , e . descricao exe_seg , s . n_series ser_seg from dias_semana d , exercicios e , series s , customers c , perfil_pessoal pp , treino_pessoal tp where c . id_customer = @cust and pp . id_cust = @cust and tp . id_cust = @cust and tp . id_p_pessoal = pp . id_p_pessoal and tp . id_exercicio = e . id_exercicio and tp . id_dia = d . id_dia and tp . id_serie = s . id_serie Usually on a ORACLE DB I would use a bre ak on d
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/13/2008
  • Reformat sql data from for presenting in datagrid control

    Hi everybody I have an sql query that gets this data from a couple of tables dia exe_seg ser_seg Segunda Supino Plano 3x12 Segunda Supino Inclinado 3x12 Segunda Aberturas com Alteres 3x12 Terça Abdominais 3x20 Terça Lombares 3x20 Terça Passadeira 15' Quarta Remada Baixa 3x12 Quarta Fundos 3x12 Sexta-Feira Remo 15' and I would and I would like to bind it to a datagrid but with a different format, like this, Segunda Series Terça Series Quarta Series Supino Plano 3x12 Abdominais 3x20 Remada
    Posted to Data Presentation Controls (Forum) by mfreitas on 10/10/2008
Page 1 of 1 (7 items)