|
Have you seen the suggestion from vinod.jangle below? You do not appear to have used DataBind()
|
|
|
|
|
I have no much idea on reports but don't you need "
DataBind(); " for your reportviewer control?
modified 20-Sep-20 21:01pm.
|
|
|
|
|
|
Want get the added/updated files in msp over msi. can we do that in C#?
thanks in advance...
|
|
|
|
|
If you want those files in msp file, then write them there, there is no need to generate a new msi for that. However, since the msp file contains patches to a previous installation, you need to create an msp using those two msi — so that the executable knows which patches to install. This help documentation on Windows developer website will help you in understanding what programs you require to use in order to generate an msp file; Msimsp.exe (Windows).
What problem are you facing?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Actually I am looking for newly added files in patch. can you achieve it by comparing MSI and MSP files using C# code?
|
|
|
|
|
Ho do i upgrade my cell phone softwares?
|
|
|
|
|
What does this have to do with writing code in C#?
|
|
|
|
|
Maybe he was of those antiquities known as Windows Phone
|
|
|
|
|
I have created a menu in matlab and onclick of the menu I have m script that will call c# DLL. This I have done using add assembly. And am passing few values to the c# DLL like guid and name. In c# DLL I am invoking a dialogue box with these MATLAB information. From the c# dialogue box everytime based on the user selection (using guid) I have to highlight model in matlab. And when the dialogue box is closed I need to update some values in matlab model. And also When the dialog box is launched I should also able to scroll and zoom in my MATLAB model. I have tried with delegate and event but I can't able to zoom/scroll my MATLAB model. I can't make my dialog box modeless because after invoking I can't able to access my event listener in MATLAB. And also connection between MATLAB and c# is cut and I don't want that to happen.
My code looks like this and am having a model dialog box running separately apart from the code provided,
[^]
modified 14-Apr-17 3:59am.
|
|
|
|
|
Nah. I would call Matlab from C#; not the other way around.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
my login page code:
if (dr[2].ToString() == "Executive Engineer" || dr[2].ToString() == "Deputy Executive Engineer")
{
if (txtUserId.Text == dr[0].ToString() && txtPassword.Text == dr[1].ToString())
{
Session["id"] = txtUserId.Text;
Response.Redirect("SuperAdminPanel.aspx", false);
}
}
my SupperAdmin page code:
if (Session["id"] != null )
{
//business code something
but when we request some othet page came back on supperAdmin page we got null session
what we do?
sorry for poor language i'm new in dot.Net
thank you
|
|
|
|
|
You are getting session null if you did not landed on those other pages from login page. As you setting
Session["id"] = txtUserId.Text; only on LOGIN page.
modified 20-Sep-20 21:01pm.
|
|
|
|
|
waghniteen wrote: what we do? You figure out why it is null. Did the Session timeout? Do you have code somewhere that resets the session values? Are you testing for session inside a WebMethod? We have no way of knowing since we can't see your code or your environment.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
it's not a session timeout problem we place blow code in config
<sessionstate cookieless="false" regenerateexpiredsessionid="true" timeout="200">
<providers>
<clear>
|
|
|
|
|
You also need to check IIS settings to make sure the app pool is not being recycled. And check event viewer for any problems.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
when we host website on my domain that time we get this problem. not get on localhost
|
|
|
|
|
You're still going to have to troubleshoot on your own.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Downvote countered - I don't think he liked being told the truth...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
if we enter a Marathi decimal value in text-box then how to convert into English
thank you
|
|
|
|
|
What do you mean by "marathi decimal value" here?
modified 20-Sep-20 21:01pm.
|
|
|
|
|
just like we enter a १० in text-box,output as 10
|
|
|
|
|
Exactly how you do it depends on the culture in use on your computer. You need to use a Marathi culture for your inputs, and an English one for outputs. If your user culture is set to accept Marathi, then it's just decimal.TryParse . Otherwise specify the cultures:
string input = "12,12,12,123.45";
string output = "Not recognised as a number";
decimal d;
CultureInfo ciMarathi = CultureInfo.CreateSpecificCulture("mr-IN");
CultureInfo ciEnglishUK = CultureInfo.CreateSpecificCulture("en-GB");
if (decimal.TryParse(input,NumberStyles.Any, ciMarathi, out d))
{
output = d.ToString("#,0.##", ciEnglishUK);
} If you also want to include Marthi Unicode digits such as "४५९", there is an extra step:
string input = "४५,४५९.४५९";
string output = "Not recognised as a number";
decimal d;
input = new string(input.Select(c => char.IsDigit(c) ? (char) (char.GetNumericValue(c) + '0') : c).ToArray());
CultureInfo ciMarathi = CultureInfo.CreateSpecificCulture("mr-IN");
CultureInfo ciEnglishUK = CultureInfo.CreateSpecificCulture("en-GB");
if (decimal.TryParse(input,NumberStyles.Any, ciMarathi, out d))
{
output = d.ToString("#,0.##", ciEnglishUK);
}
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|