Even in the ItemDataBound still can't the value of the first dropdown.
I use the follwing sintax:
Dim TempVal as string = CType(e.item.FindControl("ddl1"), dropDownList).SelectedItem.value
Hi,
I'm trying to get a value from a dropdownlist(ddl1) to use as a parameter in another dropdownlist(ddl2), in same editable datalist.
<edititempemplate>
<asp:DropDownList id="ddl1" runat="server">
<asp:ListItem Text="xxxxxx" Value="1" />
</asp:DropDownList>
<asp:DropDownList id="ddl2"...
Hi,
I'm trying to get a value from a dropdownlist(ddl1) to use as a parameter in another dropdownlist(ddl2), in same editable datalist.
<edititempemplate>
<asp:DropDownList id="ddl1" runat="server">
<asp:ListItem Text="xxxxxx" Value="1" />
</asp:DropDownList>
<asp:DropDownList id="ddl2"...
I used IF Exists in SQL Query, and seems like the problem is solved, I just wondering how can achieve this using DataAdapter Update method using INSERT, UPDATE, DELETE .
Thanks
What if I want to use SqlCommandBuilder that will contain Insert, Update and Delete.
I can figure out how to use it, altough I saw the MSDN SqlCommandBuilder.
the code you post is good, will Insert the row, my problem now is that if the user import againg same excel but with different data, I...
1. I'm filling the DataAdapter from Excel and then populating the DataGrid with the DataSet.
2. Yes, the columns in Excel are the same as the SQL, the excel docs contain exactly the same columns are the SQL, so it's predefined.
Hi,
I have a issues regarding the import from excel to sql2000.
The person that will do that will have no knowledge of programming, it will use an interface that will have a browse button, will import the excel, the data will be dispalyed and, if agreed will import the data to sql2000.
Well, I...
I've got a problem in updating a rows.
I've tryed to update a value from the field "QQQ" which correspond with the field "PPP" from a table.
Problem seems to be when I have more than one "PPP" in a different table, because I use a subquery which returns more than one "PPP" that's because in that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.