Search Results

Showing results 1 to 40 of 69
Search took 0.01 seconds.
Search: Posts Made By: ninjaimp ; Forum: ASP.NET and child forums
Forum: ASP.NET 5 Days Ago
Replies: 2
Views: 150
Posted By ninjaimp
Hi All,

I have been developing an app that will run on my work intranet. The whole appliation works but part of the app is to open a specific PDF file from a selection. So i pass the file name...
Forum: ASP.NET Sep 18th, 2009
Replies: 1
Views: 443
Posted By ninjaimp
Hi

I have a procedure that performs checks on controls in my page against rules set in a SQL table. It all works fine except that when im casting the control e.g.
...
Forum: ASP.NET Jun 3rd, 2009
Replies: 5
Views: 577
Posted By ninjaimp
Where are you storing the log on details? Just hold all the logon information in on table e.g.

UID
Username
Password
AccessLevel

Create a different access level for librarians and students...
Forum: ASP.NET May 2nd, 2009
Replies: 3
Views: 2,010
Posted By ninjaimp
thanks tony - ill give it a go and let u know how i get on!
Forum: ASP.NET May 1st, 2009
Replies: 3
Views: 2,010
Posted By ninjaimp
While i thought this would be really simple im really struggling on filtering a gridview twice!

I can bind data to my gridview on the choice of my first dropdown box from a dataset

but i would...
Forum: ASP.NET Apr 30th, 2009
Replies: 6
Views: 1,653
Posted By ninjaimp
Whats your code for capturing the change on the dropdown?
Forum: ASP.NET Apr 30th, 2009
Replies: 7
Views: 924
Posted By ninjaimp
you need a space before and after the "=" sign. That may help.

Only enlcose your ID value in single quotes if is a text value.
Forum: ASP.NET Apr 25th, 2009
Replies: 1
Views: 440
Posted By ninjaimp
have a look here:

http://www.asp.net/learn/videos/video-07.aspx
Forum: ASP.NET Apr 25th, 2009
Replies: 1
Views: 365
Posted By ninjaimp
have a look here for starters:

http://msdn.microsoft.com/en-us/library/ms978378.aspx

and here

http://www.4guysfromrolla.com/webtech/110701-1.shtml
Forum: ASP.NET Apr 23rd, 2009
Replies: 3
Views: 1,072
Posted By ninjaimp
check t make sure that all your tables column names are the same if you want to use the built in login code.

Else you could just as easy build your own if you have the table already in place.
Forum: ASP.NET Apr 23rd, 2009
Replies: 6
Views: 658
Posted By ninjaimp
have a look here:

http://odetocode.com/Articles/223.aspx

not exactly what your trying to do but could give you some ideas on how to display a calendar control which will only display available...
Forum: ASP.NET Apr 22nd, 2009
Replies: 2
Views: 872
Posted By ninjaimp
found this:
In your modal



window.returnValue = "doReload";
window.close();


Then in your mainpage
Forum: ASP.NET Apr 22nd, 2009
Replies: 6
Views: 658
Posted By ninjaimp
what do you mean block the date between?
Forum: ASP.NET Apr 22nd, 2009
Replies: 5
Views: 890
Posted By ninjaimp
change this line


object fileName = Server.MapPath("/WordSample/WordFiles/Test.doc");

to

object fileName = Server.MapPath("~") & "WordSample\WordFiles\Test.doc";
Forum: ASP.NET Apr 22nd, 2009
Replies: 6
Views: 658
Posted By ninjaimp
what are you trying to acheive? Are you trying to store dates into a table? Search on dates?

Do you have any code that you need help on?
Forum: ASP.NET Apr 20th, 2009
Replies: 2
Views: 323
Posted By ninjaimp
try opening the site in another browser like in firefox?

If you are running vista this can have some issues with how it uses ip address's and seems to effect sites running out of the development...
Forum: ASP.NET Apr 20th, 2009
Replies: 4
Views: 626
Posted By ninjaimp
have a look here for:

http://www.devasp.net/net/articles/display/291.html
Forum: ASP.NET Apr 20th, 2009
Replies: 5
Views: 489
Posted By ninjaimp
your creating this string:


Dim str As String = "insert into Track(TrackingID,PickDATE,Consignment,Reference,Origin,Destination,Status,Destination,RecipientName) Values('" &TextBox1.Text& "','"...
Forum: ASP.NET Apr 20th, 2009
Replies: 9
Views: 4,077
Posted By ninjaimp
just try this:

