1. asp.net session

    Date: 01/18/06     Keywords: css, asp

    below is the code to run my searcg stored procudure i need
    to find a way to add in the variable TotalRecordCount into
    the dgResultset dataset so i can call it into the datalist
    that corrosponds to dgResultset. If there is an easier way
    of doing it i'd be interested.

    Cheers

    ' Runs the search in the DB for the relevant result
    Dim SearAccomStat As New Devotion2Motion.AccomSearchClass()

    ' send the variables to be searched on through to the component in the accomsearch class
    dgResultset.DataSource = SearAccomStat.SearchAccomStats(accomType, Totalsgle, Totaldble, Totaltwin, TotalTriple, aGarage, aPhone, aCarPark, aTv, aTownCentre, aSwimPool, aRadio, aNearSlopes, aDgsAdmit, aSafe, aCrossCtry, aSuitDisable, aBalcony, aOnTLake, aSolarium, aSuite, aQutZone, aBeautyCb, aMinibar, aTennis, aWhirlPl, aElevator, aSauna, PriceRgLow, PriceRgHigh, DateFromTotal, DateToTotal, aselfcatering, ahalfboard, afullboard, aroomphone, asuitdisableroom, countryID, OrderBy, ResortID, StarRating)
    dgResultset.DataBind()

    ' This counts up all the returned records and writes the total into a asp.net label
    Dim I As Long
    Dim Counting As Integer
    Dim RecordCount As Integer
    Dim TotalRecordCount As Int

    For I=0 To dgResultset.Items.Count -1

    Counting = 1
    RecordCount = RecordCount + Counting

    Next

    TotalRecordCount = RecordCount


    [asp:datalist RepeatDirection="Vertical" width="650px" ShowHeader="true" EnableViewState="true" ItemStyle-Width="3px" GridLines="none" ID="dgResultset" runat="server"]
    [headertemplate]
    [tr]
    [td colspan="3"][span class="hometitle"]Accommodation available[/span][/td]
    [/tr]
    [tr]
    [td colspan="3"][span class="formlabel"]Your search has resulted in the accommodation listed below. If you want to confirm availability please select the tickbox on any of the accommodation results. Rememeber to send the 'send your enquiry' button at the end of the results.[/span][/br][/br][/td]
    [/tr]
    [tr]
    [td colspan="3" bgcolor="#eeeeee"][span class="AccommResultsedBD"]Accommodation Results[/span] [span class="AccommResultsSmall"]([/span] [asp:Label Text='[%# session("TotalRecordCount") %]' CssClass="AccommResultsSmall" runat="server" /] [span class="AccommResultsSmall"]Item match your selection criteria)[/span][/td]
    [/tr]
    [/headertemplate]

    Source: http://community.livejournal.com/aspdotnet/54652.html

  2. InfoPath 2003 VS Asp.Net

    Date: 01/16/06     Keywords: xml, asp, web

    My boss has given me the task of looking into developing a web form that apparently needs to be read by other programs using an XML feed. He suggested using InfoPath 2003, but I then said "Well, ASp.Net would probably be able to do it too." But looking into InfoPath it looks like it may be a good tool for the job. Has anyone had any experience with Infopath, especially vs Asp.Net? I mean I'm not looking to do the most work possible, but also I dont' want to build it in 1 only to have to rebuild it in another to make sure that it can do everything we need it to do. So if anyone has any experience using these tools it'd be greatly appreciated. Thanks.

    Source: http://www.livejournal.com/community/aspdotnet/54390.html

  3. InfoPath 2003 VS Asp.Net

    Date: 01/16/06     Keywords: xml, asp, web

    My boss has given me the task of looking into developing a web form that apparently needs to be read by other programs using an XML feed. He suggested using InfoPath 2003, but I then said "Well, ASp.Net would probably be able to do it too." But looking into InfoPath it looks like it may be a good tool for the job. Has anyone had any experience with Infopath, especially vs Asp.Net? I mean I'm not looking to do the most work possible, but also I dont' want to build it in 1 only to have to rebuild it in another to make sure that it can do everything we need it to do. So if anyone has any experience using these tools it'd be greatly appreciated. Thanks.

    Source: http://community.livejournal.com/aspdotnet/54390.html

  4. Anyone using Nant...

    Date: 01/12/06     Keywords: no keywords

    I'm using Nant & NantContrib to pull files from SourceSafe and create a build. To do this, I'm using the task. I've created a project using VS.NET 2003, and placed this project on a server. The .vbproj file and the solution file were both built by VS.NET, not Nant. The problem that I'm having, is when a new file has been added to the project in SourceSafe, it's not added to the build project. Nant pulles the files, but the files aren't included in the project. Is there a way to make the task include files into the project?

    Source: http://www.livejournal.com/community/aspdotnet/53923.html

  5. Anyone using Nant...

    Date: 01/12/06     Keywords: no keywords

    I'm using Nant & NantContrib to pull files from SourceSafe and create a build. To do this, I'm using the task. I've created a project using VS.NET 2003, and placed this project on a server. The .vbproj file and the solution file were both built by VS.NET, not Nant. The problem that I'm having, is when a new file has been added to the project in SourceSafe, it's not added to the build project. Nant pulles the files, but the files aren't included in the project. Is there a way to make the task include files into the project?

    Source: http://community.livejournal.com/aspdotnet/53923.html

  6. programmer for hire

    Date: 01/11/06     Keywords: sql

    Hey guys and gals-
    I am a .NET programmer in Birmingham, AL. I am looking for a different job in a cool city. Preferably stay in the Southeast, but don't have to. If any of you peeps know of any job opportunities at your workplace, please drop me a comment. Come on, I live in Alabama. Help a girl out.
    I've got 2.5 years C#, VB.Net and SQL experience.
    Thank you!

    Source: http://www.livejournal.com/community/aspdotnet/53739.html

  7. programmer for hire

    Date: 01/11/06     Keywords: sql

    Hey guys and gals-
    I am a .NET programmer in Birmingham, AL. I am looking for a different job in a cool city. Preferably stay in the Southeast, but don't have to. If any of you peeps know of any job opportunities at your workplace, please drop me a comment. Come on, I live in Alabama. Help a girl out.
    I've got 2.5 years C#, VB.Net and SQL experience.
    Thank you!

    Source: http://community.livejournal.com/aspdotnet/53739.html

  8. Favorite VS .Net 2005 features

    Date: 01/09/06     Keywords: xml, asp, web

    I recently installed the new visual studio and I am having a bit of a hard time remembering everything I heard at the 2003 PDC about the new features I can use when doing C# development.

    I do remeber the following few:
    Generics --> has anyone tried this ? Seemed better than having to write your own custom class, is it ?
    Parial classes -> omg I love this feature ! I love that the very boring generated code wont be in my file. I like my files nice and navigatable. YAY
    The Xml editor is slightly better but doesnt seem blazing fast as promised.
    Also I bet some people like not have to use a real web server to test asp pages.

    Had anyone tried the ream features ? How are they ? Should we get ris of Test Director ?

    Thanks !

    Source: http://www.livejournal.com/community/aspdotnet/53224.html

  9. Favorite VS .Net 2005 features

    Date: 01/09/06     Keywords: xml, asp, web

    I recently installed the new visual studio and I am having a bit of a hard time remembering everything I heard at the 2003 PDC about the new features I can use when doing C# development.

    I do remeber the following few:
    Generics --> has anyone tried this ? Seemed better than having to write your own custom class, is it ?
    Parial classes -> omg I love this feature ! I love that the very boring generated code wont be in my file. I like my files nice and navigatable. YAY
    The Xml editor is slightly better but doesnt seem blazing fast as promised.
    Also I bet some people like not have to use a real web server to test asp pages.

    Has anyone tried the team features ? How are they ? Should we get rid of Test Director ?

    Thanks !

    Source: http://community.livejournal.com/aspdotnet/53224.html

  10. Server Issues

    Date: 01/09/06     Keywords: web, apache

    At my job we seem to not have the most competant IT department, so in my effort to help rather than criticize I'm looking into ways to help them out. One of the problems that they seem to have is that their web server (which I'm assuming has IIS 6, or maybe 5) will get bogged down to the point where it has to be rebooted. They host a mix of .NET and Frontpage pages. I seriously doubt that this is how things are "supposed" to be, because then Apache would have a great ace in the hole. Anyways since I'm not very good at server administration (and apparently neither are these guys) is there anything any of you can think of that would cause such problems? It seems like there's a problem with resources not being freed up or something along those lines. If anyone has any ideas/experiences with this it would be appreciated. Thank you.

    Source: http://www.livejournal.com/community/aspdotnet/52938.html

  11. Server Issues

    Date: 01/09/06     Keywords: web, apache

    At my job we seem to not have the most competant IT department, so in my effort to help rather than criticize I'm looking into ways to help them out. One of the problems that they seem to have is that their web server (which I'm assuming has IIS 6, or maybe 5) will get bogged down to the point where it has to be rebooted. They host a mix of .NET and Frontpage pages. I seriously doubt that this is how things are "supposed" to be, because then Apache would have a great ace in the hole. Anyways since I'm not very good at server administration (and apparently neither are these guys) is there anything any of you can think of that would cause such problems? It seems like there's a problem with resources not being freed up or something along those lines. If anyone has any ideas/experiences with this it would be appreciated. Thank you.

    Source: http://community.livejournal.com/aspdotnet/52938.html

  12. Calling ASP2 applications

    Date: 01/03/06     Keywords: asp, web

    How do I instance an ASP2 application from a client machine from within the firewall? Despite that, I wrote it in Visual Studio 2005 Professional Edition, whenever I attempt, it tried to read it as if I wrote it for .Net framework 1.1 and not 2.0. I am calling it over HTTP (i.e., HTTP://pjohnson/website1/default.aspx) where the application resides in a folder in WWWRoot.

    Source: http://www.livejournal.com/community/aspdotnet/52694.html

  13. Calling ASP2 applications

    Date: 01/03/06     Keywords: asp, web

    How do I instance an ASP2 application from a client machine from within the firewall? Despite that, I wrote it in Visual Studio 2005 Professional Edition, whenever I attempt, it tried to read it as if I wrote it for .Net framework 1.1 and not 2.0. I am calling it over HTTP (i.e., HTTP://pjohnson/website1/default.aspx) where the application resides in a folder in WWWRoot.

    Source: http://community.livejournal.com/aspdotnet/52694.html

  14. First asp.net page - debugging help

    Date: 12/23/05     Keywords: database, asp, sql, microsoft

    I'm working on my first asp.net page and am running into some problems. I'm trying to read data from an MS Access database. I'd appreciate if anyone could point me in the right direction - I pretty much lifted the example code from w3schools. Thanks for any help, I'm feeling a bit lost!

    The code below gives an error on line 4, character 5 - expected ";".

    [%@ Import Namespace="System.Data.OleDb" %>
    [script runat="server">
    sub Page_Load
    dim dbconn, dbcomm, dbread
    dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=test.mdb")
    dbconn.Open()
    sql="SELECT * FROM values"
    dbcomm=New OleDbCommand(sql,dbconn)
    dbread=dbcomm.ExecuteReader()
    value.DataSource=dbread
    value.DataBind()
    dbread.Close()
    dbconn.Close()
    end sub
    [/script>


    Database:
    filename: test.mdb, resides in same directory as index.asp file.

    table: values
    fields: ID, key, value

    read [s as <.

    Source: http://www.livejournal.com/community/aspdotnet/52113.html

  15. First asp.net page - debugging help

    Date: 12/23/05     Keywords: database, asp, sql, microsoft

    I'm working on my first asp.net page and am running into some problems. I'm trying to read data from an MS Access database. I'd appreciate if anyone could point me in the right direction - I pretty much lifted the example code from w3schools. Thanks for any help, I'm feeling a bit lost!

    The code below gives an error on line 4, character 5 - expected ";".

    [%@ Import Namespace="System.Data.OleDb" %>
    [script runat="server">
    sub Page_Load
    dim dbconn, dbcomm, dbread
    dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=test.mdb")
    dbconn.Open()
    sql="SELECT * FROM values"
    dbcomm=New OleDbCommand(sql,dbconn)
    dbread=dbcomm.ExecuteReader()
    value.DataSource=dbread
    value.DataBind()
    dbread.Close()
    dbconn.Close()
    end sub
    [/script>


    Database:
    filename: test.mdb, resides in same directory as index.asp file.

    table: values
    fields: ID, key, value

    read [s as <.

    Source: http://community.livejournal.com/aspdotnet/52113.html

  16. SQL Server 2005 Developer VS Express Editions

    Date: 12/19/05     Keywords: programming, sql

    I just got a new computer and I'm setting it up so I can do my programming work at home. I still need to install a SQL server, and even though my company doesn't use it I'm looking at 2005 because quite frankly I don't feel like installing 2000 AND 2005 and having multiple instances running. I'm wondering between downloading either SQL Server 2005 developer edition or the Express Edition. Cost isnt' an issue since I have a MSDN license at work, I don't want to have to DL 2 CDs worth of data if I don't have to. Does anyone know more about the features of these 2 versions and whether or not I should really prepare for the future with a DEV edition or if I should just go with the lightweight Express edition. One thign is though that I'd like easy integration into the VS IDE, and I read that SQL Express integrates into VS Express, but my Version is the Professional Edition, so I don't know if they will integrate also. Its not a necessity but it would be a nice thing to have since everyone seems to be going that direction while I'm still manually writing SQL script. Any feedback would be appreciated. BTW computer power isnt' an issue either. I have an AMD 4400+ X2 with 1 gig of ram.

    Source: http://www.livejournal.com/community/aspdotnet/51909.html

  17. SQL Server 2005 Developer VS Express Editions

    Date: 12/19/05     Keywords: programming, sql

    I just got a new computer and I'm setting it up so I can do my programming work at home. I still need to install a SQL server, and even though my company doesn't use it I'm looking at 2005 because quite frankly I don't feel like installing 2000 AND 2005 and having multiple instances running. I'm wondering between downloading either SQL Server 2005 developer edition or the Express Edition. Cost isnt' an issue since I have a MSDN license at work, I don't want to have to DL 2 CDs worth of data if I don't have to. Does anyone know more about the features of these 2 versions and whether or not I should really prepare for the future with a DEV edition or if I should just go with the lightweight Express edition. One thign is though that I'd like easy integration into the VS IDE, and I read that SQL Express integrates into VS Express, but my Version is the Professional Edition, so I don't know if they will integrate also. Its not a necessity but it would be a nice thing to have since everyone seems to be going that direction while I'm still manually writing SQL script. Any feedback would be appreciated. BTW computer power isnt' an issue either. I have an AMD 4400+ X2 with 1 gig of ram.

    Source: http://community.livejournal.com/aspdotnet/51909.html

  18. class or control?

    Date: 12/19/05     Keywords: no keywords

    Hello,
    I need to create a label that is on several pages in my app that holds the user's confirmation number. I am not sure whether to use a user control or not. I need to pass in the confirmation number somehow, is that possible to do on a user control?

    Source: http://www.livejournal.com/community/aspdotnet/51677.html

  19. class or control?

    Date: 12/19/05     Keywords: no keywords

    Hello,
    I need to create a label that is on several pages in my app that holds the user's confirmation number. I am not sure whether to use a user control or not. I need to pass in the confirmation number somehow, is that possible to do on a user control?

    Source: http://community.livejournal.com/aspdotnet/51677.html

  20. visual stuidio 2005 help

    Date: 12/11/05     Keywords: database, asp, sql

    I've created 2 pages, one to display data from a database and another to insert data. I'm having trouble with the sql insert query.
    The first page displays data fine, not in the format I'd like but one thing at a time.

    How do I on the second page, create text boxes and the proper connections to insert data into my database. I'm pretty sure this is a simple basic step but I can not figure it out.

    Any help or tutorials? I usually hit www.asp.net when I’m stuck and their tutorial is not helping on this one.



    Thanks!

    Source: http://www.livejournal.com/community/aspdotnet/51352.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home