This type error occurs because of multiple same name CR dll in GAC assembly (c:\windows\ass embly).
You just need to reference it correctly. You can use 'jump to definition' on Crystal report viewer class and through object browser you will get the path of dll. Go to that path and check the version. Since I have CR 2.0 as default so I decided to change my reference to CR 1.0 dlls
I have extracted the dll 9.1.5000 of...
User Profile
Collapse
-
It will update all the changes made on dataset to the database table. It wont be updating other rows which are not changed.
Update command only updates to the database, you need to use Adapter.Fill to display it.Leave a comment:
-
You need to remove this 'linq' refrence.
Check for its appearance in your file namespace or app.config.
Or probably you may have used some library whose source is not avaliable....Leave a comment:
-
<All code removed>
And please use code tags if you have to post codeLeave a comment:
-
If it is a static database create xml file for your table like this:
<department>
<employee>
</employee>
</department>
then map it to your tree.
Other option is to parse the table to be fit in database.
1> loop foreach record
>if dept not found in tree
>create dept node
>create new treenode( empname, ..,navigation...Leave a comment:
-
TextBox tb = Form.FindContro l("textbox1") ;
tb.Text = "abc";
find control is used to get controls from web page....Leave a comment:
-
Since Data grid follows a restrict format you cant add this control to datagrid view.
Try making custom control for this purpose....Leave a comment:
-
[CODE=css]try
{
SqlConnection thisConnection = new SqlConnection(@ "...");
thisConnection. Open();
SqlCommand thisCommand = thisConnection. CreateCommand() ;
thisCommand.Com mandText = "SELECT CustomerID, CompanyName FROM Customers";
SqlDataReader thisReader = thisCommand.Exe cuteReader();
while (thisReader.Rea d())
{...Leave a comment:
-
HttpRequestResp onse objRequest = new HttpRequestResp onse("", "http://www.provider.co m/NUMBER=12345678 90&MSG=Test+Msg l");
objRequest.PROX Y_PORT = 0;
objRequest.HTTP _USER_NAME = "...";
objRequest.HTTP _USER_PASSWORD = "...";
objRequest.PROX Y_SERVER = "...";
objRequest...Leave a comment:
-
You need to create Windows service which activated after 15 sec.
It checks the outbox table in database and after comparing senddate send the mail.
MailMessage message = new MailMessage();
message.From = new MailAddress("se nder@foo.com");
message.To.Add( new MailAddress("re ciever@foo.com" ));
message.Subject = "This is my subject";
...Leave a comment:
-
Normally INSERTING DATE in Databases sometimes creates problem
try follow the Default format ("mm/dd/yyyy") in insertion.
Try debuging the SQL by writing SQL Insert script in Access with values that you get from Application.Leave a comment:
-
To add a node in tree view:
TreeNode node4 = new TreeNode("Inser t Files", "Insert Files", "", "~/AddFiles.aspx", "");
node3.ChildNode s.Add(node4);
To retrieve values:
while (i < TreeView1.Nodes .Count)
{
if (TreeView1.Node s[i].Text == "Add User")
value...Leave a comment:
-
For storing variables
Hidden variable access many becomes out of scope.
so better use Cookie or Session
e.g
Session["optionSelected "] = e.value;
on other page get this value.Leave a comment:
No activity results to display
Show More
Leave a comment: