User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 332,952 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,809 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Showing results 1 to 40 of 200
Search took 0.02 seconds.
Posts Made By: plazmo
Forum: JavaScript / DHTML / AJAX 32 Days Ago
Replies: 10
Views: 1,021
Posted By plazmo
Re: How to apply No right click script inhere...?

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 32 Days Ago
Replies: 1
Views: 225
Posted By plazmo
Re: connect to a port

its
address:port

http://localhost:5222
Forum: MS SQL 32 Days Ago
Replies: 2
Views: 1,417
Posted By plazmo
Re: How to add not null column in SQL Server 2005

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 row,...
Forum: MS SQL 32 Days Ago
Replies: 3
Views: 372
Posted By plazmo
Re: retrieval of unique data

just replace the * with the column names...
Forum: ASP.NET 32 Days Ago
Replies: 1
Views: 141
Posted By plazmo
Re: How to zoom the picture

increasing the height/width of the image will make it larger, but it may make the image look blocky.
Forum: ASP.NET 32 Days Ago
Replies: 1
Views: 159
Posted By plazmo
Re: how to create footer in page

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: 588
Posted By plazmo
Re: Extract columns from two independent table in SQL Server 2005?

select * from table1, table2

this combines both tables
Forum: ASP.NET Apr 11th, 2008
Replies: 4
Views: 221
Posted By plazmo
Re: Event Handler

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: 180
Posted By plazmo
Re: Textarea Value

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: 384
Posted By plazmo
Re: Object reference not set to an instance of an object.

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 Cart
Forum: ASP.NET Apr 3rd, 2008
Replies: 6
Views: 520
Posted By plazmo
Re: 301 redirect on a non-aspx page?

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...
Forum: ASP.NET Apr 2nd, 2008
Replies: 2
Views: 288
Posted By plazmo
Re: how to upload image from specific path

you already made a thread about this...
Forum: ASP.NET Apr 2nd, 2008
Replies: 4
Views: 828
Posted By plazmo
Forum: ASP.NET Apr 2nd, 2008
Replies: 4
Views: 414
Posted By plazmo
Re: How to add data to the content place holder at runtime

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: 520
Posted By plazmo
Re: 301 redirect on a non-aspx page?

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: 629
Posted By plazmo
Re: Upload image without using fileupload

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 file...
Forum: ASP.NET Mar 31st, 2008
Replies: 6
Views: 444
Posted By plazmo
Re: Master Page Links Problem

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 target="iframesID"
Forum: JavaScript / DHTML / AJAX Mar 28th, 2008
Replies: 2
Views: 590
Posted By plazmo
Forum: JavaScript / DHTML / AJAX Mar 28th, 2008
Replies: 5
Views: 2,305
Posted By plazmo
Re: javascript onclick is not working in IE7 & IE6

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: 280
Posted By plazmo
Re: Which is better in terms of optimization?

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: 336
Posted By plazmo
Re: Where to insert this code?

you need to put that code in your test.aspx.vb file.
Forum: ASP.NET Mar 19th, 2008
Replies: 2
Views: 359
Posted By plazmo
Re: Open a file using asp.net

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: 205
Posted By plazmo
Re: Storing Views and File information

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 log...
Forum: ASP.NET Mar 11th, 2008
Replies: 3
Views: 507
Posted By plazmo
Re: alert/message box

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: 245
Posted By plazmo
Re: problem with insert statement

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: 3,240
Posted By plazmo
Re: Custom error checking

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: 4,005
Posted By plazmo
Re: PostBackURL vs. Response.Redirect

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 your...
Forum: ASP.NET Oct 23rd, 2007
Replies: 5
Views: 2,259
Posted By plazmo
Re: Page.IsPostBack

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 28th, 2007
Replies: 4
Views: 2,423
Posted By plazmo
Re: help learning RPG IV *sigh*

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 try...
Forum: C# Jan 26th, 2007
Replies: 4
Views: 1,333
Posted By plazmo
Re: To split or not to split? To substring or not to substring?

static void Main(string[] args)
{
string s = "123456789012345678901234567890";//source string
int i=7;//index
do
{
s =...
Forum: C# Jan 25th, 2007
Replies: 4
Views: 1,333
Posted By plazmo
Re: To split or not to split? To substring or not to substring?

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: 1
Views: 1,884
Posted By plazmo
Re: Custom HttpHandler.

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: 4
Views: 2,423
Posted By plazmo
help learning RPG IV *sigh*

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: 5,278
Posted By plazmo
Re: Gridview Paging Problem.

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 may...
Forum: C# Oct 3rd, 2006
Replies: 8
Views: 6,999
Posted By plazmo
Re: Combo Box

um that link sucks.

but to add an item its something like

comboBoxID.Items.Add("text","value");
Forum: ASP.NET Sep 30th, 2006
Replies: 9
Views: 13,606
Posted By plazmo
Re: ASP .NET hit counter?

int hits = Int32.Parse(Application["Hits"].ToString());

but
int hits = (int)Application["Hits"];

would be better because the object is already an int
Forum: ASP.NET Sep 28th, 2006
Replies: 3
Views: 1,352
Posted By plazmo
Re: DataList - How to Hide repeating value in a column.

no that wouldnt work, because it would only get 1 record for each id.

But to the question, what is the problem? Do you not understand what they are doing?
Forum: C# Sep 20th, 2006
Replies: 7
Views: 1,241
Posted By plazmo
Re: Wanted source code

Oh god, you are trying to get a job programming webpages, and you obviously dont even know what source code looks like.
Im sorry but you fail.

p.s. You will not get any respect in any forum writing...
Forum: ASP.NET Sep 19th, 2006
Replies: 2
Views: 1,040
Posted By plazmo
Re: COMpare BLOBS

id say the easiest way to check for duped blobs is to compare there hashes. so if you want it to be fast, add a hash column to the table, then generate like a md5 hash when you insert it.
Forum: ASP.NET Sep 15th, 2006
Replies: 8
Views: 2,314
Posted By plazmo
Re: Webservice

do you see what you are doing wrong here?
your looping thru the rows and not even using the object your looping with, 'row'. and if its only 1 column your itemarray index should be 0...
Showing results 1 to 40 of 200

 
All times are GMT -4. The time now is 3:54 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC