|
hey prasadam the give me the help if u know how to do .....
|
|
|
|
|
hey man i am not prasadam.. i am prasad..mind ur words..
|
|
|
|
|
hey bad boys...y ur disturbing all of us..don't u have work..????..jst get out of this forum..
i am going to give a complaint on jagan ..he may banned from this forum if he do like this again...
|
|
|
|
|
How to convert html div into the Image.
if any one has answer then please contact me.
Best Regards,
Chetan Patel
|
|
|
|
|
You cannot "convert" a div to a image if you want to show the image thre are two says
1) <div style="background-image: url(/test/Images/Your Photo.png);">
</div>
2) Put the image inside the div
<div>
<img src="~/test/Images/yourphoto.png" />
</div>
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
i have a div and i put some control in it.
and i am trying to convert that div into the Image.
my div become a image.
Best Regards,
Chetan Patel
|
|
|
|
|
I'm unable to understand your question. How can one convert div to image?
Chetan Patel Sai Soft wrote: my div become a image
According to me, this is simply not possible.
|
|
|
|
|
i want to create image for the contents in Div Element.
i need to generate image from html
Best Regards,
Chetan Patel
|
|
|
|
|
|
I hope that this might work....
$(document).ready(function(){
var imageSrc= $('div').css('background-image');
alert(imageSrc);
$('img').attr('src',imageSrc);
});
|
|
|
|
|
Actually I need the same result fot collection of images in the same div.. But I cant.. Help me if anyone have idea
<div id="imageCollect">
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
</div>
<img src="imageGeneratedFrom-imageCollect"/>
|
|
|
|
|
I have the same issue, I want to create an image from div contents, any help possible ??
|
|
|
|
|
|
Hi,
I'm trying to create an objectdatasource in code and then bind a gridview.
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "VeriWeb_Administration.BusinessObjects.Provider";
objDS.TypeName = "VeriWeb_Administration.BusinessObjects.Providers";
objDS.SelectMethod = "PopulateProviders()";
objDS.UpdateMethod = "Update(Provider item)";
objDS.ID = "ObjectDataSource1";
I get the following error on gridview.databind() :
The Select operation is not supported by ObjectDataSource 'ObjectDataSource1' unless the SelectMethod is specified.
Please help
|
|
|
|
|
try this out
objDS.SelectMethod = PopulateProviders;
Best Regards,
Chetan Patel
|
|
|
|
|
Hi, thanx for the reply but it has to be a string type.
|
|
|
|
|
Hi, thanx for the reply but it has to be a string and PopulateProviders return a list<>
|
|
|
|
|
Did you try it?
What it's looking for is the name of the function that should be executed.
Brad
|
|
|
|
|
I have tried:
objDS.SelectMethod = "PopulateProviders"; //The sytax is correct here.
as well as: objDS.SelectMethod = PopulateProviders(); in this instance I get the following error
Cannot implicitly convert type 'System.Collections.Generic.List <veriweb_administration.businessobjects.provider>' to 'string'
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "VeriWeb_Administration.BusinessObjects.Provider";
objDS.TypeName = "VeriWeb_Administration.BusinessObjects.Providers";
objDS.SelectMethod = "PopulateProviders()";
objDS.UpdateMethod = "Update";
objDS.ID = "ObjectDataSource1";
Is the rest of the above code correct? I have never created an objectdatasource is code before.
Thanx again
|
|
|
|
|
The solution was that I needed to set the gridview.DataSource = objDS. I previously set the gridview.DataSourceID = "ObjectDataSource1" which I thought is the same.
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "Provider";
objDS.TypeName = "Providers";
objDS.SelectMethod = "PopulateProviders";
objDS.UpdateMethod = "Update";
objDS.ID = "ObjectDataSource1";
The solution was that I needed to set the gridview.DataSource = objDS. I previously set the gridview.DataSourceID = "ObjectDataSource1" which I thought is the same. Everything is working nice.
Thanx
|
|
|
|
|
How to add a chekbox,TextBox and another webcontrol in repeter and datalist and how to generate its event.
please suggest me!
thank you
sam
Final year student of MCA
|
|
|
|
|
what do you mean repeater
do you mean a loop?
|
|
|
|
|
Repeter means <asp:repeter id="sam" runat="server">
its a control
Final year student of MCA
|
|
|
|
|
Hello friends........
I am having some problem in my project....
I have to submit the questions in the database but the problem is that if some question are having images then what to do?????
How to save the whole question with the images at its proper location and how to retrieve the question.
Help me plzzzzzzzzz
I want to import bulk of data from the excel sheet....i think if i convert each cell value that is either question or option with or without images to an single image....such as each question and its answer are having unique images...and now save their path in the database and images on the server.........
IS is possible?????
How to retrieve cell value from the excel and convert it into image...
Deepak Nigam
|
|
|
|
|
there are a view ways to save images
you can just save the image location in your database table column then write some front end code to access that table and display the image
or you could store the image in the database, this has problems however because you will need a large database if you plan to store lots of images
hope this helps
|
|
|
|