|
hi pankaj,
thanks for reply,i have one doubt what is 'a'which mentioned above.Rows.Count means to count the rows what is "a".
Take Care
Thanks & Regards
Senthil Kumar
|
|
|
|
|
Sorry Pankaj,i m not having the checkboxes in the grid.
|
|
|
|
|
How are you outputting the checkboxes? Is it in a checkboxlist, or are they individual.
|
|
|
|
|
it is individual checkbox
|
|
|
|
|
Not too sure exactly what you are doing here, I have a feeling there may be a better way. If you have random numbers of checkboxes on your page, you could potentially loop through the Controls collection of the Page and find look at the checked values for all controls of type CheckBox.
|
|
|
|
|
Hi senthil,
You can grab all the values of the check boxes into a string something like below.
0,1,1,0,0
or
false, true, true, false, false
store it as a sting to the DB and when you read back use split() and get the values back.
-ram.
|
|
|
|
|
Dear All,
I have tested my web page in localhost but it can't work and it show the text as bellow:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/TestASPX/Default.aspx'. Line 1, ...
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
I think maybe i decript not clear. Hope you know the problem.
Pls....
VB.Net
modified on Monday, January 14, 2008 5:10:55 AM
|
|
|
|
|
goto all Menus-> programs->microsoft visual studio->visual studio tool->visual studio 2005 command tools
write the following line
aspnet_regiis -i
and press enter
hope the problem will not execute further.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Thank you deptly for your help. It's ok but only in my computer. now i have another problem with computer in network. They can't open it.
how can i do ?
Help....pls
VB.Net
|
|
|
|
|
did u create the precompied files for the site.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
sorry i do not know precompied files. What are they ?
how can i create them ?
VB.Net
|
|
|
|
|
right click the website in the solution explorer , select the publish web site option.
This will help u to access the page on the network as well.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Try to test it. Thank you for your help
VB.Net
|
|
|
|
|
Pankaj Garg,
Problem still can't open my website in network group.
I made my website as http://golden/kds/default.aspx
i can open but other computer in network can't open just show The page can not be displayed.
what is up? How can resolve it ?
VB.Net
|
|
|
|
|
did u publish the website?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
yes but i can't still open my website in computer network.
what's problem ? how to resolve its ?
VB.Net
|
|
|
|
|
Hi,
Iam working on a web application MyApp. I have a root folder My App and a sub folder Media inside MyApp with images.
The images are uploaded and downloaded through the application.
I want to secure this folder Media so that no one can access the images by typing the URL http:// //MYApp/Media/ in the address bar .
How can i block the access to images through browser such that the upload and download via application is not affected an no one can access images also?
Any kind of help will be appreciated.
Thanks
Ramya
|
|
|
|
|
Go to IIS default website list, in that go to the properties of your website and uncheck the 'directory browsing' option.
Sathy
|
|
|
|
|
Create a specific user for your application and grant that user read/write privileges. Then disallow similar privileges for the standard IIS account. Then use impersonation to execute the functionality from within your application.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
hello frnds,
i have developed a application that take care of transaction handling.
i have create a transaction obeject and update four tables. In this operation if error occoured then it will call rollback() else calls commit() method.
but when 4 user accessing site same time then transaction handing demo throughs an exection fro 2 users
what should i do to solve the problem????
where i am wrong??
help
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
I am unable to understand ur problem and May i know please , what exception , u r getting?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
|
MembershipUser mu;
mu = Membership.GetUser(DdlUseName.SelectedValue);
mu.ChangePassword("asdfgh@", "asdfgh$");
|
|
|
|
|
|
<membership userIsOnlineTimeWindow="1">
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add connectionStringName="SIMSys_ConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>
In web.config the above code is given The error displayed is string or binary datat truncated.
|
|
|
|