Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
75% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
1 Commented Post
1 Endorsement
Ranked #860
Ranked #1K
~80.7K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

58 Posted Topics

Member Avatar for Santanu.Das
Member Avatar for jaimin4829

change the datatype of `startDate` from `datetime` to `date` in your `sql server` This will solve the problem.

Member Avatar for uzma_2
0
27K
Member Avatar for JerrimePatient

I inserted data in sql server using asp.net (MVC 5), and its flowing nicely, but my problem is this. I don't want to insert in sql the exist data. How can I do it?

Member Avatar for Nagarjuna_2
0
7K
Member Avatar for JerrimePatient

I want to save an image from my computer to my project. c:\\image1.jpg to MyWebProject image folder. how can I do it?

0
163
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
0
219
Member Avatar for IT_Techno

go at `UpdateMediaProduction.cs` in line `25` copy and paste here what is in `line 25` so that we will how the exact problem. I believe the cause of this is a date format.

Member Avatar for sandeepjkl
0
412
Member Avatar for JerrimePatient

for example. name of field: f1 = "field1", f2 = "field2", f3 = "field3", f4 = "field4" how can I update the value of f2 and f3 without changing the value of f1 and f4. f2 = "new field2", f2 = "new field3" the new value of fields are. f1 …

Member Avatar for JerrimePatient
0
329
Member Avatar for JerrimePatient

Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form?

Member Avatar for DaveAmour
0
183
Member Avatar for ramkishor

Required Variabel SqlConnection c = new SqlConnection("your connection"); SqlDataApdapter d = new SqlDataApdapter() String q; DataTable t; Query to insert data to combobox q = "select field from table"; t = new DataTable(); d.SelectCommand = new SqlCommand(q, c); d.Fill(t); combobox1.Items.Clear(); for(int a=0;a<t.Rows.Count;a++) { combobox1.Items.Add(t.Rows[a][0].ToString()); } God Bless and Enjoy Programming. …

Member Avatar for ramkishor
0
221
Member Avatar for JerrimePatient
Member Avatar for Tcll
Member Avatar for wareez

there is no form tag. <form action="some action"> //your login code. </form>

Member Avatar for wareez
0
2K
Member Avatar for mobizeyai
Member Avatar for senzeye

![sss.png](/attachments/small/4/99603e779eeee15ae4670cd5792a743e.png "align-left") This is only applicable on `menustrip` and `toolstrip`.

Member Avatar for JerrimePatient
0
193
Member Avatar for Abheek88

Try this sir. // // This functon used to mask(multiply) two images bitmap. // public Bitmap MaskImagePtr(Bitmap SrcBitmap1, Bitmap SrcBitmap2, out string Message) { int width; int height; Message = ""; if (SrcBitmap1.Width < SrcBitmap2.Width) width = SrcBitmap1.Width; else width = SrcBitmap2.Width; if (SrcBitmap1.Height < SrcBitmap2.Height) height = SrcBitmap1.Height; else …

Member Avatar for JerrimePatient
0
2K
Member Avatar for Mitchell_1

start in line 62, change it to. <div class="img-con"> <div class="img-pic"> <img class="thumb" src="../images1.jpg" width="200" height="150"> </div> <div class="img-desc"> <p>Some Description.</p> </div> </div> <div class="img-con"> <div class="img-pic"> <img class="thumb" src="../images2.jpg" width="200" height="150"> </div> <div class="img-desc"> <p>Some Description.</p> </div> </div> <div class="img-con"> <div class="img-pic"> <img class="thumb" src="../images3.jpg" width="200" height="150"> </div> <div …

Member Avatar for Mitchell_1
0
285
Member Avatar for Member #1104501
Member Avatar for Amiet_1

add this to your query. `where userDob like '"+cbYear.Text+"-"+cbMonth.Text+"-%' order by userDob` example output: `where userDob like '2015-01-%' order by userDob` the format of date is `yyyy-MM-dd`: for `yyyy` represent 4 digit year. `MM` represent 2 digit month. `dd` represent 2 digit day. Happy Programming and God Bless you.

Member Avatar for djjeavons
0
535
Member Avatar for Zee_Monty

`String[] testScore = new String[20];` this is the variable declaration of array. I know that you can do the rest.

Member Avatar for JerrimePatient
0
132
Member Avatar for ramkishor
Member Avatar for Benyam

line 22: command.CommandText =@"select * from log where User Name='"+textBox1.Text+"' and Password='"+textBox2.Text+"'"; change in to: command.CommandText ="select * from log where [User Name]='"+textBox1.Text+"' and Password='"+textBox2.Text+"'";

Member Avatar for JerrimePatient
0
259
Member Avatar for Navee30
Member Avatar for UK-1991
Member Avatar for abhi10kumar
Member Avatar for JerrimePatient
0
241
Member Avatar for priyanka_12

put it in an events. for example. private void button1_Click(object sender, EventArgs e) { CboAuthor.Items.RemoveAt(0); }

Member Avatar for JerrimePatient
0
186
Member Avatar for JerrimePatient
Member Avatar for Vijay_18
0
186
Member Avatar for kavithaje
Member Avatar for Abdullahi_1

You can use this site. It will convert the c# codes to VB with ease. God Bless you and happy programming. :) http://converter.telerik.com/

Member Avatar for JerrimePatient
-1
419
Member Avatar for rikb53

