Click here to Skip to main content
15,180,707 members

Comments by Member 10611310 (Top 37 by date)

Member 10611310 27-Jul-21 6:48am View
This code gives result total number of days between dates. I no need total no of days. I need for ex dob. I need how many years, months and days different.
Member 10611310 24-Jul-21 7:20am View
Please anyone give correct solution for this. Am trying 2 days for this concept. I need months and days between 2 dates.
Member 10611310 24-Jul-21 6:54am View
I need difference between 2 dates.. pls tell me.
Member 10611310 15-Mar-14 6:04am View
not working means.. no error.. but one godaday web page is open for host in tat site..
Member 10611310 13-Mar-14 5:10am View
i need char + no increment
Member 10611310 12-Mar-14 9:53am View
ya having
Member 10611310 12-Mar-14 9:21am View
i changed..but nothing change..
Member 10611310 12-Mar-14 7:56am View
tat also i changed.. nothing happen.. didnt display gridview also..
Member 10611310 12-Mar-14 6:55am View
ya i given.. then also not visible the gridview...
Member 10611310 4-Mar-14 7:42am View
any header file for that report document..
Member 10611310 4-Mar-14 7:41am View
report document u create object.. ReportDocument crReportDocument;
crReportDocument = new ReportDocument(); this is also makes error
Member 10611310 4-Mar-14 7:31am View
KMAAccount and GetDataTable also makes underlined..
Member 10611310 4-Mar-14 7:28am View
Report document is error.. red underlined
Member 10611310 4-Mar-14 7:23am View
k k... am said not this code.. last u sent java script knw that.. thanks
Member 10611310 4-Mar-14 7:13am View
am using Windows application..
Member 10611310 4-Mar-14 7:08am View
Sry. this is windows application
Member 10611310 4-Mar-14 6:56am View
i no need report viewer default button. in sales screen i gave print button. i click print button print the entire fields..
Member 10611310 3-Mar-14 4:17am View
Member 10611310 3-Mar-14 3:41am View
in this i wil connect locally.. suppose install 2 more system.. can i connecting to server system with same con str. application
Member 10611310 3-Mar-14 1:20am View
first it not fully installed.. during installation it makes that error..
Member 10611310 27-Feb-14 7:45am View
can u send code in c#
windows application
Member 10611310 26-Feb-14 5:49am View
can u tell how deploy the windows application with sqlserver and crystal reports..
Member 10611310 26-Feb-14 2:41am View
in DataGridView type Manual only... for eg. rate*Qty=amount here, qty is Manual entry amount is rate * Qty
Member 10611310 26-Feb-14 0:54am View
values not comes from db. i enter in the columns..
Member 10611310 25-Feb-14 8:40am View
foreach (DataGridViewRow row in dgvScreenDetails.Rows)
DataGridViewCheckBoxCell chk = row.Cells[0] as DataGridViewCheckBoxCell;

if (Convert.ToBoolean(chk.Value) == true)
cmd.Parameters.Add("@ScreenCode", SqlDbType.NVarChar).Value = Convert.ToString(dgvScreenDetails.Rows[i].Cells[1].Value);
cmd.Parameters.Add("@ScreenName", SqlDbType.NVarChar).Value = Convert.ToString(dgvScreenDetails.Rows[i].Cells[2].Value);

Member 10611310 25-Feb-14 5:44am View
I gave right ly.. i changed like tat too out of range error was came..
Member 10611310 24-Feb-14 7:51am View
Member 10611310 24-Feb-14 7:39am View
am no need master label visible false.. i need another form label visible false from master linkbutton
Member 10611310 24-Feb-14 7:10am View
it cleared: but values didnt come to grid:
DataTable dt = new DataTable();
SqlConnection con = new SqlConnection();
con.ConnectionString = "Data Source=Param-PC;Initial Catalog=POS;Persist Security Info=True;User ID=sa;Password=123";
SqlDataAdapter da = new SqlDataAdapter();
da = new SqlDataAdapter("select ScreenCode,ScreenName from UserCreation where UserId='"+dgvUserDetails.SelectedRows[i].Cells[1].Value+"'", con);
dgvScreenDetails.DataSource = dt.DefaultView;
Member 10611310 24-Feb-14 6:51am View
Same error
Member 10611310 24-Feb-14 6:22am View
it makes an error:if (dgvUserDetails.SelectedRows[i].Cells[0].Value.ToString() == "Admin")
Member 10611310 24-Feb-14 2:27am View
for (int i = 0; i < dgvScreenDetails.Rows.Count; i++)

cmd.CommandText = "insert into UserHdr(UserType,UserId,UserName,DepartmentId,DepartmentName,Password,ScreenCode,ScreenName,DeleteFlag) values(@UserType,@UserId,@UserName,@DepartmentId,@DepartmentName,@Password,@ScreenCode,@ScreenName,'N')";

if (rbAdmin.Checked == true)
cmd.Parameters.Add("@UserType", SqlDbType.NVarChar).Value = rbAdmin.Text;
else if (rbManagement.Checked == true)
cmd.Parameters.Add("@UserType", SqlDbType.NVarChar).Value = rbManagement.Text;
else if (rbUser.Checked == true)
cmd.Parameters.Add("@UserType", SqlDbType.NVarChar).Value = rbUser.Text;
cmd.Parameters.Add("@UserId", SqlDbType.NVarChar).Value = txtUserId.Text;
cmd.Parameters.Add("@UserName", SqlDbType.NVarChar).Value = txtUserName.Text;
cmd.Parameters.Add("@DepartmentId", SqlDbType.NVarChar).Value = txtDeptId.Text;
cmd.Parameters.Add("@DepartmentName", SqlDbType.NVarChar).Value = txtDeptName.Text;
cmd.Parameters.Add("@Password", SqlDbType.NVarChar).Value = txtPassword.Text;
cmd.Parameters.Add("@ScreenCode", SqlDbType.NVarChar).Value = dgvScreenDetails.Rows[i].Cells[0].Value;
cmd.Parameters.Add("@ScreenName", SqlDbType.NVarChar).Value = dgvScreenDetails.Rows[i].Cells[1].Value;

MessageBox.Show("Record Saved Successfully");

txtUserId.Text = "";
txtUserName.Text = "";
txtDeptId.Text = "";
txtDeptName.Text = "";
txtPassword.Text = "";
txtRePassword.Text = "";
if (rbAdmin.Checked == true)
rbAdmin.Checked = false;
else if (rbManagement.Checked == true)
rbManagement.Checked = false;
else if (rbUser.Checked == true)
rbUser.Checked = false;

Member 10611310 21-Feb-14 6:18am View
i no need dll path i want file path can u help me...
Member 10611310 21-Feb-14 5:36am View
Thanks 2 All.. Its Working
Member 10611310 20-Feb-14 5:06am View
Not workd.. it comes error. datasourceid and datasource both declared in same gridview error come.. in coding gridview1.datasource=ds; remove answer not come..
Member 10611310 20-Feb-14 4:27am View
and then Gridview is not come at page load in
Member 10611310 20-Feb-14 4:22am View
No error.... values only not come..