|
i ahve done the above but it jus displays the red cross in the box i checked the source and it has filled the correct paths in the image urls
any ideas?
|
|
|
|
|
hi,
I m neha gupta.i m making a project online book store ..In this project there is a cart facilities i.e. data grid control..
How can i delete any items from data grid...
thanks
neha
Neha gupta
|
|
|
|
|
You want to remove them from your data source ? The most likely way is to use a button which, when clicked, removes the item.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
I pass the name of the stored procedure into my function and then append the parameters the stored procedure expects.
This works fine as long as I have stored procedures which expect always the same parameters.
But now there are very few exceptions. So my question is if there is a way to check how many parameters a stored procedure is expecting before I execute it?
Public Function GetReport(ByVal StoredProc As String) As Boolean
Dim cmd As New SqlCommand(StoredProc, m_Conn)
cmd.Parameters.Add(...)
cmd.Parameters.Add(...)
Many thanks for all kind of hints
Andreas
|
|
|
|
|
You can pass a Dictionary, where the keys are the parameter names and the values are the parameters. Otherwise, no. You can't ask how many are expected, and if you're calling a proc, you really need to know ( who cares how many it expects if you don't have values to pass through to it ? )
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
That's true
Thanks
|
|
|
|
|
Hi All
I want to add richedit or richtext control in my asp.net form plz tell me how could i do it i am unable to add it
|
|
|
|
|
ASP.NET don't have any built in RichEdit control. You need to create one using Iframe and javascript. or you can download something like FckEditor.
|
|
|
|
|
I have the following requirements in EPiServer Portal. I am going through forums, EPiServer website and other search engine(Google) also. I would like to have some ideas/sample codes/website links for the following implementations.
1. Adding Comments- they should go through moderator approval and the
moderator can delete the comments also. Showing total comments and
pagination
2. Rating-5 stars display
3. User should not rate the same article again
4. Breaking a news(not the news list) into pages if it spans for more than
a page
5. Printing news
6. Related News
|
|
|
|
|
Hi
I struck with an application in that I have a Label which is used to filled with a column of the Table, the column contains huge text.
The Label is displaying the whole text in a single line, making the page to strech along the text
I want to cut down the Text into multiple lines and display it in the Label.
How can I implement this.
I am using DataRow to fill the Label.
Suggest me an example.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
GIve fixed width in pixel to Label
Best Regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
|
Neema
Why did u reply to me?
Reply to Chand10
---------------------------------------------------
|
|
|
|
|
Thanks for u r reply.
I already given width to the Label but still it is not working.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
use System.Environment.NewLine
I Love SQL
|
|
|
|
|
Thank for replying.
How to to use Environment.NewLine with a Label.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
|
ASP.NET will render Label control to normal HTML span. So you can give a HTML Line break ( <br /> ) to break the line.
|
|
|
|
|
Thank for replying.
How can we insert a <br/> in between a text which is coming directly from Database.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
Use Environment.NewLine to introduce a line break.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thank for replying.
How to to use Environment.NewLine with a Label.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
The string that is to be displayed, should include Enviroment.NewLine whenever you want a line break in the text.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Plz suggest me an example.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
If you're using ASP.NET, then you need to insert a <br/> tag instead. I can't percieve of how you'd need an example. A label is just a div with text in it, and in HTML, the text just flows until you have a break tag. If you don't know that, you need to buy a book and read it.
string s = "This is the first line <br/> this is the second line";
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|