|
I wouldn't doubt that. rac = rent-a-crock
"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
|
|
|
|
|
Hi,
iam confuse that how to set onclick of linkbutton control as i can select record in form view?
i have created link button programaitically using linkbutton class and now how i set onclick event for this button as to select records from database to formview control
please give me hint that how i do that .
regards
Rameez
|
|
|
|
|
rameez Raja wrote: give me hint
Need to give a little more detailed information.
"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
|
|
|
|
|
Thanks for reply
actually i have created linkbutton programatically and added to the table cell and and now i wants if i clcik on this linkbutton then related record is displayed in form view control.
i have to bound data with it and when i click on it , it displays record in formview control.
how i do this any hint or article is highly apperciated.
iam working on reservation aplication.
Regards
Rameez
|
|
|
|
|
You can use bind.For example textBox,label can be bind.
studing is processing in this life.
|
|
|
|
|
hi
every one
actually i want to browse the image from c drive and want to save in word .
how is it possible .
plz tell me.
thanks..gaurav
|
|
|
|
|
What does your question have to do with ASP.NET?
"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
|
|
|
|
|
actually
as we can save image in a folder using asp.net i want to save picture in ms word.
how is it possible.
thanks...
|
|
|
|
|
The par where you upload the image from the local C drive to the server is trivial ASP.NET. The rest has nothing to do with ASP.NET, even if you do it on a server. why would a server accept an uploaded image, then stuff it into word before saving it ? Because it has too much hard drive space ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Why not just put it in the word doc using Office Interop Library?
"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
|
|
|
|
|
Hi,
In my Gridview, I am displaying columns like the below:
Col1 | Col2 | Col3
x | x | this is test. Abcfr mn some text some text, some text...
In the third column col3: I have large text some more than 1000 characters of data. While displaying this large text, I am displayinh the first 25 characters. Here my requirement is while printing, I have to print complete data in that column.
How to do this print?
Thanks in advance
|
|
|
|
|
I suggest buying a book on ASP.NET so you understand what it is and what it does. Printing is done by the browser and not by your code. You need to display your text, in order for it to print.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: suggest buying a book on ASP.NET so you understand what it is and what it does
Why do I get this feeling there are a lot of questions in this forum posted by people who have no idea what ASP.NET really does?
"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
|
|
|
|
|
because you're observant ? Of all the forums, this one is definitely the one with the lowest clue factor. What's worst is people who spawn processes and show message boxes that do what they want because they test locally ( so the client IS the server ) and then they get all confused when they deploy....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: because you're observant
Christian Graus wrote: Of all the forums, this one is definitely the one with the lowest clue factor
Yes, of the programming forums that is.
"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
|
|
|
|
|
Hi frnds,
I need to access a file through a dll. File is located in application directory, where my web pages are located.
>Abc.dll - referenced in web application.
>test.pdf - located in application directory same as web pages.
can i access test.pdf through abc.dll
I feel it should be a trivial thing...but dont know somehow I am missing it?
thanks
Keep DotNetting!!
GeekFromIndia
|
|
|
|
|
What have you tried ? There's no reason for that not to work that I can see.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Try using Server.MapPath to resolve the virtual path in to physical path from the dll. You should reference the System.Web.dll before trying to do that.
HTH
|
|
|
|
|
How can I call method from one page to other page?
Thanks
|
|
|
|
|
Can you explain your question in more detail? This might make it easier to answer
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
yes sir,
I have one method in one page,There are 2 pages(_Default and _Default2)
in one webapplication .
one has already built method calcuatbalance()
Now i want to call from page2
this is page1 one.
<br />
<br />
Partial Class _Default<br />
Inherits System.Web.UI.Page<br />
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
<br />
call calcuatbalance()<br />
<br />
<br />
<br />
End Sub<br />
<br />
<br />
public sub calcuatbalance()<br />
....<br />
....<br />
....<br />
End sub<br />
<br />
End Class<br />
<br />
this is page2
<br />
<br />
Partial Class _Default2<br />
Inherits System.Web.UI.Page<br />
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
<br />
call calcuatbalance()<br />
<br />
End Sub<br />
<br />
How can I call calcualte balance from _Default2 page.
Thanks
|
|
|
|
|
Best thing to do would be to take the function out into it's own class and put it inside the app_code folder and use it from both the pages.
HTH
|
|
|
|
|
I have an application that "serves" barcode images to client pages. It is called by referencing the server page in the "src" or "ImageURL" property of an img object, along with parameters, such as <img src="barcode.aspx?code=ABCDEF123&width=3&height=0.75&barcolor=Red" alt="" />
It's working well, but now I'm trying to handle any errors that might occur. I would like to place the error description on an image that I download to the client page in place of the barcode image that *would* have been displayed if there had been no errors. I'm getting totally confused by all the graphics options. All I know is that I start with my message text ("rs_Message"), somewhere in the middle there'll be a "Dim Image As Byte()" line, and I need to end with the lines:
Response.Clear()
Response.ContentType = "image/gif"
Response.BinaryWrite(Image)
Response.End()
Any thoughts?
|
|
|
|
|
hi
i have assign file name in fileupload control text area while i am editing gridview
i give a code like this but it display error
fileupload_ads.FileName=gv_chadvert.Rows[e.NewEditIndex].Cells[4].Text;
please help me
with regards,
bretto
|
|
|
|
|
You can't assign anything to the FileName property of the upload control. That would be a serious security hole, as you could access the contents of files on the client system by automatically uploading them.
The user has to select the file to upload.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|