I have used crystal reports in my web application.
When I am printing the font size is very small in the printed output. On screen I can see it clearly but in the printout the font is very small. I tested it from few machines. Only on some machines I am facing this problem. On other machines it is working properly. Can someone let me know the reason for this?
I m Using the master page and the content page in my application i m attaching both page's html. My problem is that when i was browsing this page in the IE 7 named PNTInformation at that time it was loaded perfectly but while i was using another tab in same window at that time this page was placing some blank space at the top at that point at where the content page is just started and the page was looking dull so pls give me the solution for that.
I use gridview binding with contents of one table from oracle.It displays record in gridview well but i got problem while storing that record into another table in oracle.Remember my source for gridview and destination of store are different.So please help for that.My code like as...
DataTable dtlocal = new DataTable();
dtlocal = (DataTable)GridView1.DataSource;
dtlocal.TableName = "LOCAL";
string qry = "INSERT INTO EMP1 VALUES(?,?,?,?)";
OracleCommand ocmd = new OracleCommand(qry, conn);
foreach (DataRow dtr in ds.dtlocal["LOCAL"].Rows)
foreach (DataColumn dcl in ds.dtlocal["LOCAL"].Columns)
//assigning values for parameters
I am using asp.net , C# ( VS2005)
I fill dropdownlist using method defined in class on page load event it sucessfully fill the data in dropdownlist. as there is customer requirment to show different class of people in different color as well as tooltip of data. i succesffully managed to fill this with below shown code . but issue is when i fires other controls postback event. this dropdownlist loses its color as well as tooltip .
Please suggest how to maintain the style of dropdownlist.
public void binddata()
OracleCommand cmd = new OracleCommand("SELECT * FROM EMP", conn);
OracleDataReader odr = cmd.ExecuteReader();
dt1.TableName = "FXD";
GridView1.DataSource = ds.Tables["FXD"];
in this way u can bind datatable to gridview..
I need to create an output file (.txt), but I need to manipulate the data in that file. I need to add “hard-coded” values for specific scenarios, for example, value needs to have a value in it but is “ “ in the output file because it doesn’t exist in the database. This needs to be automated because a user will click a download output file button and the file will ultimately be saved on their client machine. I assume anything can be done, but is there a good web site with examples of this that you could point me to? Thanks for any help you can give.
You just build your text in memory, then you use response.binarywrite and set the header so they get the file as a download.
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I am using the regular technique of using a 2nd TextBox on my page so when the user presses Enter key, it automatically invokes the Submit buttons click event - but its not working. I also want to send the focus to the textbox when a link is clicked that displays this whole panel. Here's my code:
I tried both Page.SetFocus(..) and Form.DefaultFocus = ..
They work fine, the problem is: I have a LinkButton that shows and hides the panel. The focus works if the panel is initially visible - then if the link is clicked to hide it, the focus doesn't come back when the panel is visible again.
On the other hand, if the panel is not initially visible - then the focus never works. Here's my code, the first one in the Page Load: