Hi Friends.
I have wriiten a program in C#.net window application and sql server 2005 and use crystal reports to generate reports. Now I have created a SetUp for my project. Now I want to deploy this to the client. And I m giving only .mdf files of my database. The application runs successfully but while generating reports it asks fot ServerName , UserID and Password. As I am connecting to local .mdf file why it asks for login. I don't want...
User Profile
Collapse
-
vinaykumar Maladkar started a topic C# - Crystal Reports: Fetching Data from .mdf file for Crystal Report?in .NETC# - Crystal Reports: Fetching Data from .mdf file for Crystal Report?
-
Crystal Report
Hi Guys,
I m using Crystal report to show report in .net 2.0. I m using SqlServer database. I have generated crystal reports through the Report Wizards. I have creted an object of TableLogonInfo class to set ApplyLogonInfo( ).Everysthing worked fine. Now I created an .mdf file of the database. And want to get data through this .mdf file. But At the time shwoing crystal report it asks for " UserID And Password". And I dont... -
Crystal Report
Hi All,
I am using Crystal Report to generate report.
There r 2 tables Sales and SalesDetails.
I m creating 2 commands-
1) Command - to Get Information about sales from "SalesTable " with command : Select *from Sales where InvoiceNo = {?InvoiceNo}
2)Command_1 - To get information about the products for the sales from "SalesDetai ls" table with command : Select *From salesDetails... -
Sql Query to retrive Nth record?
Hi friends,
I m using MySql and i want to retrive N th recird from a table.
What is the query for that?
Plz help.
Thanx in advance. -
If u r using Sql Server :
import System.data.sql client;
then create a "sqlconnecttion " object, give connection string to connect to database;
create a SqlDataAdapter object
open the sqlconnection using Sqlconnectionob ject.Open() method;
Give sql query as a string to SqlDataAdapter object and the object of sqlConnection to the SqlDataAdapter object.
Fill a DataSet object using SqlDataAdapterO bject.fill()... -
Use System.xml namespace. U will find classes to read and edit the xml fileLeave a comment:
-
Hi,
Each node in a treeview control has a 'Navigate URL' property. U can set URL to each node and user can navigate to that URL. Simple one.
Programatically doing so is very simple.
TreeNode Node = new TreeNode("Any Name");
Node.Value = "A Value";
Node.ImageUrl = "URL";
Tree.Nodes.Add( Node);Leave a comment:
-
Hey Which application u r developing, is it a window application or a web application?Leave a comment:
-
The DataTextField of the control requires a column name of the data source.
As u r concating different strings this column name doesnot exist in the datasource, therefore it will not work.Leave a comment:
-
Calling server function and getting result back to javascript
Hi All,
I m writing a program in asp.net using C#.net.
I m writing a javascript.
I have a bookid in javascript and i want to get information about this bookid from server. The result should be collected if javascript itself.
How to do this.
Thanx. -
How to implement drag and drop on DataGridView Control
Hi all, i want to implement drag and drop on datagridview. I want to drag from a cell to the textbox.
how can do this.
thank u. -
How to implement drag and drop items in TreeView Control
Hi Friends,
I m uisng visual studio 2005 and C#.
I m showing some values say 1 to 10 in a treeview control.
and i want to implement drag and drop facility. i.e. any number can be moved to any position. How do i do this? -
vinaykumar Maladkar started a topic How to give the facility to change the text of a tree node at runtimein .NETHow to give the facility to change the text of a tree node at runtime
Hi All,
I m creating a window app. in C#.net and i m using a treeview control to show hierarchical data. Now i want to give a facility to user to change the text of a node from the tree view at runtime.
How can i do this.
Help. -
How to group one or more columns in a single header column
Hi All,
I m using Visual studio 2005 and C#.
i want to show comparative data of different cars like their price , engine , capacity etc. So i am using DataGridView. but How to group one or more columns in a single header column?
i want to show like this -
Maruti_800 Maruti_Zen Maruti_WagonR
Price $---- ... -
Give some more information. Which language u r using? and r u developing a web or window application?...Leave a comment:
-
Thax kenobewan ,
Yes, i m using Visual studio 2005 and C#.
I m developing a windows application.
Help me.
Thanx....Leave a comment:
-
How to do this.
Hi All,
I m creating a TypedDataSet with Two tables say A & B. and i m using DataGridView to show the records from these tables.
Suppose A has 5 fields.
i m retrieving 10 rows from table A having 5 fields.
now i want to show only 3 fields of this result to the DataGridView.
how can i do this?
I tried creating new DataColumns and build new DataTable...
No activity results to display
Show More
Leave a comment: