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
S

ScottSingleton

@ScottSingleton
About
Posts
12
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Databinding to a Dropdownlist Problem
    S ScottSingleton

    Have you tried naming your data table when you create it and setting that name to the DataMember Property? Try this and see if it works: for your declaration: DataTable oData = new DataTable("TblStates"); during your binding setup, in this order: lstState.DataSource = oData; lstState.DataMember = "TblStates"; lstState.DataValueField = "StateAbbrev"; lstState.DataTextField = "StateName"; lstState.DataBind();


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    ASP.NET help

  • Problem calling batch file in ASP
    S ScottSingleton

    There are some serious issues with users here not understanding the scope of code execution, variables, and the differences between client side processes and server side processes :)


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Web Development help question sysadmin linux

  • regarding HTTP1.1 feature + presistent connection
    S ScottSingleton

    your question totally depends on where the code is executed. Client side processes like Javascript runs on the client and can go out and poll information without posting back the entire page. Server side code like ASP.NET requires the page to be posted back so the server can poll the information and process it. if you want the page to auto-refresh you can add line to the header to do this, but it posts back the entire page. If you're looking for some sort of scrolling score update or stock ticker type of deal that updates without a postback it must be a client side process.


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Web Development tutorial

  • Retrieving Text From The Web
    S ScottSingleton

    why don't you just try and see for yourself :) Lots of documentation on those classes I mentioned. :) You can download a file, process a regex expression and store that info to a database in about 10 lines of code or so. :) Enjoy.


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Web Development database help tutorial

  • setting session variable
    S ScottSingleton

    That javascript code is client based and your client cannot Access server session variables. In order to work with session variables you will have to have server-side code process it. It looks like you're just setting the session variable when someone changes the selected index of a list box?? Why not just use the postback event that fires when the index is changed and set it then? If for some reason you cannot do this then you will have to use a hidden window or frame to call some server side code to do it for you.


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    ASP.NET javascript help

  • Datagrid
    S ScottSingleton

    DataGrid1.SelectedItem.Cells(0).Text (First Column Value From Selected Row)


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Visual Basic question

  • Better way of iteration
    S ScottSingleton

    Are you using SQL server or Access or ?? can your Encryption code be ported to Transact-SQL? If so I would simply create a function that encrypts your values and run it at the server and represents it in a view.


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Database database com tools question announcement

  • Shopping Cart: use cookies or database?
    S ScottSingleton

    if the overhead of running your shopping cart through the database server is too high, and you don't mind expiring variables the in-process session state server works really well for this. Just add your basket class as a session variable.


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Web Development database question

  • Retrieving Text From The Web
    S ScottSingleton

    guess I shouldn't have replied to this in the other forum area where it was off topic lol... with .NET :) use WebClient class to download file use regular expression class to extract info use SQLConnection and SQLCommand to pump data into SQL Server


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Web Development database help tutorial

  • SQL?
    S ScottSingleton

    Also, make sure that Table0.ItemID is a unique primary key, or you'll potentially introduce data integrity issues. if you want my opinion, there is no reason why your balance column should not be included inside of table0. If it is a true one to one relation like that then there is no need to create two tables and join them as that's just more overhead for your server to handle every time you request it and is just plain un-clean datbase design. However if the balance is a one-to-many relationship, like a date range, then you'd need to include that column in table1. given what you're saying there's just no need to include the balance column in a seperate table :)


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Visual Basic database help question

  • Crystal Reports - Database Login
    S ScottSingleton

    I'm not sure how different the 2003 version is from the 2002 version but here's how you do it in VB.NET 2002: Dim Rep as New MyReportFile() 'Class wrapper for Crystal report file Dim MyLIS As New CrystalDecisions.Shared.TableLogOnInfos() Dim MyLI As New CrystalDecisions.Shared.TableLogOnInfo() Dim i as Integer For i = 0 to MyRep.Database.Tables.Count - 1 MyLI = MyRep.Database.Tables(0).LogonInfo MyLI.UserID = [User ID as String] MyLI.Password = [User Password as String] MyLI.ServerName = [SERVER Name as String] MyLIS.Add(MyLI) next CrystalReportViewer1.LogOnInfo = MyLIS ............


    'Cause I'm living on things that excite me, be it pastries or lobsters or love...
    I'm just trying to get by, being quiet and shy, in a world full of push and shove...
    Jimmy Buffett - The Wino and I know

    Visual Basic database csharp sql-server visual-studio

  • Help with a Project
    S ScottSingleton

    With .NET this really is ungodly simple. I'm not sure what type of help you're looking for. in VB.Net you can download a file from the web: Dim myWebClient As New WebClient() myWebClient.DownloadFile(StrSourceURL, strDestinationLocation) myWebClient.Dispose() Parse the file using a Regular Expression. Extract the values from the Regex statement, pump to SQL Server. poof! Magic :)

    The Lounge database help tutorial
  • Login

  • Don't have an account? Register

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