Forum: ASP.NET Sep 18th, 2009 |
| Replies: 1 Views: 421 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: VB.NET Jul 7th, 2009 |
| Replies: 0 Views: 864 Hi
Im trying to to simply list all security groups from active directory as i will then be doing checks on folders with the mathcing security group.
I can list all the users from active... |
Forum: ASP.NET Jun 3rd, 2009 |
| Replies: 5 Views: 556 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: 1,896 thanks tony - ill give it a go and let u know how i get on! |
Forum: ASP.NET May 1st, 2009 |
| Replies: 3 Views: 1,896 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,559 Whats your code for capturing the change on the dropdown? |
Forum: ASP.NET Apr 30th, 2009 |
| Replies: 7 Views: 879 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: 428 have a look here:
http://www.asp.net/learn/videos/video-07.aspx |
Forum: ASP.NET Apr 25th, 2009 |
| Replies: 1 Views: 352 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,006 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: 631 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: 814 found this:
In your modal
window.returnValue = "doReload";
window.close();
Then in your mainpage |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 6 Views: 631 what do you mean block the date between? |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 883 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: 631 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: 314 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: 590 have a look here for:
http://www.devasp.net/net/articles/display/291.html |
Forum: ASP.NET Apr 20th, 2009 |
| Replies: 5 Views: 468 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: 3,930 just try this:
{d:0}
Works for me! |
Forum: ASP.NET Apr 20th, 2009 |
| Replies: 5 Views: 468 can you show all your code, so i can see where your using the string? |
Forum: ASP.NET Apr 18th, 2009 |
| Replies: 6 Views: 676 what is the code you are using for the search? |
Forum: ASP.NET Apr 17th, 2009 |
| Replies: 6 Views: 676 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: 747 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,638 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: 446 have a look here
http://msdn.microsoft.com/en-us/library/dz12d98w(vs.80).aspx |
Forum: ASP.NET Apr 17th, 2009 |
| Replies: 2 Views: 833 in code, say the page_load event you could do:
me.label.text = "Test Text" |
Forum: ASP.NET Apr 17th, 2009 |
| Replies: 9 Views: 562 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,638 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: 468 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,638 sorry it meant to say 'is'
is the same connection string in all your pages? |
Forum: ASP.NET Apr 17th, 2009 |
| Replies: 7 Views: 903 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,638 check that the page ios using the same connection string, and not an old one! |
Forum: ASP.NET Apr 16th, 2009 |
| Replies: 9 Views: 562 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: 903 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,638 sorry, try this:
response.write(server.mappath("/")) |
Forum: ASP.NET Apr 16th, 2009 |
| Replies: 22 Views: 1,638 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,638 what line of your code is the error on? |
Forum: ASP.NET Apr 15th, 2009 |
| Replies: 9 Views: 562 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,638 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,638 no worries - let me know how you get on |