Browse by Tags

Related Posts

  • setting label to visible with button click

    Hi, I'm having some problems with using a label to display a message "No Records Found" when the user clicks a Search button. What I want it to do is to check if there are any results from a database that get displayed on a GridView. I have the following method so far: ------------------------------...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-27-2007, 12:00 AM
    Filed under: GridView, postback, Client, database, paging, DropDownList, asp.net 2.0, label, rows, records, If Statement, Visible, data access layer, table adapter, databinding, codebehind, data, databind, VB, textbox, ADO.NET, access database, asp.net 2.0 GridView databound ItemTemplate
  • Re: DropDownList refresh after FormView insert

    The problem appears to be the order in which the page events occur. Your postback to write to the database happens and loads up the the page_init and the page_load BEFORE it processes any of your requests (in this case, your request to write to the database). That means your dropdownlist is likely being...
    Posted to Data Presentation Controls (Forum) by pixelsyndicate on 03-19-2007, 12:00 AM
    Filed under: DropDownList, databind
  • DataKeyNames Update

    I have a detailsview with 2 datakeynames, host_id and db_id. When I edit the registry I can modify the host_name, so I have to modify the host_id too. But when I update the host_id continue the same. I'm using stored procedures, and its right. what do i do?!?!?!?! Here is the code... Private Sub sdsPrincipal_Updating...
    Posted to Data Presentation Controls (Forum) by brunavillar on 04-27-2007, 12:00 AM
    Filed under: Detailsview dropdown problem, Control Parameter, update detailsview, DropDownList, rows, Binding, detailsView custom update, databind, Updateparameters, Datagrid updatecommand, edit mode, FindContol, Databinding DropDownList consistency, UPDATE, datailsview, TemplateField, datakeynames . updatecommand does not work (must declare variable @...), edit template, Bind update table inside dataview, detailsview dropdownlist editmode, DetailsView DetailsViewRow
  • Re: Binding DropDownList to a table column

    Hi Rattlerr, To bind a DropDownList to a table column/database you must first set up a datasource which is used to populate the dropdown. Here is an example of an AccessDataSource: < asp : AccessDataSource ID ="ADS_MethodList" runat ="server" DataFile ="~/App_Data/your_database_name.mdb" SelectCommand...
    Posted to Data Access and ObjectDataSource Control (Forum) by djh on 05-02-2007, 12:00 AM
    Filed under: Data Access, DropDownList, databind, SqlDataSource
  • Changing dropdownlist contents based on selection in listbox

    I have a listbox databound to a table in an Access database (Clients). When I select a customer in that list, I want to see what products they have purchased in a dropdownlist. The data in the dropdownlist would come from a table from the same database (ClientProducts). The problem I'm having, is...
    Posted to Web Forms (Forum) by hostopolis on 09-10-2007, 12:00 AM
    Filed under: database, DropDownList, asp.net 2.0, BoundField, databinding, databind, listbox, c# code, Data Presentation Controls, data source, ASP.NET 2.0 webform
  • pushing a value to a ddl

    Hello All, In my VB, I have a Read and an Edit Sub. The Read Sub pulls the data into the fields just as I expected it would, but how do I go about pushing the values in to the Edit Sub dropdown lists? I've tried using .text, .selectedvalue and .selected index, but I always get the same error as below...
    Posted to Web Forms (Forum) by pat6907 on 11-20-2007, 12:00 AM
    Filed under: DropDownList, DataBind DataBinding, DDL, dropdown, Dropdown list, drop down list, databind, .Net 2.0, Drop down list items, drop down list databound, drop down list box, drop down list selectedindex problem databind()
  • Getting Object From Data Bound DropDownList

    I have a DropDownList that is bound to an ObjectDataSource. The ObjectDataSource gets a list of Product objects. My Product object has the properties, Name, Code, Price, Units. I am using Name as the DataTextField and Code as the DataValueField of the DropDownList. What I would like to do is default...
    Posted to Data Access and ObjectDataSource Control (Forum) by dprior on 11-23-2007, 12:00 AM
    Filed under: DropDownList, databind
  • populating dropdown list in datagrid

    please any one can help me how to populate a dynamic datagrid with drop down list from the sqlconn. i want to populate this dropdown list when i am in edititemtemplet in datagrid. plz could you explain with code. thanks in advance.
    Posted to Data Presentation Controls (Forum) by dilip12 on 07-26-2007, 12:00 AM
    Filed under: datagrid freeze panes, DataGrid To Excell Performance Problem, Datagrid freeze pages, dataview, Datalist, Datagrid and Checkbox, datagrid, database, DataBinding GridView Insert, DropDownList, datatype, datasource, DataNavigateUrlFormatString Session, datepicker, datetime, date picker, databinding, dropdownList gridview, detailsView calendar control dataset insert, deserialized datasource error, datarowview class, databind, data repeater control, Datagrid updatecommand, Datagrids, databinder, dataitem, datatagrid navigarion paging style, datatagrid, Databinding DropDownList consistency, datailsview, datakeynames . updatecommand does not work (must declare variable @...), DataGrid Delete ObjectDataSource, display image in Gridview, datalist repeater selection, Databinding DetailsView, Bind update table inside dataview, Datagrid and events and reflection, Data list, DropDownList DataList, DataSource Binding, dates dataview month day, dataset, dynamic, Data Presentation Controls, datagrid property, DataKey, DataKeynames, Binding expression, datalist paging, datalist items remove sitemap, data source, directcast, DataTable, dotlucene, databinding gridView, dataset datasource tableadapter problem, DropdownList in Detailsview, datakeys, Data table, delete command, dataview.rowfilter, datagrid hyperlink, Data Grid, dataset Modified count, DataGrid and Email and Sql and Mailto, DataGrid and Email, dataview sort custom, duplicate values entered into database, Binded Label, DataGrid SelectParameters Clear, Data Set, data controls, dynamic gridview columns
Page 1 of 1 (8 items)