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
M

MeterMan

@MeterMan
About
Posts
216
Topics
82
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • confused on property
    M MeterMan

    Here is what I have came up with but for some reason the code doesn't hold the current pagenumber it resets it every time to 1 according to debugger. I have it is not ispostback so this has me puzzled. Please look at code and advise thanks :) http://pastebin.com/662278 thanks alot MeterMan "Live life to its fullest because, you never know when it will be taken away."

    ASP.NET help question

  • confused on property
    M MeterMan

    How do you go about doing something like this? i want to keep a record of the current page number i know i could use a session but I wanted to try the property method as a different way. Here is what I have came up with Pageload() if NOT ispostback() pagenumber =1 end if Public Property pagenumber() Get Return value ' not sure what to put here if i need to declare an integer or what? End Get Set(ByVal value) dim myvalue = value ' confused on this if thats what i need to do? or not. End Set End Property thanks for the help just confused on this one. couldn't find an answer on google but probably not looking in the right place :( MeterMan "Live life to its fullest because, you never know when it will be taken away."

    ASP.NET help question

  • pop up window using javascript in response.write
    M MeterMan

    Can someone please have a look at this and explain to me why the following happens? 1) when i click on say welding.doc it doesn't popup and my popup blocker in firefox is turned off. 2) the item is in my inetpub root dir as welding.doc so I don't see why it doesn't load when i type http://localhost/welding.doc it shows just fine. here is my code Protected Sub ddnNotes_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddnNotes.SelectedIndexChanged 'Response.Write("var win=window.open('" & ddnNotes.SelectedValue & "',null,'width=510,height=255,top=250,left=250','true');") End Sub thanks for the help. MeterMan "Live life to its fullest because, you never know when it will be taken away."

    ASP.NET javascript help question

  • How do you display function output in contentplaceholders
    M MeterMan

    no i understand that part but what i'm saying is how do i convert tags to code cause i'm wondering if put the able tag in a lable do i get < t a b l e> or does it actually make the table cause my understanding lable.text take a string value and displays it to the string. so basically im wondering if the tags will show as tags or if the html will automatically format them.. Hope I'm making sense. thanks again. MeterMan "Live life to its fullest because, you never know when it will be taken away."

    ASP.NET question

  • How do you display function output in contentplaceholders
    M MeterMan

    Okay sorry but curious about the second method. I understand the part of placing the label in the control lets say for instance lblSomething are you saying I can do something like this Protected function mygridfunction(byVal dt as datatable) as string { ....

    } then lblSomething = mygridfunction() I see what your saying but how would i have it convert the html tagging as in making the table in the lable if you will. thanks sorry for allt he questions just confused. MeterMan "Live life to its fullest because, you never know when it will be taken away."

    ASP.NET question

  • How do you display function output in contentplaceholders
    M MeterMan

    I have a masterpage and on it i have a contentplaceholder called maincontent I have a contentpage called content.aspx Inside content.aspx i have I the content.aspx.vb I have a function that generates a dynamic table or me based on the number of rows in a datatable. How can i get the content to go to the correct contentplaceholder? basically I need smething like this mygridfunction() But i do not know the correct syntax. cause the mygrid doesn't nothing more than do a series of response.writes with table tags thanks in advance. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time" -- modified at 22:23 Friday 7th April, 2006

    ASP.NET question

  • gettinig insert error and need help
    M MeterMan

    Thanks for the reply and also the word of warning on injects I will read that. One question. How do you make the page accept the changed values n a dropdownbox only when you hit commit button. Basically ddnExpense.SelectValue is changed and the other values are put into the text boxes but the pages has no idea what the value of ddnExpense is because it hasn't postedback. The thing is I don't want it to post back when i make a change in the dropdown because then Id loose all the data in my other fields. Any help on this would be great. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Visual Basic help database mysql

  • gettinig insert error and need help
    M MeterMan

    No offense but I see no difference in the code you posted than that of mine. ONly things is your making it a shortcut by using Imports System.Data.oledb and your making a Oledbconnection which is what I'm doing in my code the connection string is write all that works the issue is the insert string. I use this same syntax with other dataaccess the only problem is the insert string its formated wrong and i'm not sure what i'm doing wrong. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Visual Basic help database mysql

  • gettinig insert error and need help
    M MeterMan

    Protected Sub btnCommit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCommit.Click Dim ra As Integer Dim MyConn As New System.Data.OleDb.OleDbConnection(Connstring) MyConn.Open() ' open connection Dim MySql As String = "Insert into ExpenseReport _ (DateRow1,WhomRow1,CCardAmountRow1,PCardAmountRow1,CashAmount,VehicleNumRow1,ProjectnameRow1, _ TypeofExpenseRow1) values " & tbxDate.Text.ToString & "," & tbxWhom.Text.ToString & "," & _ tbxCCard.Text.ToString & "," & tbxPCard.Text & "," & tbxCash.Text & "," & tbxVehicle.Text & "," & _ tbxProject.Text.ToString & "," & ddnExpense.SelectedValue.ToString Dim command As New System.Data.OleDb.OleDbCommand(MySql, MyConn) ra = command.ExecuteNonQuery() MyConn.Dispose() Response.Write("New Row inserted" & ra) End Sub End Class Can someone tell me why I'm getting a insertion syntax error when trying to run this code. My db has those exact fields. This is an access db by the way if that matters. thanks for the help Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Visual Basic help database mysql

  • Unclear on Datasources
    M MeterMan

    I have this code in ExpenseReport.aspx.vb with the sql string and all. Do I still need to make a datasource with the designer? The reason I say Is i see no other way to get the datasource into the aspx file. http://pastebin.com/627396 (here is the vb file that i'm working with) http://pastebin.com/627405 (the one that the designer made) Personally Id like to make the datasource totally from scratch manually like i did in the vb file but the thing is when I remove the datasource from the aspx file my datagrid goes bye bye. Can someone please please help me in understandng what i'm doing wrong cause i'm going nuts over here. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET database com help question

  • can someone please tell me how to host a page
    M MeterMan

    thanks but it keeps on saying I'm not authorized to view this file. Is that something to do with the webconfig or something? i changed it to form instead of windows. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET tutorial windows-admin help

  • can someone please tell me how to host a page
    M MeterMan

    I have installed iis and have a inetpub dir and i have visual studios 2005 installed as well. I made some aspx pages and they work in the designer when i run them. I want to host them so my boss can access them and view the page as a webpage. When i hit build/publish page it puts the stuff in the inetpub dir but I can't for the life of me figure out how to get the pages to load. A step by step walkthru would be great if someone minds taking the time to help a guy willing to learn. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET tutorial windows-admin help

  • Help with MasterPage CSS
    M MeterMan

    Anyone have any idea why i can't get my css files to work please ? Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET css com help

  • Please help totally lost on syntax
    M MeterMan

    Thanks for all your help. I was wondering about that != but yeah makes scense kinda like multiplying something by 0 it is always goning to be zero. again thanks Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Database database help

  • Please help totally lost on syntax
    M MeterMan

    Yeah unfortunately I'm using access for now. We will be converting to sql server soon but for now Access. Sorry I should have been more specific. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Database database help

  • Please help totally lost on syntax
    M MeterMan

    When I try both of your methods it ask me to enter a value for bd.tboxBeginDate I checked the database and this table has values so I'm not sure whats wrong must be something with the join statement :( Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Database database help

  • Please help totally lost on syntax
    M MeterMan

    thanks a bunch you wouldn't happen to have a good place "tutorial" that will help you with sql other than w3schools would you? thanks again Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Database database help

  • Please help totally lost on syntax
    M MeterMan

    I have two tables that I have joined First table is ExpenseReport and has a field in it called tboxBeginDate Second table is called BeginDates and has a field in it also called tboxBeginDate. I want to query and show only those dates in BeginDates that are not used in ExpensReport Select ExpenseReport.tboxBeginDate, BeginDates.tboxBeginDate from BeginDates.tboxBeginDate RIGHT JOIN ON ExpenseReport.tboxBeginDate where BeginDats.tboxBeginDate != ExpenseReport.tboxBeginDate. any help would be great thanks Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    Database database help

  • Help with MasterPage CSS
    M MeterMan

    Anyone have any other ideas on this? The css stuff is great but for some reason I can't get my pages to use it :( Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET css com help

  • Counting Values in a Datagrid Vb.net asp.net visual studios 2005
    M MeterMan

    Thanks a million it worked I modified it and commented it like crasy so I could understand it. Thanks again. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

    ASP.NET help csharp asp-net 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