No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have files in e pub format. I have to show their contents to the user. How do I read them in asp.net? |
|
Re:
I am getting an error that is"Invalid object name 't_Images' " here is my code: SqlConnection s = new SqlConnection(con); s.Open(); byte[] data; using (System.IO.MemoryStream stream = new System.IO.MemoryStream()) { video.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp); data = stream.ToArray(); } SqlCommand s_Com = new SqlCommand("INSERT INTO t_Images (Image_ID,Image)"+" VALUES (1,@data) ; ", s); SqlParameter … |
|
I have a long string and I want to display the first 50 characters of it (without including the HTML content). Can anyone suggest any method? |
|
Re:
hello i saved the image path + filename + guid in database and image store in folder. i want to show image from database in image control of asp.net how its possible? kindly tell me as soon as possible thanks in advance... |
|
The speed of retrieval of data on my site is very slow because it loads more than about 10 tabs at the same time. So, I want to implement caching in it. But, I don't know how to implement caching? |
|
I have a long string of characters as input and I want to count the number of words in that string. How can I do it through regular expression? |
|
I have a condition based upon which I require that the AJAX HTML Editor gets disable. This code is not working: edNote.Enabled=false; //edNote is AJAX editor. Please suggest any other means to do this. |
|
I want to delete the entire folder or directory along with files and folders contained in it. how can I implement in c#? |
|
I have the following code: int numberOfWords = 50; string regexMatch = string.Format(@"^(\w+\b.*?){{" + numberOfWords + "}}"); string firstWords = Regex.Match(result, regexMatch).Value; This code displays the first 50 words in a string. Now I want to display next 50 words (51st word to 100th word). How do I do it? |
|
In my web.config file I have to add a key, but I want that its value should be relative to the location of the folder. How can I get it? I have: `<add key="FilePaths" value="c:\Folder1\Folder2\"/>` But I want that I only mention "Folder2" and its starting path is get dynamically. … |
|
I am making a book reader. It takes input files in PDF format. I have to show them in EPUB format. But I don't know how to convert PDF to EPUB format. Please help by suggesting some valuable methods. |