|
You know, I swear by Liberty's C# book, and I didn't know he had an ASP.NET book. Guess I'll definetely be picking this one up.
|
|
|
|
|
Yeah, he's a good author. Programming C# 4th edition got a bad review in the last CVu magazine by these guys - ACCU[^]
I've not seen the 4th ed but I own the first ed and thought it was excellent. I did take issue with the critic though.
Kevin
|
|
|
|
|
this one would appear pretty cut and dry at first. I Am being histed by godaddy, and when i try to use any of my web pages that touch the SQl db i have with them, i am getting the awful "Login request failed" error, which lists the machine account as the login that is failing. I would usually add the asp .net account or machine account to the user's group if i was running the db myself. Obviously, i cant do that in this situation.
is there a "real" fix for this kind of problem? So that when the web app goes to the sql server, it uses the information i am trying to pass through the conenction string, not the account running the app?
______________________
Mr Griffin, eleventy billion is not a number...
|
|
|
|
|
I am converting a winforms application to a webforms application. In the winforms application the user will choose a file or folder from a CD and those files are copied to holding area on the network. What would be the best way to accomplish this task in a webforms app?
Would File.Copy allow the user to choose a file from their workstation and then copy it to the network in a webform app the same as a winform app. Or, is there a better solution?
|
|
|
|
|
The equivalent for a web application would be using a FileUpload control to upload the file to the server. You can't use that to upload a folder, though. To do that you would have to use an ActiveX component or a Java applet in the browser to do the upload.
---
b { font-weight: normal; }
|
|
|
|
|
sir,
Can i programically select the text in the textbox in vb.net with asp.net
after the postback of another textbox.
Please Help
Thanks.
|
|
|
|
|
Please clarify what are you trying to achieve.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Create a public function in your global module
Public Function SetFocus(ByVal FocusControl As Control) As String<br />
'Setting focus to supplied control<br />
Dim Script As New System.Text.StringBuilder<br />
Dim ClientID As String = FocusControl.ClientID<br />
<br />
'Building java script<br />
With Script<br />
.Append("<script language='javascript'>")<br />
.Append("document.getElementById('")<br />
.Append(ClientID)<br />
.Append("').focus();")<br />
.Append("</script>")<br />
End With<br />
<br />
Return Script.ToString()<br />
End Function
From your aspx form call that function to set focus on your textBox
'set focus <br />
RegisterStartupScript("setFocus", Utilities.SetFocus(txtName))
postmaster
www.programmingknowledge.com[^]
|
|
|
|
|
Sir,
Can i use menu items in vb.net 1.1.
If possible please send some links
Thanks
|
|
|
|
|
hello
i am learn with Design and Implementation Guidelines for Web Clients
http://msdn.microsoft.com/practices/apptype/webapps/default.aspx?pull=/library/en-us/dnpag/html/diforwc-ap02.asp#diforwc-ap02_plag_howtodesigncrudform
How To: Design Data Maintenance Forms to Support Create, Read, Update, and Delete Operations
but i have problem with
SQLHelperExtension.Fill(reader, customer, customer.Customer.TableName, 0, 1)
can help me what iam doing bad
i am using Imports Microsoft.ApplicationBlocks.Data i see the version and show me version 2
tnanks for the time
|
|
|
|
|
I've inherited a VB.NET 1.1 website and am trying to make some enhancements. It needs to remain a .NET 1.1 site.
I'm trying to merge in some pages from an old HTML site -- specifically, one that captures name and email address so visitors can subscribe to an email newsletter. It uses the old ASP model of a form (action=http://www.thirdpartyurl.com/emailsub.asp?CustID=12345, method=POST) that gets submitted to the third party mailing list manager with some pre-defined form fields filled in.
What's the best way to make this work under .NET 1.1? ASPX pages all post back to the originating server and page, so having the browser post to the new URL isn't working. I have to use the runat=server model because the page has a lot of server controls that must remain there (header, navigation, etc.)
I presume this means I have to use something at the server end to simulate that post -- what piece of the framework do I use for that? And then how do I capture the result? In the POST to the particular service we're using here, we specify three different pages back on our own site: one for a successful subscription, one for a successful UNsubscription, and one for an error (already subscribed, etc.). So that site will turn around and redirect us to the proper page (on our own site) for feedback. How might I capture that and redirect accordingly?
Thanks in advance....!
Rob Schripsema
Integra Software and Services
|
|
|
|
|
RobSchripsema wrote: I have to use the runat=server model because the page has a lot of server controls that must remain there (header, navigation, etc.)
That doesn't mean that the form that you post has to be the form with runat="server".
---
b { font-weight: normal; }
|
|
|
|
|
OK, please explain.
The POSTING form is on a larger page that contains a number of ASP web controls. My understanding and experience is that for those to work, the primary FORM item that ASP.NET pages contain must be set to Runat=Server.
I know the form I am intending to post TO could be anything -- even a PERL CGI script or something. My concern is how to get the form I'm hosting and using to capture information to appear to post to a different URL with a standard HTTP POST method.
Rob Schripsema
DeWaard & Jones Company
|
|
|
|
|
OK, please again.
Just because you have a form with runat="server", doesn't mean that you actually have to USE it.
You can have any number of forms on the page, as long as only one of them has runat="server", and no form is inside another. You can set up a form with hidden fields that you copy data to, and that you can post anywhere you like.
---
b { font-weight: normal; }
|
|
|
|
|
Hello There
I have installed my web application on win 2003 Server. This application is a "network service" as security is windows integrated. Now when user click export button in my application the application has to create one Excel file and export it. but on creating a file it says Access is denied. If I changed the service from "network Service" to "Local Service" then I did not get the Username from user.identity..
I am stuck some where, Where application is ready but cannot show it to customer.
Please suggest me what to do ?
|
|
|
|
|
Sir,
I am proceeding for a project named Library Management project.I can code but don't know how to proceed .I mean I don't have any requirement that's y i am facing problems.If i get the help for what r the main issues i mean what r the main requirements in the Online Library management System Project.Can i get any link to this online project.
PLease help
Thanks.
|
|
|
|
|
Ask your professor
only two letters away from being an asset
|
|
|
|
|
Sir,
please help .and i think we r here to help each other.
Thanks.
|
|
|
|
|
If you doing it as your class project then YES Ask your professor
If you doing it for a group of user then talk to them to get your requirements.
== postmaster
www.programmingknowledge.com[^]
|
|
|
|
|
Sir,
I am doing this project just for my knowledge .That's y i need ur help.
Please send any link.
Thanks
|
|
|
|
|
Then ask yourself what the requirements are for your application. Don't ask us.
only two letters away from being an asset
|
|
|
|
|
Very Basic requirements could be:
1. Allow user to login into your system.
2. Check user's access right.
3. Allow browse the system.
4. Allow search the system
5. Allow admin to add, edit or remove records.
and so on
=postmaster
www.programmingknowledge.com
|
|
|
|
|
can anybody explain me how exactly
System.Web.Security.FormsAuthentication.SignOut()
will work.
in my page in the pageload event, for some condition i had given System.Web.Security.FormsAuthentication.SignOut() and after that Exit sub.
The condition is evaluated to true and the Code (System.Web.Security.FormsAuthentication.SignOut() ) was executed without error, and after wards, exit sub tooo.
the problem is as soon as FormsAuthentication.SignOut() is executed it is not signing out of the page (redirect to login page)instead the current page stays, and when i do any postbacks again , it is redirecting to login page.
Im i doing anything wrong, if so what is the correct usage of FormsAuthentication.SignOut()
Thanks,
harsh
|
|
|
|
|
MSDN documentation is conflicted on this
When the SignOut method is called, a redirect to the application's login page is made by calling the Redirect method with the endResponse parameter set to false.
Yet it also says
You can use the SignOut method in conjunction with the RedirectToLoginPage method to log one user out and allow a different user to log in.
Just go call RedirectToLoginPage after SignOut to be sure
only two letters away from being an asset
|
|
|
|
|
Sir,
What are Secured Socket Layers .I want to implement it in the project.(an online project).
Please help.
Thanks
Can i get a code project linkin vb.net with asp.net that uses the Secure Sockets Layer (SSL)?
|
|
|
|