|
Hi All,
How do I pass a web page value in windows form in .net.
From my windows application, I want have open a web page and received web page value.
Please sent sample code.
Thanks
Rajesh
|
|
|
|
|
vnsraj wrote: Please sent sample code.
Why ? Are you unable to follow advice ? Have you written any code ?
This has nothing to do with ASP.NET. Absolutely zero. You're writing a windows app. Where does the value come from ? If it's not on the URL, you'd need to use the DOM to search the text of your web page, from a web browser control.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi...
im trying to get data from database..
using sessions retrieved data to text box and dropdownlist in following way...
how can i get path of fileupload control into textbox of file upload ctrl.
help me...
DropDownList1.SelectedValue = Session["website"].ToString();
TextBox8.Text = Session["link"].ToString();
|
|
|
|
|
madhukk wrote: how can i get path of fileupload control into textbox of file upload ctrl.
It's not possible. All of this looks very dodgy to me ( do your controls really have such pathetic names ? ), but either way, you can't set the text of a file upload control on the server, nor can you set it in javascript. This is for obvious reasons, if you could, you could hide one, send it with a web page, put the name of a windows config file, for example, in there, and it would upload without the user ever knowing.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
This is not possible, because so security reasons of web servers
|
|
|
|
|
Why did you answer to MY answer, and just restate what I had said ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi
I have a string of html which contain diffrent html tags.How to write the string as image file.
for eg:
I need to save the following html as an image.
'
|
|
|
|
|
You need to create a bitmap with the HTML text in it ? Create a bitmap and draw the text on there, I guess. Or do you want parts of it to render in the right style and parts not ? That's more complex. why do you want this ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i need to convert an html page to image and print in a network printer
|
|
|
|
|
OK, so you just want the text ? why does it need to be on an image if you're just printing it ?
Do what I said, draw the text onto a bitmap and print it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
its not only a text, it may contain images, formatted text etc like html.
If i print the text the html tags are getting printed
|
|
|
|
|
OK, well, then you need to try to ask your question clearly. You gave me an example where the tags for an image were shown, then I asked why you showed some text in bold, but showed the image tag. Then I said 'do you want to print the HTML or see some of it rendered' and you said the HTML. Do you want something totally different to what you've been asking, namely to see the page printed ? If so, just print it, if you need to do it programatically, print it from a web browser control.
And at this point, as far as I can tell from your vague and contradictory descriptions, this question appears to have nothing to do with ASP.NET.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Respected,
can we create Dynamically the Repeater control in asp.Net.Please tell me.
Thanks.
|
|
|
|
|
Repeater r = new Repeater;
this.Controls.Add(r);
Of course, you need to set its templates and stuff as well, but that's how you create a control dynamically, whatever it is.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Respected,
Because in my application the rows will be changing at runtime.And How it will done.Please tell me.
Thanks.
|
|
|
|
|
So, what you need to know is how to set the template for a dynamic control ? I have to be honest, I've never had to do this, but I found out how by doing this[^].
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Respected,
Can we send the PrintScrin of that page for Your understanding.So Please tell me how it will send U ?
Thanks.
|
|
|
|
|
I have no idea what you're trying to ask me. Why would you send me a printscreen of the website I pointed you to that explains what you want to do ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Respected,
My page description is that the frist row of my Repeater control is a
parent row on the basis of this parent row display child row,After that second parent row
will be selected.On the basis of second parent row display it's child records.
What control is use for this Grid Or Repeater.
This is the Example
DB/CR NOTE|DATE |CONT. NO DB AMT.| CR AMT.|IN REMM. |OUT REMM. Balance
--------------------------------------------------------------------
CWFL/FA/09-10/0001 25/09/2009 APZU3417091 118.75 0 0 118.75 (Parent row)
--------------------------------------------------------------------
12/10/2009 30 0 88.75 (Child Row)
--------------------------------------------------------------------
OBS/FA/09-10/0002 21/10/2009 XYZA4545456 50 0 0 38.75 (Parent row)
--------------------------------------------------------------------
22/10/2009 0 25 63.75 (Child Row)
--------------------------------------------------------------------
22/10/2009 hdfc 0 12 75.75 (Child Row)
--------------------------------------------------------------------
OBS/FA/09-10/0004 26/10/2009 ABCD1234567 414.28 0 0 -338.53 (Parent row)
--------------------------------------------------------------------
27/10/2009 0 295 -43.53 (Child Row)
--------------------------------------------------------------------
Total 118.75 464.28 30 332 -43.53
Thanks.
|
|
|
|
|
use javascript to expand and collapse the parent rows to child....
|
|
|
|
|
Respected,
How it will I do.Please tell me.I have not doing a code like that.
Thanks.
modified on Monday, November 2, 2009 5:10 AM
|
|
|
|
|
Hi Guys,
i am writing a web application where a setof different databases can be refreshed this is pretty different type of task am going to hadle.
i have written a SSIS package that can be invoked and refresh database.
my question here is
1)how can i get authentication for the databases :windows/Sql server
2)and how i ll be packaging ssis package with ASP.NET application during deployment.
Thank you guys please let me know if my approach is correct.
vikas da
|
|
|
|
|
tasumisra wrote: 1)how can i get authentication for the databases :windows/Sql server
If your server is installed locally, you can use Windows Authentication as in case of this, the SQL server authenticates using the windows login account.
You might read about this from here[^]
tasumisra wrote: 2)and how i ll be packaging ssis package with ASP.NET application during deployment.
This is pretty easy, just create a master setup which invokes each of them one by one.
|
|
|
|
|
This is going to be used to reset databases on an intranet ? Why use ASP.NET instead of winforms ? Or is it resetting the databases on the server ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If the .NET framework is already installed in our system when we are installing IIS, then ASP.NET will not be registered with IIS. So if we host any application on IIS it will not work. To Register your IIS with the ASP.NET version we need to run the aspnet_regiis -i command from the command prompt. This will automatically register the .NET Framework with our IIS.
But I do not know
How can run the aspnet_regiis -i command from the command prompt.
Can any one help me? What command should write in command prompt to run aspnet_regiis -i?
shahdat
|
|
|
|