|
Kasi Viswanathan wrote: Can u post ur code...
Could you use proper English instead of abbreviations and textspeak?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
How to Crop Image to desired Pixels in Javascript + Asp.net 2.0
please help me.
Any Sample code is appreciable.
Thanks n regards
Krishna PRASAD.
fttyhtrhyfytrytrysetyetytesystryrty
modified on Saturday, December 22, 2007 1:44:12 AM
|
|
|
|
|
yadlaprasad wrote: i want to crop the image,after croping the image then only i want to insert in to the database.
Load Bitmap instance, and use Graphics.DrawImage() specifying the width and size. You can try GetThumbNail() also.
|
|
|
|
|
You can't crop an image in Javascript and unless you're writing a HTTP handler, or showing images in a web page with no text, you'll have trouble trimming them in memory and then showing them. What are you trying to do ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sir, I want the coding for storing datas into access database.
|
|
|
|
|
Google broken where you live ? What have you tried ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
wrote: I want the coding for storing datas into access database
Can't really do that. You did not supply a clear/concise need or database information at all. Code for storing data in a database depends on the schema, etc of the database. There is no one clear answer to your need.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
It's with JS and AJAX concepts.
|
|
|
|
|
the moment , it changes the pic, i think that moment , the request should go to the server.I mean when it changes the pic automatically, after that , i click the ALT + Back button , it should take me to the previous pic , but the moment i click at the back button it is taking me to yahoo.com page.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Sonia Gupta wrote: i click at the back button it is taking me to yahoo.com page.
AJAX calls won't be stored by the browser to take you to the back. So pressing back button will take you the page where you came from.
|
|
|
|
|
I recommend the book 'AJAX in Action' as a way of understanding what's happening here.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: AJAX in Action
I was looking for this since last two months. Looks like indian edition is not available yet !
|
|
|
|
|
N a v a n e e t h wrote: indian edition is not available yet
As you know, Indian Edition is much cheaper than the original version.. I was in India last year and I was so happy to buy the books over there.
|
|
|
|
|
That's a pity. It's a great book. I guess it's not financially viable for you to buy from Amazon ? That sucks.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Christian Graus wrote: I guess it's not financially viable for you to buy from Amazon
Yes you are correct. It's not financially viable for me to get it from Amazon. It's very costly there.
|
|
|
|
|
output type parameter int in the sql server 2000 helps in returning the value.Can i extract the string from the stored procedure .I wrote the following syntax
@error varchar(100) output
but this is not working.
I wanted to get the string in the code behind .
Please Help.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Hard to know what 'it's not working' means. If you add a variable to the code that calls your proc, and you set it to be an output variable, once you close the connection, you should be able to use that variable to access the value.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You have to set the parameter direction to output. Then access the value of that particular parameter after calling stored procedure.
|
|
|
|
|
Sonia Gupta wrote: this is not working
It doesn't really help when you aren't clear as to what is not working.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I am creating this page where I am reading from the database using a SqlDataReader and Loading the info into an ArrayList. The ArrayList is a class member and the ArrayList object has been created in the class constructor, therefore, this object should be visible to all other members of the class.
However, if I add some objects to the ArrayList in a MenuItem_Click and then try to read those added objects from a Button_Click, it shows the ArrayList is empty - which seems quite surprising. Obviously I am missing something.
Any help?
Thanks.
Ekjon
|
|
|
|
|
The two clicks happen on different postbacks, so there's a new list each time.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Christian,
Thanks for the reply. I worked mostly with non-web-based apps, so I thought if I create the ArrayList in the costructor, its always the same List unless the page is disposed.
So, what would be the solution? How do I get the same Even if I use a DataSet, is it gonna behave the same way? Please help.
Thanks.
Ekjon
|
|
|
|