Recent content by PetroTiburcio

  1. P

    Populates GridView2 based on selected row from GridView1

    Greetings! Help with gridviews. I have 2 gridview on my page: on GridView1 I have a column with select link, Id and Name which looks like this: Select | Id | Name select | 101 | Jack select | 102 | Cath Now, what I am trying to do is let's say, i clicked the select from the first row...
  2. P

    checking if id and reg already exists

    Hi, I have this table Profile which has fields with user_Id and regNo and I want to check first if id and email are already exists before proceed to inserting datas. In my codes, I am able to validate only one row (either id or reg number), but if I am going to validate the two of them, it gives...
  3. P

    Delete rows in Gridview

    hi, I am having a problem with deleting gridview rows. I am populating my gridview by selecting value in a dropdownlist then by clicking the add button, value will be added in my gridview, here is my code: <asp:GridView ID="GridView1" runat="server" CssClass="mGrid"...
  4. P

    Saving multiple rows of gridview into database

    Hi there, i have a gridview which populated via selected item on my drop down list which I don't have any problem with that. My problem is I am trying to save multiple rows on my gridview into my database, for example I have added 3 items on my gridview which looks like this: Id | Name...
  5. P

    passing the value of dropdownlist into gridview

    Greetings everyone, I have a dropdownlist populated by my database, below is my code: <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="dsNames" DataTextField="Name" DataValueField="Id"> </asp:DropDownList> <asp:SqlDataSource...
  6. P

    QueryString to Textbox

    Hi, I have a table tblProfile, which contains fields with Id, Name, Address. I have 2 aspx page, which are Home.aspx and Here.aspx. On my Home.aspx I have used this code to pass the Id in my Here.aspx: <asp:HyperLink ID="link" runat="server" NavigateUrl="Here.aspx?id={0}"...
  7. P

    Passing selected row from gridview to dropdown

    Kindly help me passing selected row in gridview to my dropdown. I have 1 gridview, 1 textbox and 1 dropdown list box. My dropdown is populated by SqlDataSource from my table Country. On my gridview, I have 3 columns, which are SELECT, NAME and COUNTRY. Under SELECT column, I have my hyperlinked...
Top