Search Results

Showing results 1 to 40 of 206
Search took 0.02 seconds.
Search: Posts Made By: plazmo
Forum: ASP.NET Oct 5th, 2009
Replies: 5
Views: 303
Posted By plazmo
datareader.Read() is advancing your data reader to the next row. If there is only 1 row then the next row would be empty. delete that and it should work.(i have it bold)
Forum: ASP.NET Oct 5th, 2009
Replies: 5
Views: 271
Posted By plazmo
You are closing your reader before you have read the data.
I put in bold what you should delete
Forum: JavaScript / DHTML / AJAX Jun 19th, 2008
Replies: 6
Views: 1,684
Posted By plazmo
collapse is only useful for table rows or columns. otherwise its rendered as just hidden on any other element.
it wont change the structure if the text and the image are the same size.
Forum: JavaScript / DHTML / AJAX Jun 15th, 2008
Replies: 6
Views: 1,684
Posted By plazmo
no, display:none is correct.
your thinking of visibility:hidden

and display:none is better then visibility:hidden because it actually collapses the element rather then just hiding it and leaving...
Forum: JavaScript / DHTML / AJAX Jun 13th, 2008
Replies: 6
Views: 1,684
Posted By plazmo
you can move these events out into a function, but im just keeping it simple.

<div...
Forum: JavaScript / DHTML / AJAX Jun 13th, 2008
Replies: 4
Views: 2,243
Posted By plazmo
the inner html of the whole html document is
document.childNodes[1].innerHTML

or
document.body.innerHTML
if you just want the bodys html
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008
Replies: 11
Views: 4,037
Posted By plazmo
First off you cannot link to c:\
Unless name.xml is on every users computer nothing will show there.

Saving the file does not reveal the files location, its probably just that you have the src...
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008
Replies: 1
Views: 879
Posted By plazmo
its
address:port

http://localhost:5222
Forum: MS SQL Apr 15th, 2008
Replies: 2
Views: 13,300
Posted By plazmo
if you want to add a not null column to a table with rows, you need to set a default value to the new column.

adding a new column without a default value would put a null in the column for each...
Forum: MS SQL Apr 15th, 2008
Replies: 3
Views: 1,232
Posted By plazmo
just replace the * with the column names...
Forum: ASP.NET Apr 15th, 2008
Replies: 1
Views: 1,030
Posted By plazmo
increasing the height/width of the image will make it larger, but it may make the image look blocky.
Forum: ASP.NET Apr 14th, 2008
Replies: 1
Views: 1,019
Posted By plazmo
Use a master page for the header and footer.

If you dont know how to use a masterpage, do some research, its easy to use.
Forum: MS SQL Apr 11th, 2008
Replies: 5
Views: 2,648
Posted By plazmo
select * from table1, table2

this combines both tables
Forum: ASP.NET Apr 11th, 2008
Replies: 4
Views: 671
Posted By plazmo
it doesnt sound like you need anything more complicated then a image wrapped in a link to your page.

<a href="homepage2"><img /></a>
Forum: ASP.NET Apr 11th, 2008
Replies: 1
Views: 1,483
Posted By plazmo
text1.Text=Request.Form("text1")

Request.Form("controlID") will return the text value of the form field.
Forum: ASP.NET Apr 11th, 2008
Replies: 4
Views: 2,908
Posted By plazmo
Session("Cart") is null
So either check if Session("Cart") is null, and create a new one if it doesnt exists. or create a new Session("Cart") when the session is started.

Session("Cart") = New...
Forum: ASP.NET Apr 3rd, 2008
Replies: 6
Views: 3,826
Posted By plazmo
the web.config needs to be at the root of your old site.
looks like this fully written out.
This can be entered as many times as you need, im not sure if there is an easier way to write it though....
Forum: ASP.NET Apr 2nd, 2008
Replies: 2
Views: 1,128
Posted By plazmo
you already made a thread about this...
Forum: ASP.NET Apr 2nd, 2008
Replies: 4
Views: 9,812
Posted By plazmo
Forum: ASP.NET Apr 2nd, 2008
Replies: 4
Views: 3,846
Posted By plazmo
you access your content tags.
they look like this.
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"></asp:Content>

