|
Convert the user control into a custom control and distribute a dll.
|
|
|
|
|
Please Clear Your Question
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
i clear my question.
I will do my best?
|
|
|
|
|
|
ya that of my problem solve so i clear my question. so its created as joke sorry if anybody is disturbed.
thanks for reply.
I will do my best?
|
|
|
|
|
I have a DataGrid with multiple columsn but with one row i want to show the data in Vertical not horizontaly(the default way of showing datagrid)?
anyone have idea how to do this?
Thanks
The Developer - CEH
|
|
|
|
|
Use DataList or Repeater
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
can you tell me how to do that please.
The Developer - CEH
|
|
|
|
|
how can i add rows dynamically to the datalist?
The Developer - CEH
|
|
|
|
|
Using the searchwords "Vertical" and "Datagrid" in both google and cp gives you this[^] on second and third place.
|
|
|
|
|
Hi,
I have a requirement to convert a PPT to PDF file. I have downloaded PDFunny and installed. But i don't know how to use it. I followed the instructions which goes like this.
1. Open the PPT
2. Select Printer
3. User is prompted to provide the file name
4. The PDF file is generated.
I could generate the PDF file but when i try to open that file,
it throws an error that the file may be corrupt.
I tried with number of PPT files but in vain.
Someone can help me on this?
Krishna
|
|
|
|
|
Have you considered asking people who actually use this library ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi...
I am making website in c#.net. I want to show video in my website. I tried the following for dat.
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/8K_NQe57C-k" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/8K_NQe57C-k" type="application/x-shockwave-flash"
wmode="transparent" width="425" height="350"/></object>
this shows the video correctly. But i want its values to come dynamically everytime from database. how to do this. Is der ne other way to achieve this.
|
|
|
|
|
In your code i think "8K_NQe57C-k" is video name
For Daynamicaly take a one string variable like (strMediaFile) in witch your video is dynamically assign
And at the design side in object use like this
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/<%=strMediaFile%>" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/<%=strMediaFile%>" type="application/x-shockwave-flash" />
wmode="transparent" width="425" height="350"/>
|
|
|
|
|
Hi
create one div tag like
in c# file generate the string for that control like
string FileName= "8K_NQe57C-k";
string strVideo="<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/" +="" filename="" +""="" />
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/" />
+ FileName +
"type='application/x-shockwave-flash'
wmode='transparent' width='425' height='350'/>
"
divContent.innerHTML = strVideo
R.Palanivel 10:01 4 Jan '06
|
|
|
|
|
Hi,I have developed a mouse hover menu using javascript and css.But when ever I use CrystalReportViewer in my page,the menu goes behind the toolbar of crystalreportViewer.Anybody has the solution to this problem?thanx
ARINDAM
|
|
|
|
|
I may be wrong
USE Z-INDEX property
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
I don't know if this is the right place to post this question.
I just want to know about calling asp like:
<img src="file.asp?id=3" />
I just can't find answer to my question on what are the script inside the file.asp .
Is there anyone who knows solution to my problem?
Please help, your help is highly appreciated.
|
|
|
|
|
Hi tag is for display images only. if you want to redirect page when click that image button then you follow this code
this code should help you more.
R.Palanivel 10:01 4 Jan '06
|
|
|
|
|
Hi,
I appreciate your help, but I think I have to make my question more specific.
Having this code:
<img src="file.asp?id=3" /> could also display images. Let's say that file.asp will select the image from the database with id=3 then after the selection query it will return the image path or anything the same.
But, still I don't know the scripts inside file.asp .
|
|
|
|
|
HI
Do one thing . Create one function in the asp page
]]>
...
...
...
you can write this function in the same page or ".inc" file
This should help you.
R.Palanivel 10:01 4 Jan '06
|
|
|
|
|
Hi All
I has 2 store : [Paging_Cursor] and [SeriMovyGetAllPaging]
---------[Paging_Cursor] ---------------
GO
ALTER PROCEDURE [dbo].[Paging_Cursor] (
@Tables varchar(1000),
@PK varchar(100),
@Sort varchar(200) = NULL,
@PageNumber int = 1,
@PageSize int = 10,
@Fields varchar(1000) = '*',
@Filter varchar(1000) = NULL,
@Group varchar(1000) = NULL)
AS
/*Find the @PK type*/
DECLARE @PKTable varchar(100)
DECLARE @PKName varchar(100)
DECLARE @type varchar(100)
DECLARE @prec int
IF CHARINDEX('.', @PK) > 0
BEGIN
SET @PKTable = SUBSTRING(@PK, 0, CHARINDEX('.',@PK))
SET @PKName = SUBSTRING(@PK, CHARINDEX('.',@PK) + 1, LEN(@PK))
END
ELSE
BEGIN
SET @PKTable = @Tables
SET @PKName = @PK
END
SELECT @type=t.name, @prec=c.prec
FROM sysobjects o
JOIN syscolumns c on o.id=c.id
JOIN systypes t on c.xusertype=t.xusertype
WHERE o.name = @PKTable AND c.name = @PKName
IF CHARINDEX('char', @type) > 0
SET @type = @type + '(' + CAST(@prec AS varchar) + ')'
DECLARE @strPageSize varchar(50)
DECLARE @strStartRow varchar(50)
DECLARE @strFilter varchar(1000)
DECLARE @strGroup varchar(1000)
/*Default Sorting*/
IF @Sort IS NULL OR @Sort = ''
SET @Sort = @PK
/*Default Page Number*/
IF @PageNumber < 1
SET @PageNumber = 1
/*Set paging variables.*/
SET @strPageSize = CAST(@PageSize AS varchar(50))
SET @strStartRow = CAST(((@PageNumber - 1)*@PageSize + 1) AS varchar(50))
/*Set filter & group variables.*/
IF @Filter IS NOT NULL AND @Filter != ''
SET @strFilter = ' WHERE ' + @Filter + ' '
ELSE
SET @strFilter = ''
IF @Group IS NOT NULL AND @Group != ''
SET @strGroup = ' GROUP BY ' + @Group + ' '
ELSE
SET @strGroup = ''
/*Execute dynamic query*/
EXEC(
'DECLARE @PageSize int
SET @PageSize = ' + @strPageSize + '
DECLARE @PK ' + @type + '
DECLARE @tblPK TABLE (
PK ' + @type + ' NOT NULL PRIMARY KEY
)
DECLARE PagingCursor CURSOR DYNAMIC READ_ONLY FOR
SELECT ' + @PK + ' FROM ' + @Tables + @strFilter + ' ' + @strGroup + ' ORDER BY ' + @Sort + '
OPEN PagingCursor
FETCH RELATIVE ' + @strStartRow + ' FROM PagingCursor INTO @PK
SET NOCOUNT ON
WHILE @PageSize > 0 AND @@FETCH_STATUS = 0
BEGIN
INSERT @tblPK (PK) VALUES (@PK)
FETCH NEXT FROM PagingCursor INTO @PK
SET @PageSize = @PageSize - 1
END
CLOSE PagingCursor
DEALLOCATE PagingCursor
SELECT ' + @Fields + ' FROM ' + @Tables + ' JOIN @tblPK tblPK ON ' + @PK + ' = tblPK.PK ' + @strFilter + ' ' + @strGroup + ' ORDER BY ' + @Sort
)
-------------------------------------
ALTER PROCEDURE [dbo].[SeriMovyGetAllPaging]
@pageNo int
AS
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
exec Paging_Cursor '[dbo].[SeriMovies]
INNER JOIN [dbo].[Country] ON [SeriMovies].[COUNTRYID]=[Country].[COUNTRYID]
INNER JOIN [dbo].[FilmCompany] ON [SeriMovies].[FILMCOMPANYID]=[FilmCompany].[FILMCOMPANYID]',
'SeriMovies.FILMID',
'SeriMovies.FILMID DESC',
@pageNo,
30,
'[SeriMovies].[FILMID],
[SeriMovies].[ENGLISHTITLE],
[SeriMovies].[VIETNAMTITLE],
[SeriMovies].[TOTALSERIAL],
[SeriMovies].[SERIALPRESENT],
[SeriMovies].[MAINPICTURENAME],
[SeriMovies].[SUMMARY],
[SeriMovies].[DESCRIPTION],
[SeriMovies].[FILMCOMPANYID],
[FilmCompany].[NAME] AS COMPANYNAME,
[SeriMovies].[RELEASEYEAR],
[SeriMovies].[COUNTRYID],
[Country].[NAME] AS COUNTRYNAME,
[SeriMovies].[TRAILERURL],
[SeriMovies].[PATHDIRECTORY],
[SeriMovies].[RATEVALUE],
[SeriMovies].[RATECOUNT],
[SeriMovies].[INSERTTIME],
[SeriMovies].[UPDATETIME],
[SeriMovies].[STATUS]',
'[SeriMovies].[STATUS] < 2',
null
- The store SeriMovyGetAllPaging return 30 record
Please help me how to get return System.Data.Linq.ISingleResult<serimovygetallpagingresult> in linq to sql of store SeriMovyGetAllPaging ? .( Now it general return int )
|
|
|
|
|
you have put the question on wrong forum.
cheers,
Abhijit
|
|
|
|