Hi i am new to Crystal report. I search google example and create a Report. But at execution it ask Login information each time. I had a VB code for solution. Dim ConnInfo As New ConnectionInfo With ConnInfo .ServerName = ".sqlexpress" .DatabaseName = "Northwind" .UserID = "sa" .Password = "eXpress2005" End With For Each cnInfo As TableLogOnInfo In Me.CrystalReportViewer1.LogOnInfo cnInfo.ConnectionInfo = ConnInfo Next End Sub Can anyone tell the C# code to achieve this?
Karthick_gc
Posts
-
Crystal report? -
Html validationThere is a control in menu bar to disable the Validation.Will anyone know it?
-
Html validationHi, How to disable the HTML Error validation. When i click on the design tab from source an alert is raising. Is there is any way to disable the alert box?
-
Closing using Ajax?Hi friends, I use Ajax to solve the problem, when a client directly click the close button. In the i call the ajax function to delete the user details from the database. But the problem is whenever the user navigate to the other form the function was called and the user details were deleted from the DB. Is there is anyway to solve this problem?
-
Java script?Can u give the syntax for converion please?
-
Java script?I want to check the session variable when the form is unload. I write the code like this. function del() { alert(Session["nam"]); } But the unload event is not trigerring. Whats the fault in this code?
-
Java script?Ok. I solve it. Is it possible to pass session variable inside the function?
-
Java script?Hi friends, I want to pass the data to javascript function when click on the button. I write the code like this. Text="Button" /> In java script function function del(txt) { document.Write(txt); } But the answer came as NULL Can anyone correct it?
-
Session?Thank u. Can u give some links to refer for the solution?
-
Session?Hi, If I close the browser window, session_end doesn't get fired. I want to do some updations in database when the user tries to close the window wiithout cliking on 'Logout' button provided. Any solution for this problem?
-
Inserting values?Suppose if i give 5 names in to field seperated by commas, i want to insert the data for those 5 names seperately.
-
Inserting values?Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store datas in the table for all members. How it is possible?
-
Table insertion?I cant get.Can u describe briefly?
-
Table insertion?Yes. Can u tell how to split and insert for each receipient?
-
Table insertion?Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store in the table for all members. How it is possible?
-
State maintanence?Hi friends, How to maintain a session state(user state) between multiple URLs?
-
Close window?Cant understand. Can u explain briefly?
-
Close window?Hi friends, Here i explain the requirments. If a user login he is activated in current members. If he logout using the logout button, he is deactivated. I did it using the database. But the problem is if the user straightly closes the Browser window, his name was not deactivated in the database. Can anyone tell how to solve the problem ??
-
paging?Hi, In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases. Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.
-
Difference?What is the difference between Sqldata reader,Sqldata adapter with dataset and Sql datasource? Which is the best and effective method for database operations?