I get the current state of a checkbox item in a templatecolumn in a datagrid by creating a checkbox item and do findcontrol (dgItem.FindControl("chkExportItemSelected"))
After reading stored data from a database I want to loop through the datagrid and set the checkboxes as related to the data...
I get the current state of a checkbox item in a templatecolumn in a datagrid by creating a checkbox item and do findcontrol (dgItem.FindControl("chkExportItemSelected"))
After reading stored data from a database I want to loop through the datagrid and set the checkboxes as related to the data...
If I had a series of textboxes like below:
<asp:textbox id=txtBox01 runat="server">
<asp:textbox id=txtBox02 runat="server">
<asp:textbox id=txtBox03 runat="server">
<asp:textbox id=txtBox04 runat="server">
<asp:textbox id=txtBox05 runat="server">
If I wanted to write a For/Next loop to get...
I am creating a data entry form to allow the user to create bullet items and sub bullet items for storage in a SQL Server table. These items are stored in the database with codes denoting whether the item is a bullet point or a sub-bullet point. This data is used to create a dynamic ASP.Net...
I am using a button click event to add a row with two cells to a table contained on a panel on my page. Each cell contains a text box to allow the user to enter some data. The table starts out with two rows and if the user needs more, they are to click the button and add another row to the...
I am using a button click event to add a row with two cells to a table contained on a panel on my page. Each cell contains a text box to allow the user to enter some data. The table starts out with two rows and if the user needs more, they are to click the button and add another row to the...
I have a DropDownList bound to a dataset that provides the value and text fields. If the select statement only returns one entry, how can I trigger the SelectedIndexChanged event even if there is only one entry in the dataset? The selection of an entry in this DropDownList causes another...
I am trying to create an application for release to other PC's. I need to acquire data from an ACCESS database using SQL (ODBC ESQL) so I need to establish the data source on every machine using the app. I don't want to have the user do it and I don't want to write code to...
Trying to use "SQLCONFIGDATASOURCE" in a NetExpress COBOL program to set up the ODBC connection to an ACCESS database. Can't figure out how or if I can use it. Can anyone who has used this before show me the syntax? Is there a better way to set up the...
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.