Identifying the Printer Port of a Printer
Hi AllI am working with a STAR MICRONICS Thermal Printer. I have all my code for printing receipts for a POS application working. The only problem I am facing now is that the Printer USB Port keeps...
View ArticleHow to populate the gridview on background thread using web application?
Hi all,Scenario:i have 4 web pages namely,Example1.aspx,Example2.aspx,Example3.aspx,Example4.aspxFrom above pages i simply showing dataset in gridview from different module claim status count.and also...
View ArticleHow to call server side event from dynamically created control in Repeater?
Hi,I am using repeater control there I used to bind the one button control dynamically based on status. When I click the button the postback occures but not able to call the server side button click...
View ArticleIncrement integer value on button click event
Dear all,i have a block of code which creates a datatable dynamically and binds data to the gridview.Simultaneously there is an integer variable "I" which i have used to bind serial number column.and i...
View ArticleSqlDataSource.SelectCommand = "UniqueRowOnly"
Hi everyone,I am using stored procedure to get unigue rows (code below works great)StoredProcedure ="UniqueRowOnly"BEGINSELECT Paid, Name, Picture,...
View ArticleProblem in bindinf crystal report with dataset in asp.net c#
Dear All,I am new to Crystal report . I am finding a problem in Crystal report. it gives me an error when i try to bind crystal report with "Dataset" .if anyone knows please help its urgent .protected...
View ArticleCannot open database "aspnetdb" requested by the login. The login failed....
[SqlException (0x80131904): Cannot open database "aspnetdb" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\default'.]...
View ArticleHow to bind dataset through background thread?
Hi friends,i have doing dashboard application in that am just showing 4 pages which contains only gridview with every 30 secs,from that 4th page taking time to bind data for 1.20 min apart from other...
View Articleis it possible to pass a table as parameter? StoredProcedure
having trouble with my stored procedure Error message: Must declare the table variable "@NameOfTable ".CREATEPROCEDURE [dbo].[UniqueRowOnly](@NameOfTable varchar(20))ASBEGINSELECT Paid,...
View ArticleHow to change the Identity property of a Application Pool by code?
Hi, I found the following code that does something similar to what I want, I think it is the right way, then only I need to find as it is called the section where this property I want to change and...
View ArticleDownload file/save dialog
Hi,I have saved my file in our database. I am then reading the file in bytes.Now I want to retrieve the saved file. If the user clicks the button I want to open the file save as dialog where the users...
View ArticleLogin Not Working
I am getting my User login credentials from a database table.The User login works fine when it is tested from my pc but when it is moved to a server I get a Login Failed message, but the login that...
View ArticleListing value
I want to list the result of calculation in a list or in a grid view.Following is my code:protected void btnDepreciate_Click(object sender, EventArgs e) { int ScrapValue =...
View Articlechanging the background color of a tab
Tabs.Tabs.Item(1).Font.Italic = True Tabs.Tabs.Item(1).BackColor = Drawing.Color.Redi have the above code for changing the background color of a tab of tabcontainerbut the color...
View Articledisplaying checkbox item in textbox
protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e) { string a = string.Empty; foreach (ListItem li in CheckBoxList1.Items) {...
View ArticleTextbox index change issue only in FireFox
Hi Friends, I have a page with grid. That grid contain 1 dorpdown and 4 textbox's in a row, Like wise I have 5 rows. In corme the tab index working fine but in fire fox it is not. I can...
View ArticleDisplaying the thumbnailphoto from active directory in ASP.NET
I have been asked to create a searchable corporate directory based on the information already in ActiveDirectory.So far, everything has gone smooth. I can search on multiple fields and I can link to...
View Articlereplacing the modified .cs file into existing applicaiton server
hii am working in VS 2010, i have an exisiting applicaiton / project running on IIS 7.0 application server with Windows 2008 R2 server platform. I have modified a ".cs" file in the source, complied and...
View ArticleHow can we show three rows of a table in a single horizontal line in grid view
How can we show three rows of a table in a single horizontal line in grid view
View Article