Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Thommie h

@Thommie h
About
Posts
13
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • xmldatasource + rss + retrieve image
    T Thommie h

    couldn´t get it to work with XPath like i retrieve alla the rest information, any ideas?

    ASP.NET xml help tutorial question announcement

  • xmldatasource + rss + retrieve image
    T Thommie h

    Hi, I use a xmldatasource to display news from another site on mine. But in the description there is an image that i dont know how to retrieve? I get a "empty" image icon. Can anyone help out? I use, XPath="rss/channel/item" and the image is under description i think.. thanks in advance Thommie

    ASP.NET xml help tutorial question announcement

  • dont really know the title..
    T Thommie h

    for one of the sites there is a rss feed

    ASP.NET question

  • dont really know the title..
    T Thommie h

    ok, should i search for scrap data?

    ASP.NET question

  • dont really know the title..
    T Thommie h

    Hi, If i want to show newly released products from one site on my site without manually add it, how do i do this? What should i search after?

    ASP.NET question

  • Help with viewstate and gridview
    T Thommie h

    and you cant write a understanding answear

    ASP.NET help question wpf wcf tutorial

  • Help with viewstate and gridview
    T Thommie h

    you are not helping me here, if you can explain a little as i asked from the beginning it would have helped or hint me somewhere.

    ASP.NET help question wpf wcf tutorial

  • Help with viewstate and gridview
    T Thommie h

    yes i use a textbox, how do i retrieve it´s value? i said that i have no knowledge of the use of viewstate. SO i need 2 queries against the database? one to populate the gv with all content and then one under pageindexchanging where i use the search criteria?

    ASP.NET help question wpf wcf tutorial

  • Help with viewstate and gridview
    T Thommie h

    Hi, I have a problem, i have a gridview populated with items and in the pager i have controls for previous and next and a dropdownlist that shows the total number of pages. I also have a search function to search for item. if i for exemple search for *egg* i get a number of results and the ddl is populated with total number of pages for the searchterm. but if i click on the button for "next" the search result disapear and i get all the pages back (because of the postback) but how do i do to keep the state of the ´search so that i can use the next and previous buttons and the ddl listing of pages, depending on the search? I have never used viewstate so if someone can explain it well for me i would appreciate it very much! How to write the code and implement it. I use nhibernate and custom binding/paging

    ASP.NET help question wpf wcf tutorial

  • Parse the selected value from ddl and fill another ddl with information + NHibernate + C#
    T Thommie h

    Hi, My code looks like this and it doesnt work: This is with NHibernate. The error code : fetchQ.ParamName = "Region.Id"; The error text: NHibernate.QueryException: Type mismatch in NHibernate.Expression.EqExpression: Region.Id expected type System.Int32, actual type System.String RegionId in database is int. And the hbm file is mapped Int32 private void BindMunicipalities(int regionId) { try { string municipalityHql = "SELECT count(municipality.Id) from Municipality municipality WHERE municipality.Region.Id = :regionId"; IList queries = new List(); Query q = new Query(); q.ParamInt = regionId; q.ParamName = "regionId"; queries.Add(q); int municipalityCount = DataManagement.CoreRepository.RunCountStatement(municipalityHql, queries); if (municipalityCount > 0) { IList fetchQueries = new List(); Query fetchQ = new Query(); fetchQ.ParamName = "region.Id"; fetchQ.ParamInt = regionId; fetchQ.ParamEvaluationType = EvaluationType.Equals; fetchQ.ParamString = string.Empty; fetchQueries.Add(fetchQ); IList municipalities = DataManagement.CoreRepository.GetAll(fetchQueries, 0, 0, true, "Name"); ddlMunicipality.DataValueField = "Id"; ddlMunicipality.DataTextField = "Name"; ddlMunicipality.DataSource = municipalities; ddlMunicipality.DataBind(); } } catch (Exception ex) { logger.Error("Failed to load municipalities.", ex); this.lblError.Visible = true; } } protected void ddlRegions_SelectedIndexChanged(object sender, EventArgs e) { this.BindMunicipalities(int.Parse(this.ddlRegions.SelectedValue)); }

    modified on Thursday, March 20, 2008 5:16 PM

    ASP.NET csharp help asp-net question

  • Parse the selected value from ddl and fill another ddl with information + NHibernate + C#
    T Thommie h

    Hi Marco, Whats "= Retrieve_Municipalities( region)"? is that a method to bind the data from the database? can you please show me? Thanks for the answear Thommie

    ASP.NET csharp help asp-net question

  • Parse the selected value from ddl and fill another ddl with information + NHibernate + C#
    T Thommie h

    Hi, I hope someone can help with with my problem, i have searched the Internet for information but i couldnt find any examples neither the answear. I use NHibernate and c# for my asp.net site. I have the "classic" problem. I have a dropdownlist with "Regions" and another one "Municipalities". When I choose an item in the ddlRegions the appropiate municipalites should be shown in ddlMunicipalties. I cant get this to work, do anyone have a code that does this and could share it with me? I have tried for a few evenings but i cant get it to work. Thanks Thommie

    ASP.NET csharp help asp-net question

  • Listbox + get query
    T Thommie h

    i have a listbox and when i select a item in the listbox i want this selected item to get information from the db and then show this data (that is related to the selected item) shown in seperated textboxes. an example: i choose a building from the listbox, when i select a building i want to retrieve the name of the building, adress, city and so on.. to be shown in their textboxes that is read only. How can i do this? i have the db ready but dont know how to retrieve the data that is related to the selected item to be shown in their txtBoxes. I really hope that someone could help me with this, i use C# as language and ms sql server.

    Database database tutorial question csharp sql-server
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups