|
sathimailin1 wrote: showing doevents is not a member of system.web.HTTPApplicationState.
Oh, so it's a web application after all?
I assumed that it wasn't, as what you are asking about so obviously doesn't work in a web application.
The Label object that you are trying to change doesn't correspond to anything that is visible anywhere, not even in a browser somewhere else in the world. The Label object is just part of the control tree of the page that is being created, it's not until your code finishes, the page is rendered into an html document, the document is sent to the browser, the browser parses the document, and displays it as a page, that the result of code that the Label object rendered is visible anywhere.
To display anything in the browser while the page is being created, you would have to write part of the page to the response stream and flush it, then write Javascript code blocks to update an element in the page for each update. This means that you have to output all the html code for the page yourself, and can't have any markup code in the .aspx file at all.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
How to store multiple selected values of listbox into sql server 2000 .
I have a listbox in whcih i can select multiple items and to store into data base column .
Any Advise how i do that .
Regards
rameez
|
|
|
|
|
check SelectedIndex while storing data and read the value form listbox and save it to database
cheers,
Abhijit
|
|
|
|
|
You can create comma saperted string and pass it to proc and get stored into table. At the time of display selected value you need to split it with ',' and then select the item of combo.
Please be sure about the lenght of table field and stored procedure param.
- Imran
|
|
|
|
|
Thanks for ur response ,
can u write some lines of code for understanding please?
Regards
Rameez
|
|
|
|
|
I am using Visual Studio2005.
I had added the Textbox Attribute "onfocus",so as to clear the Textbox On Focus.
Now could you please help me how to get the default Text Written in the Textbox,as the Focus is removedd.
Pl provied me the required Syntax to add the Attribute,and also the Java Script if needed..I new to this Domain..
Thanx in advance....
modified on Saturday, July 26, 2008 8:47 AM
|
|
|
|
|
Hi,
I have developed a web-service.It has some dll's written in windows apps using c#.net. My webservice is working fine on my local system.(I gave webservice IP as "http://mysystemIP/../xxxxx.asmx".)using another windows apps I added web refrence and working fine in my local system
Now I want make my webservice work on another system and to access all the webmethods.
1.If the systems are in LAN,how to do that work?
2.If systems are in WAN,how to do tthat work?
kindly guide me...
|
|
|
|
|
there is no particular difference between your system web service installation and LAN
only setup your web service on any server on LAN and set network configuration such as firewall and etc. then you can access via your web service http address.
and if you want run it on www you must have domain and host like other websites and then run it on your domain. after doing that you can access it with your domain address.
Human knowlege belongs to the world
|
|
|
|
|
webplanner,is it a .net control ?.if yes,how to install in my local system ?
|
|
|
|
|
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hello...
i have Developed a project in Asp.net2.0 using Oracle 9i. i want to run this Project on Intranet.I have oracle server and application server.and i have created database in my Database server. and when i install .net in my application server and run publish file then it works fine but without .net publish file dosen't run...
Please help me...How to run application on Intranet..
Give some Idea abt how to run application on Intranet....
Thanks
|
|
|
|
|
if you want to access your web application you should have to deploy it a IIS web server. and the server in which you have deployed, it should be in intranet. that's all. then you can access it. by refering the IP only.
if you haae any doubt you can ask me.
Good luck !!
cheers,
Abhijit
|
|
|
|
|
raushan_9 wrote: when i install .net in my application server and run publish file then it works fine but without .net publish file dosen't run...
The server needs to have .NET installed to run a .NET application.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Dear all,
We have a VB.Net 2003 winforms application.
I have created a datagrid "datagrid1" with 3 columns in it(FirstName, LastName, CheckboxColumn). One of the columns is a checkbox column.
Lets say the user selected 5 checkbox rows(out of 20 rows), I would like to retrieve the FirstName & LastName values for these selected 5 rows from the Datagrid & display it in a listbox. Please advise how can it be done.
Your help is much appreciated.
kissy
|
|
|
|
|
Kissy16 wrote: We have a VB.Net 2003 winforms application.
This is ASP.Net Forum . Please put it in VB.NET section.
Thanks
cheers,
Abhijit
|
|
|
|
|
sorry asp.net using vb in vs2003
kissy
|
|
|
|
|
if you want to retrive name on some button click, use FindControl method of grid view, and find the Checkbox then check which is selected or not.
Hope this will help you.
cheers,
Abhijit
|
|
|
|
|
I am placin a bit of code here-- an give me some idea to fulfill my requirement
Dim rowCount As Integer = 0
Dim strname As String
Dim i As Integer
i = 0
Dim DemoGridItem As DataGridItem
For Each DemoGridItem In DG1.Items
Dim myCheckbox As CheckBox = CType(DemoGridItem.Cells(0).Controls(1), CheckBox)
If myCheckbox.Checked Then
rowCount += 1
end if
next
In the above code how can i store the selected checkbox perticular column in the selected rows?
I want to update that array of columns in the database at a time later.
Can i do this?
kissy
|
|
|
|
|
Kissy16 wrote: In the above code how can i store the selected checkbox perticular column in the selected rows?
Use DataGridRow class that can store particular row
cheers,
Abhijit
|
|
|
|
|
use this code
foreach(gridview row in gridview1.rows)
{
}
now this foreach loop move through all rows in that grid.
now fetch the control and add the text into list...
|
|
|
|
|
I am using enterprise library application block in asp.net using C# web development application. I need to create a crystal report and access it in my web page on a button click. Please tell me how to do this. Help me with a sample code or with the concept.
Thank You.
|
|
|
|
|
i m developing a website
in that in a page i have a button
when i click on the button
then a page is displayed as a pop up page
but my browser doesnt allow the pop up menus/pages
then i changed the settings of my browser to allow pop up menus/pages for my web site
now can we do it thru the programming
bcoz considering that website clients as non-technical people
can we achive it thru programming
one more doubt....
every time i press the button then it is shows the pop up page
so it is burden for the server
can we cache it....
and call from the cache for the 2nd time..
plz help me
thanks in advance
vijay
|
|
|
|
|
If you want to avoid popup then you can use overlay functionality, in which one div will on the top of the page which will have all that stuff which your poup will contain.
About caching, its depend what the data that page has, if its static then we can cache the output.
- Imran
|
|
|
|
|
I am using AJAX Calendar Extendar Control in my application, But I don't want allow the user to select future dates.
How do I do this without doing a postback?
Thank U all,
Kiran
|
|
|
|
|
i am tring to search for log files on c:\ using a date range (format 20080725) the file format is lookup20080725.log the other log is detail20080725.log. the logs are created daily and i want to pull
up all files using a start date and a end date. then to display then on a web page with hyper links.
these files are on the server not a pc if that helps.
i am not sure if using a do loop or the for next is better
Dim str As String
Dim en As String
Dim i As Integer
Dim filext As String
str = date1.Text
en = date2.Text
Do Until i = en
filext = File.Exists("C:\lookup" & i & ".log")
i = str + 1
If filext = True Then
End If
Loop
thanks for any help or advice or even a point in the right direction lol
|
|
|
|