From your program to excel. the answer to your problem is: `Format the columns of excel` Excel default value: `3/11/2015 15:56:09` format: `(d/M/yyyy HH:mm:ss)` Change it to Excel custom value: `Nov. 3, 2015 03:56:09 PM` format: `(MMM. d, yyyy hh:mm:ss AM/PM)` ![ss.png](/attachments/large/4/b28b51de104f77f947fe28b737d46680.png "align-center") `Yellow box` for format, change it to …

Member Avatar for JerrimePatient
0
354
Member Avatar for punji

select desired_field1, desired_field1, desired_fieldn from table1 t1 inner join (tabl2 t2, table3 t3, table4 t4) on (t1.t2ID=t2.t2ID and t1.t3ID=t3.t3ID and t1.t4ID=t4.t4Id)

Member Avatar for punji
0
274
Member Avatar for mahbub.cse06
Member Avatar for JerrimePatient

[Autorize] I want to set the page if the user is not currently login in MVC. How can I do it? I want to set it in "User/Login"

Member Avatar for JerrimePatient
0
175
Member Avatar for NOVICE3
Member Avatar for Amiet_1

Change line `68` to `sql = "insert into person values(" + str(txtname.Text) + "," + str(d) + ")";` change it to. `sql = "insert into person values('" + txtname.Text + "'," + d + ")"` from `line 52 - 59` if (dateTimePicker1.Checked == true) { d = dateTimePicker1.Value.ToString(); } else …

Member Avatar for Amiet_1
0
6K
Member Avatar for Fayzan

we can do and solve it. but it againts the rules. read this. https://www.daniweb.com/community/rules

Member Avatar for JerrimePatient
0
228
Member Avatar for devils_knot
Member Avatar for wilsonchama

change line 5 from `cmdUpdate.CommandText = "UPDATE tblProducts SET proQuantity='" & txtTotalqty.Text & "' WHERE pID =" & cmbID.Text & ";"` to `cmdUpdate.CommandText = "UPDATE tblProducts SET proQuantity='" & txtTotalqty.Text & "' WHERE pID = '" & cmbID.Text & "'"`

Member Avatar for JerrimePatient
0
2K
Member Avatar for killza
Member Avatar for zomgmike
0
338
Member Avatar for Member #1094041

Since `April 08, 2014`, `Microsoft` has `ended their support` to `Windows XP`. Im also a `fan` of Windows XP, but the `technology is upgrading`, so `we must upgrade` to, our `skills` and also, our `computer` too. Even the `internet browser` have a `system requirements`. for more info: http://www.microsoft.com/en-us/windows/enterprise/end-of-support.aspx `Ubuntu` or …

Member Avatar for vegaseat
0
334
Member Avatar for Member #1094511

Add this in your `Form_Load` cbSearchColumn.Items.Add("Test ID") cbSearchColumn.Items.Add("Test Name") cbSearchColumn.Items.Add("Test Address") cbSearchColumn.Items.Add("Test Description") and add this in `txtSearchString_TextChange` If cbSearchColumn.SelectedIndex = 0 Then sWhere = " where id = '" & txtSearchString.Text & "'" ElseIf cbSearchColumn.SelectedIndex = 1 Then sWhere = " where name like '" & txtSearchString.Text & "%'" …

Member Avatar for Member #1094511
0
375
Member Avatar for jez9

Try this. Sub wsrt() For a = 0 To LVCart.Items.Count - 1 sql = "UPDATE ItemProduct SET stocksretail = (stocksretail - " & STOCKSWSRt & ") WHERE CODE = '" & LVCart.Items(a).Text & "'" cmd = New OleDbCommand(sql.ToString, conn) cmd.ExecuteNonQuery() Next acsdr.Close() cmd.Dispose() End Sub

Member Avatar for jez9
0
515
Member Avatar for JerrimePatient

When Im working out on MVC edit. It shows that `it must be a date`. How can I resolve This?

Member Avatar for pritaeas
0
112
Member Avatar for JerrimePatient
Member Avatar for pritaeas
0
351
Member Avatar for JerrimePatient

Here's my product table. [id, name, price, description, unit] For example. I want to edit only the name and description. How can I do it in mvc?

Member Avatar for JerrimePatient
0
253
Member Avatar for bthorat22
Member Avatar for NOVICE3
Member Avatar for JerrimePatient
0
251
Member Avatar for wilsonchama

change `line 11` from `For Sale As Integer = 0 To DataGridView1.Rows.Count` to `For Sale As Integer = 0 To DataGridView1.Rows.Count - 1` that will solve the problem.

Member Avatar for wilsonchama
0
325
Member Avatar for JerrimePatient

What is the `advantage` and `disadvantage` of the two loops? I don't know their `deferrences` to `each other`. the truth is I don't know where will I use the `for loop` or the `foreach loop`.

Member Avatar for deceptikon
0
377
Member Avatar for Shushan_1

We can help you, but break it into smaller parts, so we can help you. Don't rush, always ask and you will learn. We will help you to solve it, not to do it for you.

Member Avatar for JerrimePatient
0
3K
Member Avatar for no123

using System; using System.IO; using System.Security.Cryptography; using System.Text; //The required variables private static readonly byte[] initVectorBytes = Encoding.ASCII.GetBytes("tu89geji340t89u2"); private const int keysize = 256; //Here the class for encryption: public static string Encrypt(string plainText, string passPhrase) { byte[] plainTextBytes = Encoding.UTF8.GetBytes(plainText); using (PasswordDeriveBytes password = new PasswordDeriveBytes(passPhrase, null)) { byte[] …

Member Avatar for cgeier
0
305

The End.