Click here to Skip to main content
15,886,199 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex25-Sep-17 4:20
samflex25-Sep-17 4:20 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming25-Sep-17 4:30
mveRichard Deeming25-Sep-17 4:30 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex25-Sep-17 6:32
samflex25-Sep-17 6:32 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming25-Sep-17 6:36
mveRichard Deeming25-Sep-17 6:36 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex25-Sep-17 8:23
samflex25-Sep-17 8:23 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming25-Sep-17 10:43
mveRichard Deeming25-Sep-17 10:43 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex25-Sep-17 10:58
samflex25-Sep-17 10:58 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex26-Sep-17 6:56
samflex26-Sep-17 6:56 
Just for my sanity, it is C# that calls the SP and references CurrentTable datatable correct?

private void getRecs(int pin)
  {
      SqlConnection conn = new SqlConnection(connStr);
      SqlCommand cmd = new SqlCommand("sp_AllRecs", conn);
      cmd.CommandType = CommandType.StoredProcedure;
      SqlParameter p1 = new SqlParameter("@pin", pin);
      cmd.Parameters.Add(p1);
      SqlDataAdapter sda = new SqlDataAdapter(cmd);
      DataTable dtPrevRecords = new DataTable();
      sda.Fill(dtPrevRecords);
      if (dtPrevRecords.Rows.Count > 0)
      {

          Repeater2.DataSource = dtPrevRecords;
          Repeater2.DataBind();
          ViewState["CurrentTable"] = dtPrevRecords;
      }
  }


Something should be referencing PopulateRecord method to populate those values and load them to the form and that is not happening.
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming26-Sep-17 7:21
mveRichard Deeming26-Sep-17 7:21 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? (SOLVED) Pin
samflex26-Sep-17 7:59
samflex26-Sep-17 7:59 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming26-Sep-17 8:05
mveRichard Deeming26-Sep-17 8:05 
QuestionMy service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345320-Sep-17 1:26
professionalMember 1286345320-Sep-17 1:26 
AnswerRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Nathan Minier20-Sep-17 1:43
professionalNathan Minier20-Sep-17 1:43 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345320-Sep-17 18:58
professionalMember 1286345320-Sep-17 18:58 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Nathan Minier21-Sep-17 1:43
professionalNathan Minier21-Sep-17 1:43 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345322-Sep-17 23:44
professionalMember 1286345322-Sep-17 23:44 
AnswerRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Richard MacCutchan20-Sep-17 21:38
mveRichard MacCutchan20-Sep-17 21:38 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345320-Sep-17 21:52
professionalMember 1286345320-Sep-17 21:52 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Richard MacCutchan20-Sep-17 22:16
mveRichard MacCutchan20-Sep-17 22:16 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345320-Sep-17 22:33
professionalMember 1286345320-Sep-17 22:33 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Richard MacCutchan20-Sep-17 22:53
mveRichard MacCutchan20-Sep-17 22:53 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345320-Sep-17 22:56
professionalMember 1286345320-Sep-17 22:56 
GeneralRe: My service move my file Location but doesn't upload the data in sql server... here is my code Pin
Member 1286345322-Sep-17 23:46
professionalMember 1286345322-Sep-17 23:46 
QuestionUnable to cast object of type 'System.DBNull' to type 'System.String'. Pin
samflex19-Sep-17 5:35
samflex19-Sep-17 5:35 
AnswerRe: Unable to cast object of type 'System.DBNull' to type 'System.String'. Pin
Richard Deeming19-Sep-17 6:04
mveRichard Deeming19-Sep-17 6:04 

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.