|
thanks graus,
can u pls give me any example or redirect me to any useful links which explains encryption and cryptography in detail????
|
|
|
|
|
HELLO TO EVERY ONE,
i 'm having two login one for admin and other for user.
ther is one form which is accessed by both the users..
now i want that when any user login and sign out of that common page then user login page should be displayed other wise admin login page should be displayed..
Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles signout.Click
Session.Abandon()
Response.Redirect("AdminLogin.aspx?msg=" + System.Web.HttpUtility.UrlEncode("You have signed out SuccesFully. Please Sign in again"))
End Sub
now how i should purt the logic.
Thank You.
|
|
|
|
|
Hi my dear friends,
We know when we publish a web site by VS .NET default settings, many dlls generates with random names and add a element to page directive wich refers to the particular dll file. When we change a code line in a file and recompiling web site all dll names changes and we have to upload all of dlls . Now , my question is How we can aviod this?
Is there any way to uploading just one dll which we change its code ... ?
"Sorry for my bad english "
|
|
|
|
|
Hi
Plse suggest or with an exmaple How can I read inputs from the hardware device
Example:
In Milk collection stations if there is device by which we can measure the fat content of
milk if it measures the Fat content and given reading as 8.0 how can i get it in to my Application and use them where I have To connect to my System (SERIAL PORT)...
And I my Application what namespace I have add. plse help me
came out of hardwork
|
|
|
|
|
Gosh, you're a little lost.
If you're using .NET 2.0, there are serial port classes. However, they are going to run on the server. You're asking in the ASP.NET forum, a web app would typically run javascript only on the client, and is not going to read any ports. You can run .NET controls inside your site, but they are a PITA to deploy, you'd have to have dedicated sites willing to install .NET and also your controls. Then you'd be back to writing .NET code, which would be appropriately asked for, in the forum for the language you use to write them.
http://www.codeproject.com/csharp/SerialCommunication.asp[^] is a Code Project article on using the Serial Port in C#.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi!
Iam facing a small problem with ListBox control. I add some items to the ListBox through javascript. But when I PostBack the page, the ListBox gets cleared. How can I stop this. I have done everything such as EnableViewState=True and nowhere in the code Iam clearing the ListBox. What can be the problem.
Thank You
-- modified at 2:30 Monday 25th June, 2007
|
|
|
|
|
Do you ever set the data source for the list box ? What C# code interacts with your listbox control ?
Setting the data source will cause it to lose any values that were added on the client side, as well as any selection information.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
No, Iam just getting the value from listbox in codebehind. Iam adding items in the list box to a DB. Even Iam getting the count of listbox items as 0 while debugging. Why is it showing so.
|
|
|
|
|
when you add items through Javascript (client side), it will not modify the state of listbox items in server side. So after roundtrip to server, it will take only the items existing in server.
Hope it will clear your doubt.
If not, Please learn about server side and client side coding.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi friends,
i have one gridview control in asp.net 2.0 page. In that i added properties like pager settings in which page size is 3 and further i added pager-mode like NextPrevFirstLast.
Now what i want is when i click "next" it should display me a string such as "Record No 4 to 6 out of 50" or whatever. And when i click "previous" it should display previous page records with string "Record No 1 to 3 out of 50".
So what could be the possible way of doing so. Kindly help me in this regard.
thanks & regard.
vkey.
|
|
|
|
|
There are lot of articles related to that.
Gridview[^]
Regards,
Satips.
|
|
|
|
|
i have written tags in asp.net
but it is not highlighted or i can't see the effect of select. on selection of highlight so that we can make up the bound of tag
...
...
how to do that.
thank you
vijaya
vijaya
|
|
|
|
|
I'm sorry, I have no idea what it is you are asking. You added a table to an ASP.NET page. Now you want to select it ? How ? In the IDE, by the client, or what ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
in the source file while typing code (.aspx)
sometimes i want to see where exactly my code ends,
if i place my cursor at the begin of tag and it heighligts the end of the tag or visa versa. so typing is easy we can makeout error due to code.
thank you
vijaya
|
|
|
|
|
OK - that's an IDE option. Just indent your code properly, if you can't get it to work, then you can see that you closed all the tags.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hai every one
i want run aspx page to remote iis
i should copy all source file and paste to remote iis machice
while run the project i will get below mention error
please give me the solution
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
<configuration>
<system.web>
<customerrors mode="Off">
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.
<configuration>
<system.web>
<customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm">
thanks& regards
dhatchinamoorthy.r
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
I have to develop an application just like outlook express features is there any API in .net if any help me plz i will wait for ur reply
|
|
|
|
|
There's no magic API, most of what you'll want to do will probably be AJAX/Javascript. Sending mail with .NET is trivial. Not so sure about how you'd go about recieving and storing it, however.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi friends
In my form,I encrypt and decrypt username and password succesfuuly.
my encrypted username and password stored in cookies.any possiblities hackers
find out my username and password encrypted format to text format
regards
saravanan
|
|
|
|
|
No,If you added some key values with your data.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
|
saravanan05 wrote: somekey value means
Get it[^]
Regards,
Satips.
|
|
|
|
|
Of course they can. The question is, how badly will they want to ? You need to make it too hard to be worth their while, you don't need it to be as secure as physically possible, unless people will *really* want to get in ( for example, if you're writing a site for a bank )
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hay,
In my project i need handle multiple sitemap can i have? and more over how can i go ahead with this concept
Nagaraj
|
|
|
|
|
dear raju,
its possible raju.you have to mention the sitemap name in your project and
you can use it in a single page using master page concept.
all the best
Sathesh Pandian
|
|
|
|