|
Im already using Automatic (Delayed Start) how ever it seems that i need to set it up with other account rather my own local account so the service can run automatically on start up.
|
|
|
|
|
Sounds a bit odd. If the service is set to start automatically, then firstly what account is it running under (2nd page of options in the SCM if I remember rightly)?
Second question - is there anything showing as an error in the eventlog (eventvwr from start)?
Regards,
Rob Philpott.
|
|
|
|
|
I am trying for a long..that when three or more players are connected to each other and any one of them clicks on the play button then it should be start on all others clients screen.Please help me.. that how can i do that.
|
|
|
|
|
Not a good idea.
And you would at least need to provide a lot more background information.
I also suggest that you look at Jackbox games to see what they have -- it might be similar to what you desire.
|
|
|
|
|
It's called a botnet.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Hi,
I'm trying to pull data xml and display in datagridview.
here's an example of the XML -
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<ramp>
<header>
<version>2</version>
<checksum>18290949</checksum>
</header>
<colors>
<deep_red>
<point>
<intensity>0</intensity>
<time>0</time>
</point>
<point>
<intensity>0</intensity>
<time>360</time>
</point>
<point>
<intensity>19</intensity>
<time>480</time>
</point>
<point>
<intensity>37</intensity>
<time>490</time>
</point>
<point>
<intensity>51</intensity>
<time>500</time>
</point>
<point>
<intensity>47</intensity>
<time>510</time>
</point>
<point>
<intensity>60</intensity>
<time>520</time>
</point>
<point>
<intensity>60</intensity>
<time>530</time>
</point>
<point>
<intensity>51</intensity>
<time>540</time>
</point>
<point>
<intensity>37</intensity>
<time>550</time>
</point>
<point>
<intensity>56</intensity>
<time>560</time>
</point>
<point>
<intensity>47</intensity>
<time>570</time>
</point>
<point>
<intensity>51</intensity>
<time>580</time>
</point>
<point>
<intensity>47</intensity>
<time>590</time>
</point>
<point>
<intensity>65</intensity>
<time>600</time>
</point>
<point>
<intensity>23</intensity>
<time>610</time>
</point>
<point>
<intensity>9</intensity>
<time>620</time>
</point>
<point>
<intensity>42</intensity>
<time>630</time>
</point>
<point>
<intensity>33</intensity>
<time>640</time>
</point>
<point>
<intensity>37</intensity>
<time>650</time>
</point>
<point>
<intensity>47</intensity>
<time>660</time>
</point>
<point>
<intensity>51</intensity>
<time>670</time>
</point>
<point>
<intensity>14</intensity>
<time>680</time>
</point>
<point>
<intensity>70</intensity>
<time>690</time>
</point>
<point>
<intensity>33</intensity>
<time>700</time>
</point>
<point>
<intensity>23</intensity>
<time>710</time>
</point>
<point>
<intensity>19</intensity>
<time>720</time>
</point>
<point>
<intensity>0</intensity>
<time>730</time>
</point>
<point>
<intensity>0</intensity>
<time>740</time>
</point>
<point>
<intensity>0</intensity>
<time>750</time>
</point>
<point>
<intensity>0</intensity>
<time>760</time>
</point>
<point>
<intensity>0</intensity>
<time>770</time>
</point>
<point>
<intensity>0</intensity>
<time>780</time>
</point>
<point>
<intensity>0</intensity>
<time>790</time>
</point>
<point>
<intensity>0</intensity>
<time>800</time>
</point>
<point>
<intensity>0</intensity>
<time>810</time>
</point>
<point>
<intensity>0</intensity>
<time>820</time>
</point>
<point>
<intensity>0</intensity>
<time>830</time>
</point>
<point>
<intensity>0</intensity>
<time>840</time>
</point>
<point>
<intensity>0</intensity>
<time>850</time>
</point>
<point>
<intensity>0</intensity>
<time>860</time>
</point>
<point>
<intensity>0</intensity>
<time>870</time>
</point>
<point>
<intensity>0</intensity>
<time>880</time>
</point>
<point>
<intensity>0</intensity>
<time>910</time>
</point>
<point>
<intensity>0</intensity>
<time>930</time>
</point>
<point>
<intensity>0</intensity>
<time>950</time>
</point>
<point>
<intensity>0</intensity>
<time>970</time>
</point>
<point>
<intensity>0</intensity>
<time>1020</time>
</point>
<point>
<intensity>0</intensity>
<time>1110</time>
</point>
<point>
<intensity>0</intensity>
<time>1130</time>
</point>
<point>
<intensity>0</intensity>
<time>1140</time>
</point>
<point>
<intensity>0</intensity>
<time>1150</time>
</point>
<point>
<intensity>0</intensity>
<time>1160</time>
</point>
<point>
<intensity>0</intensity>
<time>1170</time>
</point>
<point>
<intensity>0</intensity>
<time>1180</time>
</point>
<point>
<intensity>0</intensity>
<time>1190</time>
</point>
<point>
<intensity>0</intensity>
<time>1220</time>
</point>
<point>
<intensity>0</intensity>
<time>1270</time>
</point>
<point>
<intensity>0</intensity>
<time>1290</time>
</point>
</deep_red>
<uv>
<point>
<intensity>0</intensity>
<time>0</time>
</point>
<point>
<intensity>0</intensity>
<time>360</time>
</point>
<point>
<intensity>22</intensity>
<time>480</time>
</point>
<point>
<intensity>55</intensity>
<time>490</time>
</point>
<point>
<intensity>77</intensity>
<time>500</time>
</point>
<point>
<intensity>98</intensity>
<time>510</time>
</point>
<point>
<intensity>119</intensity>
<time>520</time>
</point>
<point>
<intensity>161</intensity>
<time>530</time>
</point>
<point>
<intensity>192</intensity>
<time>540</time>
</point>
<point>
<intensity>211</intensity>
<time>550</time>
</point>
<point>
<intensity>230</intensity>
<time>560</time>
</point>
<point>
<intensity>249</intensity>
<time>570</time>
</point>
<point>
<intensity>279</intensity>
<time>580</time>
</point>
<point>
<intensity>297</intensity>
<time>590</time>
</point>
<point>
<intensity>315</intensity>
<time>600</time>
</point>
<point>
<intensity>332</intensity>
<time>610</time>
</point>
<point>
<intensity>349</intensity>
<time>620</time>
</point>
<point>
<intensity>377</intensity>
<time>630</time>
</point>
<point>
<intensity>404</intensity>
<time>640</time>
</point>
<point>
<intensity>420</intensity>
<time>650</time>
</point>
<point>
<intensity>435</intensity>
<time>660</time>
</point>
<point>
<intensity>391</intensity>
<time>670</time>
</point>
<point>
<intensity>442</intensity>
<time>680</time>
</point>
<point>
<intensity>433</intensity>
<time>690</time>
</point>
<point>
<intensity>433</intensity>
<time>700</time>
</point>
<point>
<intensity>479</intensity>
<time>710</time>
</point>
<point>
<intensity>451</intensity>
<time>720</time>
</point>
<point>
<intensity>386</intensity>
<time>730</time>
</point>
<point>
<intensity>414</intensity>
<time>740</time>
</point>
<point>
<intensity>386</intensity>
<time>750</time>
</point>
<point>
<intensity>363</intensity>
<time>760</time>
</point>
<point>
<intensity>414</intensity>
<time>770</time>
</point>
<point>
<intensity>367</intensity>
<time>780</time>
</point>
<point>
<intensity>419</intensity>
<time>790</time>
</point>
<point>
<intensity>358</intensity>
<time>800</time>
</point>
<point>
<intensity>330</intensity>
<time>810</time>
</point>
<point>
<intensity>312</intensity>
<time>820</time>
</point>
<point>
<intensity>381</intensity>
<time>830</time>
</point>
<point>
<intensity>386</intensity>
<time>840</time>
</point>
<point>
<intensity>326</intensity>
<time>850</time>
</point>
<point>
<intensity>400</intensity>
<time>860</time>
</point>
<point>
<intensity>284</intensity>
<time>870</time>
</point>
<point>
<intensity>326</intensity>
<time>880</time>
</point>
<point>
<intensity>372</intensity>
<time>910</time>
</point>
<point>
<intensity>293</intensity>
<time>930</time>
</point>
<point>
<intensity>288</intensity>
<time>950</time>
</point>
<point>
<intensity>242</intensity>
<time>970</time>
</point>
<point>
<intensity>237</intensity>
<time>1020</time>
</point>
<point>
<intensity>237</intensity>
<time>1110</time>
</point>
<point>
<intensity>195</intensity>
<time>1130</time>
</point>
<point>
<intensity>163</intensity>
<time>1140</time>
</point>
<point>
<intensity>158</intensity>
<time>1150</time>
</point>
<point>
<intensity>144</intensity>
<time>1160</time>
</point>
<point>
<intensity>130</intensity>
<time>1170</time>
</point>
<point>
<intensity>149</intensity>
<time>1180</time>
</point>
<point>
<intensity>70</intensity>
<time>1190</time>
</point>
<point>
<intensity>19</intensity>
<time>1220</time>
</point>
<point>
<intensity>0</intensity>
<time>1270</time>
</point>
<point>
<intensity>0</intensity>
<time>1290</time>
</point>
</uv>
<deep_blue>
<point>
<intensity>0</intensity>
<time>0</time>
</point>
<point>
<intensity>0</intensity>
<time>480</time>
</point>
<point>
<intensity>967</intensity>
<time>770</time>
</point>
<point>
<intensity>1000</intensity>
<time>780</time>
</point>
<point>
<intensity>1000</intensity>
<time>1020</time>
</point>
<point>
<intensity>0</intensity>
<time>1320</time>
</point>
</deep_blue>
<violet>
<point>
<intensity>0</intensity>
<time>0</time>
</point>
<point>
<intensity>0</intensity>
<time>360</time>
</point>
<point>
<intensity>22</intensity>
<time>480</time>
</point>
<point>
<intensity>66</intensity>
<time>490</time>
</point>
<point>
<intensity>76</intensity>
<time>500</time>
</point>
<point>
<intensity>108</intensity>
<time>510</time>
</point>
<point>
<intensity>140</intensity>
<time>520</time>
</point>
<point>
<intensity>171</intensity>
<time>530</time>
</point>
<point>
<intensity>202</intensity>
<time>540</time>
</point>
<point>
<intensity>210</intensity>
<time>550</time>
</point>
<point>
<intensity>229</intensity>
<time>560</time>
</point>
<point>
<intensity>259</intensity>
<time>570</time>
</point>
<point>
<intensity>288</intensity>
<time>580</time>
</point>
<point>
<intensity>351</intensity>
<time>590</time>
</point>
<point>
<intensity>391</intensity>
<time>600</time>
</point>
<point>
<intensity>441</intensity>
<time>610</time>
</point>
<point>
<intensity>503</intensity>
<time>620</time>
</point>
<point>
<intensity>553</intensity>
<time>630</time>
</point>
<point>
<intensity>602</intensity>
<time>640</time>
</point>
<point>
<intensity>651</intensity>
<time>650</time>
</point>
<point>
<intensity>856</intensity>
<time>660</time>
</point>
<point>
<intensity>800</intensity>
<time>670</time>
</point>
<point>
<intensity>674</intensity>
<time>680</time>
</point>
<point>
<intensity>586</intensity>
<time>690</time>
</point>
<point>
<intensity>637</intensity>
<time>700</time>
</point>
<point>
<intensity>651</intensity>
<time>710</time>
</point>
<point>
<intensity>805</intensity>
<time>720</time>
</point>
<point>
<intensity>647</intensity>
<time>730</time>
</point>
<point>
<intensity>647</intensity>
<time>740</time>
</point>
<point>
<intensity>805</intensity>
<time>750</time>
</point>
<point>
<intensity>605</intensity>
<time>760</time>
</point>
<point>
<intensity>600</intensity>
<time>770</time>
</point>
<point>
<intensity>772</intensity>
<time>780</time>
</point>
<point>
<intensity>656</intensity>
<time>790</time>
</point>
<point>
<intensity>665</intensity>
<time>800</time>
</point>
<point>
<intensity>716</intensity>
<time>810</time>
</point>
<point>
<intensity>605</intensity>
<time>820</time>
</point>
<point>
<intensity>609</intensity>
<time>830</time>
</point>
<point>
<intensity>698</intensity>
<time>840</time>
</point>
<point>
<intensity>533</intensity>
<time>850</time>
</point>
<point>
<intensity>628</intensity>
<time>860</time>
</point>
<point>
<intensity>702</intensity>
<time>870</time>
</point>
<point>
<intensity>549</intensity>
<time>880</time>
</point>
<point>
<intensity>758</intensity>
<time>910</time>
</point>
<point>
<intensity>688</intensity>
<time>930</time>
</point>
<point>
<intensity>623</intensity>
<time>950</time>
</point>
<point>
<intensity>912</intensity>
<time>970</time>
</point>
<point>
<intensity>763</intensity>
<time>1020</time>
</point>
<point>
<intensity>684</intensity>
<time>1110</time>
</point>
<point>
<intensity>693</intensity>
<time>1130</time>
</point>
<point>
<intensity>572</intensity>
<time>1140</time>
</point>
<point>
<intensity>535</intensity>
<time>1150</time>
</point>
<point>
<intensity>372</intensity>
<time>1160</time>
</point>
<point>
<intensity>344</intensity>
<time>1170</time>
</point>
<point>
<intensity>219</intensity>
<time>1180</time>
</point>
<point>
<intensity>195</intensity>
<time>1190</time>
</point>
<point>
<intensity>107</intensity>
<time>1220</time>
</point>
<point>
<intensity>47</intensity>
<time>1270</time>
</point>
<point>
<intensity>0</intensity>
<time>1290</time>
</point>
</violet>
<cool_white>
<point>
<intensity>0</intensity>
<time>0</time>
</point>
<point>
<intensity>0</intensity>
<time>360</time>
</point>
<point>
<intensity>19</intensity>
<time>480</time>
</point>
<point>
<intensity>42</intensity>
<time>490</time>
</point>
<point>
<intensity>74</intensity>
<time>500</time>
</point>
<point>
<intensity>149</intensity>
<time>510</time>
</point>
<point>
<intensity>144</intensity>
<time>520</time>
</point>
<point>
<intensity>121</intensity>
<time>530</time>
</point>
<point>
<intensity>116</intensity>
<time>540</time>
</point>
<point>
<intensity>130</intensity>
<time>550</time>
</point>
<point>
<intensity>135</intensity>
<time>560</time>
</point>
<point>
<intensity>93</intensity>
<time>570</time>
</point>
<point>
<intensity>79</intensity>
<time>580</time>
</point>
<point>
<intensity>112</intensity>
<time>590</time>
</point>
<point>
<intensity>102</intensity>
<time>600</time>
</point>
<point>
<intensity>70</intensity>
<time>610</time>
</point>
<point>
<intensity>56</intensity>
<time>620</time>
</point>
<point>
<intensity>56</intensity>
<time>630</time>
</point>
<point>
<intensity>37</intensity>
<time>640</time>
</point>
<point>
<intensity>41</intensity>
<time>650</time>
</point>
<point>
<intensity>40</intensity>
<time>660</time>
</point>
<point>
<intensity>39</intensity>
<time>670</time>
</point>
<point>
<intensity>38</intensity>
<time>680</time>
</point>
<point>
<intensity>37</intensity>
<time>690</time>
</point>
<point>
<intensity>36</intensity>
<time>700</time>
</point>
<point>
<intensity>35</intensity>
<time>710</time>
</point>
<point>
<intensity>0</intensity>
<time>720</time>
</point>
<point>
<intensity>0</intensity>
<time>730</time>
</point>
<point>
<intensity>0</intensity>
<time>740</time>
</point>
<point>
<intensity>0</intensity>
<time>750</time>
</point>
<point>
<intensity>0</intensity>
<time>760</time>
</point>
<point>
<intensity>0</intensity>
<time>770</time>
</point>
<point>
<intensity>0</intensity>
<time>780</time>
</point>
<point>
<intensity>0</intensity>
<time>790</time>
</point>
<point>
<intensity>0</intensity>
<time>800</time>
</point>
<point>
<intensity>0</intensity>
<time>810</time>
</point>
<point>
<intensity>0</intensity>
<time>820</time>
</point>
<point>
<intensity>0</intensity>
<time>830</time>
</point>
<point>
<intensity>0</intensity>
<time>840</time>
</point>
<point>
<intensity>0</intensity>
<time>850</time>
</point>
<point>
<intensity>0</intensity>
<time>860</time>
</point>
<point>
<intensity>0</intensity>
<time>870</time>
</point>
<point>
<intensity>0</intensity>
<time>880</time>
</point>
<point>
<intensity>0</intensity>
<time>910</time>
</point>
<point>
<intensity>0</intensity>
<time>930</time>
</point>
<point>
<intensity>0</intensity>
<time>950</time>
</point>
<point>
<intensity>0</intensity>
<time>970</time>
</point>
<point>
<intensity>0</intensity>
<time>1020</time>
</point>
<point>
<intensity>0</intensity>
<time>1110</time>
</point>
<point>
<intensity>0</intensity>
<time>1130</time>
</point>
<point>
<intensity>0</intensity>
<time>1140</time>
</point>
<point>
<intensity>0</intensity>
<time>1150</time>
</point>
<point>
<intensity>0</intensity>
<time>1160</time>
</point>
<point>
<intensity>0</intensity>
<time>1170</time>
</point>
<point>
<intensity>0</intensity>
<time>1180</time>
</point>
<point>
<intensity>0</intensity>
<time>1190</time>
</point>
<point>
<intensity>0</intensity>
<time>1220</time>
</point>
<point>
<intensity>0</intensity>
<time>1270</time>
</point>
<point>
<intensity>0</intensity>
<time>1290</time>
</point>
</cool_white>
</colors>
</ramp>
Here is the screenshot of the datagridview that I have
[^]
here's the code -
int i = 0;
foreach(XmlNode node in doc.SelectNodes(query))
{
row = results.NewRow();
XmlNode Element = (XmlNode)node;
foreach (XmlNode node1 in Element)
{
XmlNode Element1 = (XmlNode)node1;
results.Columns.Add(Element1.Name, typeof(string));
}
foreach (XmlNode node2 in Element)
{
XmlNode Element2 = (XmlNode)node2;
foreach (XmlNode node3 in Element2)
{
XmlNode Element3 = (XmlNode)node3;
foreach (XmlNode node4 in Element3)
{
XmlNode Element4 = (XmlNode)node4;
if (Element4.Name == "intensity")
{
row[i] = Element4.InnerText.ToString();
results.Rows.Add(row);
row = results.NewRow();
}
}
}
i++;
}
}
return results;
problem is that the datagridview is not formatting the text correctly, as you can see it keeps creating a new row for each result set for a color.. I need it to show correctly?
thanks
Craig.
|
|
|
|
|
What is in query and can you share the declarations for row and results.
Also - shortening the amount of XML we have to copy would be nice.
When you say "show it correctly" what do you mean by "correctly"?
modified 19-Apr-17 7:25am.
|
|
|
|
|
row[i] indicates a "column" (indexed via i).
One needs to populate all columns in a (datatable) row that you're writing; you're only populating one column at a time.
You need to populate each column as you retrieve the (xml) values for that column and row.
You're also attempting to do this in the crudest way possible (no xml deserialization; no datarow column naming).
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
hi
here is my code Rdlc not binding data's in reportviewer pls any one help
protected void btnSearch_Click(object sender, EventArgs e)
{
DivReport.Visible = true;
GetMonthWiseReports();
}
private void GetMonthWiseReports()
{
string LocationName = string.Empty, CompanyName = string.Empty;
try
{
rptvw.Reset();
rptvw.ProcessingMode = ProcessingMode.Local;
rptvw.LocalReport.ReportPath = Server.MapPath("~/Reports/RDLC/MonthWiseLedger.rdlc");
string accname = string.Empty;
Int64 AccNo = 0;
//string frmdate = string.Empty;
//string todate = string.Empty;
//frmdate = Convert.ToDateTime(rdFrmDate.SelectedDate).ToString("yyyy-MM-dd");
//todate = Convert.ToDateTime(rdToDate.SelectedDate).ToString("yyyy-MM-dd");
DataTable dt_PurchaseData = SerLedgerMaster.GetMonthwiseledgerReport(AccNo).Tables[0];
dt_PurchaseData.Columns.Add("Serial_No");
Int32 RowCount = 0;
foreach (DataRow dr in dt_PurchaseData.Rows)
{
RowCount++;
dr["Serial_No"] = RowCount;
}
ReportDataSource rptSource = new ReportDataSource("MonthWiseLedger", dt_PurchaseData);
rptvw.LocalReport.DataSources.Add(rptSource);
rptvw.LocalReport.Refresh();
}
catch (Exception ex)
{
throw (ex);
}
}
public static DataSet GetMonthwiseledgerReport(Int64 accname)
{
try
{
MySqlConnection mySQLConnection = new MySqlConnection(ConfigurationManager.ConnectionStrings["MMDBConn"].ToString());
DataSet objDataSet = new DataSet();
MySqlCommand command = new MySqlCommand();
command.Connection = mySQLConnection;
command.CommandType = CommandType.StoredProcedure;
command.CommandTimeout = 600;
command.CommandText = "USP_GetMonthWiseLedger";
command.Parameters.Add("@AccNo", MySqlDbType.Int64).Value = accname;
mySQLConnection.Open();
MySqlDataAdapter SqlDa = new MySqlDataAdapter(command);
SqlDa.Fill(objDataSet);
int count = objDataSet.Tables[0].Rows.Count;
return objDataSet;
}
catch (Exception ex)
{
throw (ex);
}
}
|
|
|
|
|
I'm sorry I don't understand. Can you rephrase your question please?
|
|
|
|
|
Hi here is my code, i want to show data in the report for selected accno in the dropdown list
thank you for ur reply
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
CurUserID = Convert.ToInt64(Session["UserID"]);
CurrLocID = Convert.ToInt64(HttpContext.Current.Session["LocID"]);
CurrCompID = Convert.ToInt64(HttpContext.Current.Session["CompID"]);
if (CurUserID == 0)
{
Response.Redirect("~/Logout.aspx");
}
else
{
BindAccounDetails();
GetMonthWiseReports();
}
}
}
private void BindAccounDetails()
{
CurrLocID = Convert.ToInt64(HttpContext.Current.Session["LocID"]);
CurrCompID = Convert.ToInt64(HttpContext.Current.Session["CompID"]);
try
{
DataTable dt = new DataTable();
SerChequePaymentDetails SerObjChq = new SerChequePaymentDetails();
dt = SerObjChq.BindAccounDetails(CurrLocID, CurrCompID);
ddlAccname.DataSource = dt;
ddlAccname.DataTextField = "Acc_Name";
ddlAccname.DataValueField = "Acc_No";
ddlAccname.DataBind();
RadComboBoxItem item = new RadComboBoxItem("Select", "0");
ddlAccname.Items.Insert(0, item);
}
catch (Exception ex)
{
}
}
protected void btnSearch_Click(object sender, EventArgs e)
{
DivReport.Visible = true;
GetMonthWiseReports();
}
private void GetMonthWiseReports()
{
string LocationName = string.Empty, CompanyName = string.Empty;
try
{
rptvw.Reset();
rptvw.ProcessingMode = ProcessingMode.Local;
rptvw.LocalReport.ReportPath = Server.MapPath("~/Reports/RDLC/MonthWiseLedger.rdlc");
string accname = string.Empty;
Int64 AccNo = 0;
DataTable dt_PurchaseData = SerLedgerMaster.GetMonthwiseledgerReport(AccNo).Tables[0];
dt_PurchaseData.Columns.Add("Serial_No");
Int32 RowCount = 0;
foreach (DataRow dr in dt_PurchaseData.Rows)
{
RowCount++;
dr["Serial_No"] = RowCount;
}
ReportDataSource rptSource = new ReportDataSource("MonthWiseLedger", dt_PurchaseData);
rptvw.LocalReport.DataSources.Add(rptSource);
rptvw.LocalReport.Refresh();
}
catch (Exception ex)
{
throw (ex);
}
}
public static DataSet GetMonthwiseledgerReport(Int64 accname)
{
try
{
MySqlConnection mySQLConnection = new MySqlConnection(ConfigurationManager.ConnectionStrings["MMDBConn"].ToString());
DataSet objDataSet = new DataSet();
MySqlCommand command = new MySqlCommand();
command.Connection = mySQLConnection;
command.CommandType = CommandType.StoredProcedure;
command.CommandTimeout = 600;
command.CommandText = "USP_GetMonthWiseLedger";
command.Parameters.Add("@AccNo", MySqlDbType.Int64).Value = accname;
mySQLConnection.Open();
MySqlDataAdapter SqlDa = new MySqlDataAdapter(command);
SqlDa.Fill(objDataSet);
int count = objDataSet.Tables[0].Rows.Count;
return objDataSet;
}
catch (Exception ex)
{
throw (ex);
}
}
|
|
|
|
|
Ok - I get what you want to do, I get that you have some code. But what is the actual problem? (or question)
|
|
|
|
|
hi
report structure only visible i click the button...nothing data inside my report that is problem
|
|
|
|
|
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
|
|
|
|