{d:0}

Works for me!
Forum: ASP.NET Apr 20th, 2009
Replies: 5
Views: 489
Posted By ninjaimp
can you show all your code, so i can see where your using the string?
Forum: ASP.NET Apr 18th, 2009
Replies: 6
Views: 689
Posted By ninjaimp
what is the code you are using for the search?
Forum: ASP.NET Apr 17th, 2009
Replies: 6
Views: 689
Posted By ninjaimp
have a look at the application pool in iis associated with your site, the idel time may need to be extended.
Forum: ASP.NET Apr 17th, 2009
Replies: 4
Views: 779
Posted By ninjaimp
look at the requiredfieldvalidator control.

This can easily add validation to a text control on your form

have a look here: http://www.w3schools.com/ASPNET/control_reqfieldvalidator.asp
Forum: ASP.NET Apr 17th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
just get the host to set the permissions, they shouldnt have any problem doing this. The DB shouldnt loose its security settings unless there is a problem on the hosts side.

Does it happen...
Forum: ASP.NET Apr 17th, 2009
Replies: 2
Views: 454
Posted By ninjaimp
have a look here

http://msdn.microsoft.com/en-us/library/dz12d98w(vs.80).aspx
Forum: ASP.NET Apr 17th, 2009
Replies: 2
Views: 888
Posted By ninjaimp
in code, say the page_load event you could do:


me.label.text = "Test Text"
Forum: ASP.NET Apr 17th, 2009
Replies: 9
Solved: session
Views: 587
Posted By ninjaimp
at the top of you login page


if Session("UserName") <> "" Then
Response.Redirect("default.aspx")
End If
Forum: ASP.NET Apr 17th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
are you opening and closing the connection with each transaction you do n the table i.e:


connstr.open()

constr.close()
Forum: ASP.NET Apr 17th, 2009
Replies: 5
Views: 489
Posted By ninjaimp
where are you using this:


Dim str As String = "insert into track(TrackingID,PickDATE,Consignment,Reference,Origin,Destination,Status,Destination,RecipientName) Values('" &TextBox1.Text&...
Forum: ASP.NET Apr 17th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
sorry it meant to say 'is'

is the same connection string in all your pages?
Forum: ASP.NET Apr 17th, 2009
Replies: 7
Views: 939
Posted By ninjaimp
you can still use the image table - just add each image url into the table along with the corresponding product id. You can then retrieve all the images from the table that match the given...
Forum: ASP.NET Apr 17th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
check that the page ios using the same connection string, and not an old one!
Forum: ASP.NET Apr 16th, 2009
Replies: 9
Solved: session
Views: 587
Posted By ninjaimp
have a look here
http://www.w3schools.com/ASP/asp_sessions.asp

it shows you how to create and set sessions.

You can set the sessions with the username of the person who logs in.

Use this...
Forum: ASP.NET Apr 16th, 2009
Replies: 7
Views: 939
Posted By ninjaimp
Create an 'Image' table in your DB

this could have something like:

ImageID (Primary Key)
ProductID (foreign key)
ImageUrl

store the path to the image in this table with the productID it...
Forum: ASP.NET Apr 16th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
sorry, try this:



response.write(server.mappath("/"))
Forum: ASP.NET Apr 16th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
ok it may be because the DB is stored in another folder on your server

on a new page just run response.write(server.mappath()) and let us know what it says

and then let me know what folder...
Forum: ASP.NET Apr 15th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
what line of your code is the error on?
Forum: ASP.NET Apr 15th, 2009
Replies: 9
Solved: session
Views: 587
Posted By ninjaimp
create a session like this


session("MySessionName") = me.txtUsername


you can then use this session in other or same page by calling like this


me.txtUsername = session("MySessionName")
Forum: ASP.NET Apr 15th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
just try this connection string in your code first and try something like this:


connstr = "Provider=Microsoft.Jet.OLEDB.4.0;data source=" & server.mappath("AnnexII.mdb")""


This is presuming...
Forum: ASP.NET Apr 15th, 2009
Replies: 22
Views: 1,675
Posted By ninjaimp
no worries - let me know how you get on
Showing results 1 to 40 of 69

 


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

©2003 - 2009 DaniWeb® LLC