then you just call it from the c# code by...
Forum: ASP.NET Apr 2nd, 2008
Replies: 6
Views: 3,826
Posted By plazmo
You should set this up in IIS using an http redirect.
You just need to have the file highlighted then in features view select http redirect then specify the new address in the box and check the two...
Forum: ASP.NET Apr 1st, 2008
Replies: 10
Views: 4,045
Posted By plazmo
are you trying to upload this image from every visitor of the page or just you?
I dont believe it is possible to upload a file from a visitor, because then nothing would stop you from taking any...
Forum: ASP.NET Mar 31st, 2008
Replies: 6
Views: 2,767
Posted By plazmo
Master pages are not made to display external pages.
If you want to have a menu and display external sites, put a iframe where your content panel would be. and on the menu links put...
Forum: JavaScript / DHTML / AJAX Mar 28th, 2008
Replies: 2
Views: 1,248
Posted By plazmo
Forum: JavaScript / DHTML / AJAX Mar 28th, 2008
Replies: 5
Views: 13,694
Posted By plazmo
the problem is you cant put an event on a option in IE as far as i know.
so the best solution is to put the event on the select

<div id="div1" style="display: visible">Div 1</div>
<select ...
Forum: Database Design Mar 28th, 2008
Replies: 2
Views: 785
Posted By plazmo
Use the first scenario.
Keep all the events in one table and all the categories in one table.
It will be faster and easier to work with.
Forum: ASP.NET Mar 19th, 2008
Replies: 3
Views: 1,463
Posted By plazmo
you need to put that code in your test.aspx.vb file.
Forum: ASP.NET Mar 19th, 2008
Replies: 2
Views: 2,416
Posted By plazmo
you cant do any more writing to the page once you close the response. There is really no reason to close the response anyways.

also, if all you are sending is the file to be saved then use...
Forum: ASP.NET Mar 18th, 2008
Replies: 4
Views: 725
Posted By plazmo
What are you logging in the database, is it just page views?
If so just turn on IIS logging and download IIS Log Parser http://www.logparser.com

You can query the log parser and make it update a...
Forum: ASP.NET Mar 11th, 2008
Replies: 3
Views: 3,648
Posted By plazmo
what you have will not work because you are adding the onclick event after the button was already clicked. so after the page postsback you should get that alert when you press the button using your...
Forum: ASP.NET Mar 10th, 2008
Replies: 2
Views: 1,183
Posted By plazmo
You dont need a where for an insert because your not filtering out data, its a new record to the table. only an update, select or delete statements need a where clause.

You probably meant to do ...
Forum: C# Nov 19th, 2007
Replies: 10
Views: 5,877
Posted By plazmo
This correctly checks if the value is a number but not a decimal.
You are converting the value to an int which cannot have a value past the decimal point unlike the decimal.
So passing ".1" would...
Forum: ASP.NET Oct 24th, 2007
Replies: 5
Views: 13,665
Posted By plazmo
PostBackURL sends all the form data to the assigned page.
Whereas when using Response.Redirect your sending the form data to your current page then moving your user to the assigned page.

So if...
Forum: ASP.NET Oct 23rd, 2007
Replies: 5
Solved: Page.IsPostBack
Views: 9,952
Posted By plazmo
Page.IsPostBack Is used to check if the user posted back to the page. Meaning they clicked a button or changed a field in the form that causes it to post back to itself.
Putting Not usually is used...
Forum: Legacy and Other Languages Jan 29th, 2007
Replies: 5
Views: 4,063
Posted By plazmo
wow. bringing bad an old thread lol. I did fine in the class.

But, to the above claiming I was 'blaming (my) inability to learn something on his teacher'
way to go an miss interpret my words and...
Forum: C# Jan 26th, 2007
Replies: 4
Views: 2,592
Posted By plazmo
static void Main(string[] args)
{
string s = "123456789012345678901234567890";//source string
int i=7;//index
do
{
s =...
Forum: C# Jan 25th, 2007
Replies: 4
Views: 2,592
Posted By plazmo
I dont know what you are trying to do but i made this for you.
There might be a better way but this adds chars in groups of 7 to a string.



string src = textBox1.Text;//source
...
Forum: ASP.NET Jan 23rd, 2007
Replies: 2
Views: 5,403
Posted By plazmo
This is what asp.net pages display when there is no output. And for this hander you are not displaying anything on the page.
If you want to put something on the page either do a Response.Write("")...
Forum: Legacy and Other Languages Oct 3rd, 2006
Replies: 5
Views: 4,063
Posted By plazmo
I need help with RPGIV . Im taking a class in school and the teacher and books suck. Can you point me to a site or 2 with RPG basics.
I just need help navigating the whole as/400 pdm thing and a...
Forum: C# Oct 3rd, 2006
Replies: 3
Views: 11,238
Posted By plazmo
try storing it in your context.session.
ive always prefered to just hit the database again for each page.
just grab only enough each query to fill one page.
EDIT: sorry i just realized, that you...
Showing results 1 to 40 of 206

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC