Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

BlazerScott

@BlazerScott
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem reading a data value from my DataGrid
    B BlazerScott

    I'm a newbie so please help me here. I've got a project due Tuesday that I'm working on for college and this part is kicking my rear. I'm developing a WebForm in Visual studio. this WebForm shows my DataGrid fine and I added a Select button for column(0) while using property builder and converted to a template column. What I want it to do is select the row of data and read the data values from the selected row and put into textboxes outside the DataGrid on the form. I will use these textbox values to use in my stored procedures to update multiple tables with data. do i have to change any HTML on the button I make to retreive this data that is selected in my datagrid? As it stands I can select the grid row and it highlights but when I hit the button to get the data nothing happens. I'm not sure how to call this sub sub GetRowReqID(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) Dim MyData As String Dim MyTB as TextBox MyTB = CType(e.Item.Cells(1).FindControl("RequestID"), Textbox) MyData = MyTB.Text txtReqID.Text = MyData //Textbox on form where I want the value of //RequestID to be copied. End Sub how do I call this sub to execute from my button?

    ASP.NET help question csharp html css
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups