|
a=text.IndexOf("$$");
b=text.IndexOf("##");
Response.Write(a);
Response.Write(b);
string res=text.Substring(a+2,b-a-2);
Then process on remaininig string
text=text.Substring(b);
and use loop
Best Regards,
Chetan Patel
|
|
|
|
|
But how to use loop........
what should i check......Help me with some code..
Deepak Nigam
|
|
|
|
|
What do you want to do with these occurences?
|
|
|
|
|
Thanks for replying
I am making an online examination system in which questions or its options may contain pictures also.......
In such a case i want to store the image path at the place of image with the question. To seprate this i'll use some flag....
Now by getting the flag position i'll get the path of the image and generate an image at the requried place.
But the problem is that it may be possible that there are more than one image in the question in such a case what to do....
Deepak Nigam
|
|
|
|
|
Hello frnds,
i have a web cam i want to store images to database, i am using ASP.Net 2.0 using C#/VB
how can i do that ???
which namespace should i use ???
please help ???
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
do you want to store an image straight from the cam?
you can store images in a number of ways in the database try google
|
|
|
|
|
I guess you cannot do it straight away..The web cams out out the files in binary streams and you require to collect them and form the file. Then you have a chance to store this in DB in the form of BLOB
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Where webcam is located ? In client ? Then you can't do that. If the webcam is in server, it should save the files in a location where ASP.NET has access. It can read from there and update the database. You can use BLOB in database to keep it. But really, ASP.NET is not made for this kind of stuffs.
|
|
|
|
|
Thankx for reply any code sample ?????????/
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
can any one help me how i assign the xml file in the datasource of the drop down list
its really urgent
|
|
|
|
|
please upload some code you have written for the same
Best Regards,
Chetan Patel
|
|
|
|
|
Create a XMLdataSource and give the path as your XML file.Now set this XMLSource as your Datasouce of dropdown list and call DropDownList1.DataBind()
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Work around:
Load the XML File in in Dataset and then bind the drop down list with dataset.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
how to work both javascript and validation controls to work in the same page....becoz when both are there javascript is not working ...how this problem is solved
|
|
|
|
|
Simple dont use validation controls and write your own javascript validateion fucntion and in the OnClick property of the control that initiates the validation put your validation function name.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
I would use the custom asp.net validator controls, but that just me..
|
|
|
|
|
i have not checked this..But in case you have another validation javascript function as well have you checked which get fired or both ?
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hey jagan...y ur asking such a silly questions...try urself..those are very easy...
don't put such question in this forum...
|
|
|
|
|
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.
|
|
|
|