Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~598 People Reached
Favorite Tags
Member Avatar for Lazarevski

[code] var q = from nar in db.Narackis where nar.datum == TextBox1.Text select new { nar.ID, nar.sifra, nar.kolicina, nar.naziv }; [/code] Error Message: Error 4 Operator '==' cannot be applied to operands of type 'method group' and 'string' C:\Users\Dragan\Desktop\MegaKameriWebApp\prodavnici\Naracka.aspx.cs 20 47 C:\...\MegaKameriWebApp\ I've tried both nar.datum.toshortdatestring and nar.datum.tolongdatestring and neither …

Member Avatar for kvprajapati
0
65
Member Avatar for Lazarevski

[code] protected void btnSave_Click(object sender, EventArgs e) { NarackaLINQDataContext db = new NarackaLINQDataContext(); Naracki naracka = new Naracki(); naracka.objekt = Convert.ToInt32(txtObjekt.Text); naracka.datum = txtDatum.Text; naracka.sifra = txtSifra.Text; naracka.kolicina = Convert.ToInt32(txtKolicina.Text); db.Narackis.InsertOnSubmit(naracka); Response.Redirect("Naracka.aspx"); } } [/code] there are no errors but no data is inserted into Database. Please help!

Member Avatar for kvprajapati
0
75
Member Avatar for Lazarevski

i have two tabels in my database. The first is called 'Products'(consisting of the product's id and the name of the product) and the second one is called 'Orders'. Is it possible, and if yes please gimme the name of that property so I can google it up, when a …

Member Avatar for jackparsana
-1
64
Member Avatar for Lazarevski

In my ASP.NET project i have 3 web forms. Login.aspx, Signup.aspx and Default.aspx. I'm using Custom Membership Provider for the login and signup controls. When a user logs in a sessions is called. How can I save all the session variables and values into MS SQL and that particular user's …

0
75
Member Avatar for Lazarevski

Basically I'm using LINQ to connect to a database(LoginDB) and the table (Korisnici) and see if there are entries in the username and password column that fit the entries of the Login1 Login Control. The Error message is : Cannot implicitly convert type 'string' to 'bool' Cannot implicitly convert type …

Member Avatar for croker10
0
132
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
124
Member Avatar for Lazarevski

The title is pretty much self-explanatory. I need to create a simple asp.net web app which will read a delimited text file and then update an existing SQL table with the content of the file. The program does not even have to display any results really.. Just to update the …

0
62