|
You also have to add a reference to the System.Configuration assembly. In 1.1 this namespace existed in the System assembly, but in 2.0 new classes like ConfigurationManager reside in this new one.
|
|
|
|
|
hi
i have need to change the 1st character of the word should in caps along Tostring().
like s="south africa"
should s="South Africa"
Regards,
sri.
|
|
|
|
|
I'm not sure if there is a buit in funtion to do that...
but just give my idea..
- split the s tring into array of words
- capitalize the first character of each word
<< >>
|
|
|
|
|
I think there is no built-in function to do that..
use the following..
s = s.Substring(0, 1).ToUpper() + s.Substring(1);
Koushik
|
|
|
|
|
You can use the proper function which will capitalize the first letter of each word.
|
|
|
|
|
Hi all,
I am new to webservices can u help me any website to learn concepts of webservices.Any suggetions plz welcome.
thank u.
k.ravi sankar
|
|
|
|
|
|
Hi Friend'z...
I have some web pages that i dont want to allow users to see them directly without logging in. How can i do that? if and only if they have logged in, they have to be allowed.
Pl help me ...
shah_tech
|
|
|
|
|
|
I'm using Visual Studio.net 2003. In this no login control.so, pl can u explain me clearly? please.
|
|
|
|
|
- so just create a web form
- drag 2 textboxes for username and password
- do authentication when user clicks on Login button
try these steps..and post specific question if you get problem
<< >>
|
|
|
|
|
Hi,
I hav login page also, but after logout, when we press back button on browser it takes me to previous pages. this is the problem actually.
thanks in advance...
|
|
|
|
|
|
I get a problem on writing a web page using C#.net 2.0. I have added some check boxes to a table cell and a button. When I check on some of the check boxes and the click the button, the table cell's find controls cannot find out the control.... And the web page doesn't know which check boxes have been checked
Many Many Thanks for helping~~
|
|
|
|
|
you have to add controls after each post back...try this...
<< >>
|
|
|
|
|
Thanks for your reply. But if I need to add controls after each post back, then I don't know which check boxes have been clicked by the user.
|
|
|
|
|
so for this issue...you might store checjbox's states in a hidden field, or session, or somewhere else,.. so that you can read and bind these when creating checkboxes dynamically...
Hope you get the idea
<< >>
|
|
|
|
|
Hi,
I think you don't determine cell's ID that you find control.
|
|
|
|
|
Hi,
Thanks for your reply. I have used the debug mode to check the controls in table cell and using the while loop to get the controls one by one. But I still cannot find the check box in the table cell. Please kindly help. Thanks again
|
|
|
|
|
Yes you cannot find the controls which added dynamically as web is stateless env...that's why you have to re-create after each postback...
<< >>
|
|
|
|
|
Hi,
You can use the code in the code behind:
<br />
for (int i = 0; i < TableID.Rows.Count; i++)<br />
{<br />
CheckBox chk = (CheckBox)TableID.Rows[i].FindControl("CheckBoxId");<br />
if(chk.Checked)<br />
else<br />
<br />
}<br />
I hope it help for you
|
|
|
|
|
Need help... When I do comparison betwen a cell contents of the grid and and arraylist I need to disable that particular row in the grid.... Is it possible...
for (int i = 0; i < mylist.Count - 1; i++)
{
foreach (GridViewRow row in grdSelectClient.Rows)
{
if( row.Cells[5].Text.ToString() == mylist[i].ToString())
{
//Code for disabling the row when comparison is equal....
}
}
}
-- modified at 6:32 Monday 7th May, 2007
-- modified at 6:34 Monday 7th May, 2007
|
|
|
|
|
Hi,
I hope you have got the solution by this time but still I suggest you to write the following code inside the "if" block in your code
row.Enabled = false;
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
I had to generate a Word Report with password.
Upon the request from the clients the application will create a Word Report at the server(where Word 2000 is installed) closed that file, exported the same to the client system. After that the file is deleted from the server.
But in some client system some gif files were not getting loaded(There also it was using Word 2000). Actually i tested from 5 to 6 machines which have been installed Word 2000. It was getting loaded at some and not at the other.
But it was also not getting loaded at the systems where Word 2003 is also installed.
But whatever the client is the file is generated correctly at the server before it is exported. I have checked that by commenting the code that deletes the file at the server.
Please help....
-- modified at 6:28 Tuesday 8th May, 2007
O
|
|
|
|
|
Hello,
I want to capture webcam image from ASP.Net application using C#. Client should access my ASP.Net page which should be able to access the webcam image from client's browser and upload on my web server.
Please respond it immediately.
Jitendra
|
|
|
|