Showing posts with label static. Show all posts
Showing posts with label static. Show all posts

Monday, March 26, 2012

How to apply style sheet to report... help me

hai...

i have designed a static rdl file which contains 10 columns.. now when i run the report, how to apply style sheet to the report...i want to apply style sheet at run time.. how to do that..? help me..

Thanks in advance..

If you are using rdlc in Visual Studio 2005, In my observations I think there's no way that you can apply style sheets to rdlc but you can apply CSS in Report Viewer control that contains your rdlc.

Wednesday, March 7, 2012

How to add an identity PK column to a View

For an ASP.net project, I have had a DropDownList with a static ArrayList.
The ArrayList will be defined from a View, where there is no Identity PK.

I also have used cbxDropDownListName.SelectedIndex to add new data to
a table, where an Indetity PK is used to reference the ArrayList.

I am wondering how can I add an identity PK to my view?

TIA,
Jeffrey

Why don't you select an identity column from one of the tables in the view? Pick an identity column that, by the view definition, would be unique in the view result set.