Browse by Tags

Related Posts

  • Using LinqToSQL with ASP.Net DropDownList the onSelectedIndexChange Index Value Always = 0

    I was playing around with the LINQtoSQL and found an interesting problem. I am using the Northwind database on SQL 2005 Developer Server Edition. In my webform's PageLoad event I have the following code: NorthwindDataContext db = new NorthwindDataContext(); var customers = from c in db.Customers...
    Posted to Web Forms (Forum) by JohnPadilla on 12-17-2007, 12:00 AM
    Filed under: DataBinding, DropDownList, LINQToSQL, ASP .net 2 .0
  • 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: ASP.NET 2.0 webform, BoundField, c# code, Data Presentation Controls, data source, database, databind, databinding, DropDownList, listbox, asp.net 2.0
  • Best way to populate a databound DropDownList

    I have two drop down lists. The data source for the second is dependent on the first. e.g. Pick the Manufacturer first, then pick the Model from a list filtered to only show models from the specified manufacturer. Both use SQL data sources. These choices are saved to a user profile (using Commerce Server...
    Posted to Data Presentation Controls (Forum) by pushijima on 06-06-2007, 12:00 AM
    Filed under: bind data, databinding, Databinding DropDownList consistency, DropDownList, asp.net 2.0
  • How to bind value to a DropDown list

    Hi, I am currently doing a page on which i am retrieving data into a DataList and showing it in TextBoxes and DropDownListBoxes. However, I was unable to bind the value to the DropDownListBox from the database. I am able to bind my textboxes but couldn't do so with DropDow listbox, could you please guide...
    Posted to Data Presentation Controls (Forum) by immy on 04-29-2007, 12:00 AM
    Filed under: databinding, DropDownList
  • 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: paging, postback, records, rows, table adapter, textbox, VB, Visible, access database, ADO.NET, asp.net 2.0, asp.net 2.0 GridView databound ItemTemplate, Client, codebehind, data, data access layer, database, databind, databinding, DropDownList, If Statement, GridView, label
  • DropDownList problems in EditItemTemplate with Gridview

    Hello, I read the FAQ on this forum and saw the link to " Top Questions about the DataGrid Web Server Control". This is when I found the link for " Displaying a Drop-Down List in Edit Mode". This is basically what my problem is about, but I still couldn't get it to work. Here is what I am trying to accomplish...
    Posted to Data Presentation Controls (Forum) by Silverblade1486 on 02-03-2007, 12:00 AM
    Filed under: databinding, edititemtemplate, gridview, dropdownList
  • Dropdownlist databinding problem

    Hi all, i am having a problem, I have two columns in SQl one for year and one for month. I wanted to combine 2 columns n then display combined column in Dropdownlist.So I am using this Code:- Private Sub YearMonthbind() 'sql = "SELECT DISTINCT YR4, MN2, DATENAME(month, CAST(MN2 AS varchar) ...
    Posted to Web Forms (Forum) by schauhan13 on 06-30-2009, 12:00 AM
    Filed under: DropDownList, databind, DataBinding
  • Removing Certain Items from a dropdownlist

    Hi, i have a dropwdownlist that is databound to my database to display a list ofnames for all of my users. However i want to remove certain names depending on certain parameters. e.g. remove all of the names that begin with "s" or containt "sean". ive used the dropDownList.Items.Remove...
    Posted to Web Forms (Forum) by SJV83 on 10-17-2009, 12:00 AM
    Filed under: DropDownList, DataBinding, removing items., removing, remove items
  • 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: Bind update table inside dataview, Binded Label, Binding expression, data controls, Data Grid, Data list, Data Presentation Controls, data repeater control, Data Set, data source, Data table, database, databind, databinder, databinding, Databinding DetailsView, Databinding DropDownList consistency, databinding gridView, DataBinding GridView Insert, datagrid, Datagrid and Checkbox, DataGrid and Email, DataGrid and Email and Sql and Mailto, Datagrid and events and reflection, DataGrid Delete ObjectDataSource, Datagrid freeze pages, datagrid freeze panes, datagrid hyperlink, datagrid property, DataGrid SelectParameters Clear, DataGrid To Excell Performance Problem, Datagrid updatecommand, Datagrids, datailsview, dataitem, DataKey, DataKeynames, datakeynames . updatecommand does not work (must declare variable @...), datakeys, Datalist, datalist items remove sitemap, datalist paging, datalist repeater selection, DataNavigateUrlFormatString Session, datarowview class, dataset, dataset datasource tableadapter problem, dataset Modified count, datasource, DataSource Binding, DataTable, datatagrid, datatagrid navigarion paging style, datatype, dataview, dataview sort custom, dataview.rowfilter, datepicker, dates dataview month day, datetime, delete command, deserialized datasource error, directcast, display image in Gridview, DropDownList, DropDownList DataList, dropdownList gridview, DropdownList in Detailsview, duplicate values entered into database, dynamic, dynamic gridview columns, detailsView calendar control dataset insert, dotlucene, date picker
Page 1 of 1 (9 items)