Search

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

Matching Posts

  • Re: DataKey Gridview RowCommand

    Can try this: Eg: if (e.CommandName == "Show") { GridViewRow row = (GridViewRow)((Control)e.CommandSource).NamingContainer; int DemoId = Convert.ToInt32(gvdemo.DataKeys[row.RowIndex].Value); //You will get id here.....You code goes Here.... } else if (e.CommandName == "Select1") { GridViewRow row = (GridViewRow)((Control)e.CommandSource).NamingContainer; int DemoId = Convert.ToInt32(gvdemo.DataKeys[row.RowIndex].Value); //You will get id here.....You code goes Here.... } }
  • Re: Data at the root level is invalid. Line 1, position 1

    Go to C:\Inetpub\wwwroot\wss\VirtualDirectories\ find your WSS Web Application (represented by a port number), then delete an unknown folder created by sharepoint, namely vti_cnf from all the folders and sub-folders in your web application, the error disappears. It may come because we have tried to edit the WSS web application having Form based authentication, atleast in my case it got resolved by deleting this junk folder...
  • Solution to your problem.

    Add this element as a page level attribute in your .aspx file : EnableEventValidation="false" And it should definitely work..Happy Programming...
    Posted to Web Forms (Forum) by mehul.bhuva on 1/10/2008
Page 1 of 1 (3 items)