Sorry for not being able to post anything interesting the past few months. Anyway, I saw this old thread at DevPinoy.org the other day and I realized that nobody has posted a complete sample solution that would solve and show how to accomplish dynamic input rows in a GridView. I was thinking of replying...
Last week I showed you how to read an XML file, load it to a DataSet and assign those values into a GridView . Today I'll show you how you can read an XML file using the XmlDataSource object. Let's assume that we have an XML file called Symbols.xml in our App_Data folder that contains the following...
Last week I showed you ways on how to read text files. This time around we will be looking at how to load XML files into a DataSet. Let's assume that we have a file called Symbols.xml which contains some XML data. <?xml version= "1.0" encoding= "utf-8" ?> <Symbols>...
Yesterday I wrote a post as about adding a mailto link to a GridViewColumn and was surprised with the amount of response i got via email regarding that topic. One person asked me a frequently asked question which i realized I haven't tackled on my blog yet. The question was: Keith, Is it possible...
I was reading my site refferers today when I saw an interesting refferer query that came from Google. Three people got to my site after typing this phrase " hyperlink databind gridview mailto ". I went to the the Google results page and immediately went to the page the was indexed by Google...
A few days ago a forum question was posted in DevPinoy.org on how to read the values of a inside a GridViewRow and assigning them to a Label control(or TextBox) when that row is selected. I wasn't able to reply to that thread early due to time constraints with a project I had at that time but I told...
I'm working on a GridView and I'm databinding a List<BusinessObject> to it. All is well until I tweaked some code and suddenly, I got this System.Web.HttpException with message A data item was not found in the container. The container must either implement IDataItemContainer, or have a...
I decided to create this demo after seeing a post on devpinoy.org today that is asking about how to pass a value from a gridview to another page using HyperLinks. I decided to extend it a little bit so that we could show alittle bit more functionality. Lets start: First we need to setup our grid in our...
ASP.NET 2.0 GridView comes with DataKeyNames property as part of its improved security. It is the equivalent of using DataKeyField in ASPNET 1.0 to store the PKID used in databinding. Data will be saved as part of the grid's viewstate and is therefore not readily available to the client browsers as text...