Monday, November 2, 2009

Define 'basic knowledge'

OK, when some-one posts a question like this :

I have to concate two strings by operator "/"

Hello Experts,

I want result in this format->Smart/Kidya.
where,

Str1=Smart
Str2=Kidya

How to do with VB.Net?


I'm left wondering just what the minimum standard for entry is. The code is obviously Dim Str3 as String = Str1 & "/" & Str2.

This seems like a pretty basic beginner question, and while the guy probably would do better to buy a book, it's wrong to point the finger at someone for being new to programming, right ?

He's posted on this forum over 100 times, his other questions have been things like:

run access query for crystal report

Hello Experts!!

My problem is- "select * from data" i want to show result of this query on to crystal report.......I am using msaccess for a database.


and

rotate images in picturebox on button click

Hello Experts!!

I have to develop application in which i am able to rotate images on button click(Next and Previous).I am using vb.net.....
Anybody have code or ideas then suggest me......


and

Error Cannot implicitly convert type 'byte' to 'CrystalDecisions.CrystalReports.Engine.BlobFieldObject'

Hello Experts!!

I got above error when displaying image in crystal report.....
I am assigning root as Blobfield object and assigning to database field.but it gives error.

My code is:

while (dr.Read())
{
CrystalDecisions.CrystalReports.Engine.BlobFieldObject root;
root = (CrystalDecisions.CrystalReports.Engine.BlobFieldObject)objRpt.ReportDefinition.ReportObjects["Picture2"];
object s = dr["Picture"];
Byte s2 = Convert.ToByte(s);
root=(Byte)s2;
}

i dont knw how to bind dr with object.Suggest me method.......



So, if you outsource your project, the guy trying to write your database code stands a chance of not even knowing how to connect two strings together. How did he get this code to work then ? Why, he copied it off the web at random, and then asked people to fix it for him until it looked like it 'sort of' worked.

2 comments:

  1. Problem is, you're going to attract a small group of like-minded folks, and then one of the Indian IT mafia will find your blog and you'll have to turn comments off.

    ReplyDelete
  2. Haha, I initially thought the guy was talking about overloading the right slash operator to perform string concatenation (rather than use plus or ampersand).

    ReplyDelete