User Profile

Collapse

Profile Sidebar

Collapse
athir13en
athir13en
Last Activity: Jul 10 '15, 04:32 PM
Joined: Feb 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • athir13en
    replied to In Gridview - get ID of row
    in .NET
    I cant get the id with that:
    Code:
    Dim ID As String = GridView1.DataKeyNames.ToString()..
    Can any one can help.. please?
    See more | Go to post
    Last edited by DrBunchman; Jun 25 '08, 10:26 AM. Reason: Added code tags - Please use the # button

    Leave a comment:


  • athir13en
    replied to Delete Column
    i think u can try to Select from Table1 1st then put it in a String, after that only you drop the column.

    sample table


    this is sample code using VB
    Code:
    Dim strSQL As String = ""
            Dim strColumnToDrop As String = ""
    
            strConnection = 'your connection string
            sqlConn = New SqlConnection(strConnection)
    
            'Select Data
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...