|
Hi,
I need help for creating Search Option for Combo Box. The search should be like based, Suppose if the user searches for "Basic" system should retrieve "Visual Basic", "basic", "Visual Basic .NET" etc.
Please help me out.
Thanks,
Libran
|
|
|
|
|
Hi.
Try this query string for searching
string str="select * from <tablename> where user like '%" & combo.text & "%'";
Pathan
|
|
|
|
|
Hi All
i have i javscript function in .js file ok now i want to call that javascipt function from my windows application which returns value
|
|
|
|
|
you can not call a javascript function from windows application.
regards
sAqIb
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
Why do u need that?
Best Regards
3ala2
|
|
|
|
|
Hi
Actually i am developing i testing tools in which i have read data from html page but the data is coming from javascript function so i can't read the data if i parse the html file .
so i have decided to use MShtml.ddl amd SCDocVw.dll so that by using IHTMLdocumentClass amd InternetBrowserclass to get data
but if you can tell me how to call the javascipt function then it will be easier fro me
Thanks
|
|
|
|
|
Hi, In my app i generated a tablerows dynamically through javascript,after the postback the dynamic rows are vanished.
what i have to do maintain dynamic rows(contain texboxes in each cell)?
After filling the textboxes(html textboxe,i want to pass all the values to the database,
How can i pass these textbox values to server?
Plz give me some idea regarding that?
Advanced Thanks
Srilakshmi.
|
|
|
|
|
srilu nagalla wrote: what i have to do maintain dynamic rows(contain texboxes in each cell)?
You have to recreate them on every postback.
srilu nagalla wrote: After filling the textboxes(html textboxe,i want to pass all the values to the database,
How can i pass these textbox values to server?
If the fields are inside the form that is posted to the server, their values are included in the data that is posted. You can use Request.Form to retrieve the values on the server.
---
b { font-weight: normal; }
|
|
|
|
|
Where are you calling the Javascript to create dynamic textboxes?
The script might not be running after the postback causing the textboxes to vanish.
I still cudnt figure out why are you creating textboxes with Javascript.
Please explain your scenario so that anyone here can help you out or provide a better solution to your problem.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
_mubashir wrote: Where are you calling the Javascript to create dynamic textboxes?
When i enter in page it contains table heading and one row with textboxes,after i fill boxes and then press "Enter" button then next row will add
_mubashir wrote: I still cudnt figure out why are you creating textboxes with Javascript.
For execution faster i want to add rows dynamically,to remove burden on the server.
Is their any wrong in my view? which is the best one,server side rows creation,client side creation
Which is the faster one? and eaiser one?
|
|
|
|
|
i have 2 labels 2 text boxes 1 button which on click should save the details in my database where as i also have a dropdownlist which should show all the names and a gridview which should contain all the hyper;inks to the fields.this is to be done using oracle as a backend.
i have designed the form but i am unable to connect it to database as i don't have a knowledge of using oracle as backend.
so kindly plz help me.
ratish
|
|
|
|
|
There are a number of articles written on this...Use google first, try them out and if you stuck somewhere using the code then consult here.
The members here are considered to work themselves rather than they are provided with the spoon feed.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
see i have created a code as i told u i am facing a problem in connectivity if u wan't i can send u the code.
|
|
|
|
|
plz post the exact problem that you are having to get connected to the oracle database.
regards
sAqIb
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
hi
using system.data.odbc;
thn create a ODBC connection string
and cofigure ODBC and DNS through Control Panel.
deepak
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
hi guys
I want to create folder with help of .NET. When user clicks on new folder from menu then new folder will be created on particular path.
Please help if any one knows..........
Thanks in advance
Regards,
DJ Rock
|
|
|
|
|
hi
hope tht'll helps u
<br />
<br />
string myfolder = ("d:\\abc" );<br />
<br />
System.IO.Directory.CreateDirectory(myfolder);<br />
<br />
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
hey deepak thanks a lot man
Regards,
DJ Rock
|
|
|
|
|
Hi,
i have the four tier application,the first tier in the presentatin ,second tier is the business entity ,third tire in the data access layer and the on the fourth tier the database.
i wnt to implement the business Entity through collections,the data acces layer fill the business entity and the business entity fill the presentation layer.tell me how can i code the business entity ??
|
|
|
|
|
i want to get the key press ascii value using java script..
|
|
|
|
|
hi
u can modified following cod as per ur requirment,hope tht'll help u
<br />
<script type="text/javascript"><br />
function KeyCheck(myField, e)<br />
{<br />
var key;<br />
if (window.event)<br />
key = window.event.keyCode;<br />
else if(e)<br />
key = e.which;<br />
else <br />
return true;<br />
}<br />
</script><br />
smile a lot its costs nothing
deepak
|
|
|
|
|
hi,
I am doing an application which displays images dynamically.i have resized the images to fit to the screen.
Now when i display the images, the images seems to be pixelized.
There are more dots around the border of the image.
How can i reduce this pixelization?
Any ideas.
Thanks in advance
Regards
Anuradha
I am using Outlook express to read all the mails in the inbox.How can i know the connecting url of my outlook express.
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
hi
u cant reduce tht.but u can use .jpg,.jpeg,.gif,.png formats as well as the picture size is 900*900 pixel.tht'll b fix into ur screen
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Hi,
Thanks for your response.But i want to be of size 150x150.but the image appearance is very bad.
Anyway thanks for ur reply
Exelio
I am using Outlook express to read all the mails in the inbox.How can i know the connecting url of my outlook express.
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
Check this code
<br />
public void ResizeAndSave(int MaxWidth, int MaxHeight, string UrlAndFileName, string UrlAndnewFileName)<br />
{<br />
Bitmap OriginalBmp = (System.Drawing.Bitmap)Image.FromFile(UrlAndFileName).Clone();<br />
Size ResizedDimensions = GetDimentions(MaxWidth, MaxHeight, ref OriginalBmp);<br />
Bitmap NewBmp = new Bitmap(OriginalBmp, ResizedDimensions);<br />
NewBmp.Save(UrlAndnewFileName, System.Drawing.Imaging.ImageFormat.Jpeg);<br />
}<br />
<br />
<br />
private static Size GetDimentions(int MaxWidth, int MaxHeight, ref Bitmap Bmp)<br />
{<br />
int Width;<br />
int Height;<br />
float Multiplier;<br />
<br />
Height = Bmp.Height;<br />
Width = Bmp.Width;<br />
<br />
if (Height <= MaxHeight && Width <= MaxWidth)<br />
return new Size(Width, Height);<br />
<br />
Multiplier = (float)((float)MaxWidth / (float)Width);<br />
if ((Height * Multiplier) <= MaxHeight)<br />
{<br />
Height = (int)(Height * Multiplier);<br />
return new Size(MaxWidth, Height);<br />
}<br />
<br />
Multiplier = (float)MaxHeight / (float)Height;<br />
Width = (int)(Width * Multiplier);<br />
return new Size(Width, MaxHeight);<br />
}<br />
You must to invoice the resizeAndSave Function. the parameters are four
Here you have a parameters examples
MaxWidth : Final width size (pix) = 200
MaxHeight : Final height size (pix) = 200
UrlAndFileName : The original image Url = c:\folder1\image1.jpg
UrlAndnewFileName : The final path and file name, to save the NEW resized image = c:\newimage.jpg
PD: Only works with jpg images
Check tue quality picture and tell me if it you are looking for.
keep Learning and you never will be out of date...
|
|
|
|