15,901,971 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by vinu.1111 (Top 17 by date)
vinu.1111
11-May-12 3:10am
View
i have the the javascript for filter but it will delete's the remaining rows
function filter(term, _id, cellNr) {
var suche = term.value.toLowerCase();
var table = document.getElementById(_id);
var ele;
for (var r = 1; r < table.rows.length; r++) {
ele = table.rows[r].cells[cellNr].innerHTML.replace(/<[^>]+>/g, "");
if (ele.toLowerCase().indexOf(suche) >= 0) {
table.rows[r].style.display = '';
}
else {
table.rows[r].style.display = 'none';
}
}
vinu.1111
11-May-12 3:08am
View
Alternate solution to the previous question
how to filter html table by not deleting the remaining rows in table
vinu.1111
11-May-12 2:23am
View
no after binding a table i'm giving a key word
based on that again it should bind as the above example
vinu.1111
20-Jun-11 0:51am
View
i got it...
just install unicode font that solve..
thank u .. :-)
vinu.1111
13-Jun-11 0:30am
View
hi... SAKryukov thanks for the solution... i got it..
it working fine in windows XP but it is
not working in windows server 2008 :-( ... what to do... :-(
i have hosted a simple application in that it is not working
IIS 7 help me...
vinu.1111
9-Jun-11 6:01am
View
hi... SAKryukov thanks for the reply..
the above didn't worked for me.. :-(
but i have one idea
suppose consider a word "Hindi(हिन्दी)good" consider that as a full word
now what we can do is we can apply Arial Font for Whole word based on condition it should change the font..
like if(text = '(' )
then font = mangal upto this ')'
else Arial ...
but how to write formula .. i dont know .. help me
vinu.1111
25-Feb-11 7:27am
View
hi...
there's one problem
it is not showing for negative values...
what to do now
vinu.1111
25-Feb-11 5:50am
View
thanku sir... it really helped me..
vinu.1111
18-Feb-11 8:07am
View
thanks for reply..
but i want to insert into table based on date in incremant order...
vinu.1111
31-Jan-11 6:27am
View
ya .. i've checked same DB for hosted application also..
and also alignment problem.. i've hosted application in
windows server 64bit in VS2010
vinu.1111
7-Dec-10 2:10am
View
hi.. everybody
i got the solution here..
http://community.discountasp.net/showthread.php?t=4402
but now again i'm in a problem
how to assign security role for different system in a network
for a folder or it can be report..
i want to assign diferent permission for different users..
vinu.1111
2-Dec-10 5:50am
View
i want to add two values in the legend . i legend only one value is displayed i.e name of the
field . and the value is displayed in the graph.. i want to display the value also in
legend ex: in legend
[] SCHOOL STRENGTH - 15000
[] STUDENT STRENGTH - 1600000
.. so i want to display both the name and value in legend..
help me..
vinu.1111
2-Dec-10 4:58am
View
thanks for reply.. i mean i cant see the properties of the charts in property window..
and <asp:chart runat="server" ID="chart1" DataSourceID="SqlDataSource1" Height="454px"
Width="716px">
<series>
<asp:Series Name="Series1" ChartType="Pie" XValueMember="YardName" IsValueShownAsLabel="True"
YValueMembers="Column1">
</asp:Series>
<chartareas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>
<legends>
<asp:Legend Title="Yard Wise Revenue"/>
</asp:chart>
... and for the above code a green line is underlined for <asp:chart> if we take mnouse over
that it displays "Element 'Chart' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is mssing" ... What to do... help me..
vinu.1111
28-Oct-10 8:24am
View
Thanku very much........
i'm really satisfied with this....
once thank you...
vinu.1111
13-Oct-10 0:26am
View
thanku very much but there's one problem.. i should pass the parameter to the report
how can i do this...
vinu.1111
4-Oct-10 0:44am
View
GOOD MORNING....
thank u very much.. but there's one problem how to write the above code in windows form.
in windows form responce.clear or any thing response is not supported. it showing missing directive or.
namespace. please can u write for windows form.
thanks u once again and i'll try this for aspx also.. but i need is for windows form..
vinu.1111
21-Sep-10 0:31am
View
The below is my code which is in page load. it works well when i remove the if(!ispostback) condition it means that
it will hit the database many times.
if i keep this it works only while page loading when i give print or next page, a logon prompt will appear and
ask the user name and passward of the old connection string which i dont want...
please help me and correct the code..
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System.Data.OleDb;
using CrystalDecisions.Enterprise;
public partial class _Default : System.Web.UI.Page
{
string connections = ConfigurationManager.ConnectionStrings["SqlConn"].ConnectionString;
// private TableLogOnInfo LogInfo = new TableLogOnInfo();
ReportDocument myreport = new ReportDocument();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string myQuery = "select * from employee";
SqlConnection myConnection = new SqlConnection(connections);
SqlCommand myCommand = new SqlCommand(myQuery, myConnection);
myCommand.Connection.Open();
SqlDataAdapter da = new SqlDataAdapter(myCommand);
DataSet dt = new DataSet();
da.Fill(dt);
DataTable td = dt.Tables[0];
myreport.Load(MapPath("~/" + "emp.rpt"));
// myreport.Database.Tables[0].ApplyLogOnInfo(LogInfo);
myreport.Database.Tables[0].SetDataSource(td);
CrystalReportViewer1.ReportSource = myreport;
Logininfo();
//int count = Convert.ToInt32(dt.Tables[0].Rows.Count);
myConnection.Close();
}
}
//}
private void Logininfo()
{
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
//ConnectionInfo crConnectionInfo = new ConnectionInfo();
Tables CrTables;
CrystalReportViewer1.LogOnInfo = new CrystalDecisions.Shared.TableLogOnInfos();
// ReportDocument myreport = new ReportDocument();
CrTables = myreport.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
{
crtableLogoninfo.ConnectionInfo.ServerName = "VSSPL-002\SQLEXPRESS";
crtableLogoninfo.ConnectionInfo.DatabaseName = "employee";
crtableLogoninfo.ConnectionInfo.UserID = "sa";
crtableLogoninfo.ConnectionInfo.Password = "sa@123";
//crtableLogoninfo.ConnectionInfo.ServerName = ConfigurationManager.AppSettings["ServerName"];
//crtableLogoninfo.ConnectionInfo.DatabaseName = ConfigurationManager.AppSettings["DatabaseName"];
//crtableLogoninfo.ConnectionInfo.UserID = ConfigurationManager.AppSettings["UserName"];
//crtableLogoninfo.ConnectionInfo.Password = ConfigurationManager.AppSettings["Password"];
CrTable.ApplyLogOnInfo(crtableLogoninfo);
}
CrystalReportViewer1.LogOnInfo.Add(crtableLogoninfo);
}
Show More