Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
61% Quality Score
Upvotes Received
11
Posts with Upvotes
11
Upvoting Members
7
Downvotes Received
8
Posts with Downvotes
4
Downvoting Members
7
5 Commented Posts
2 Endorsements
Ranked #621
Ranked #2K
~39.3K People Reached
About Me

For some men sky is the limit. But for me its just the beginning.

Favorite Tags

147 Posted Topics

Member Avatar for HunainHafeez

I have an rdlc report which is loading data from database table via Datatable but problem is that it only shows 27 records, not more. Even the sql table and datatable in c# has populated data but not getting populated in RDLC report. I have used same code and same …

0
124
Member Avatar for HunainHafeez

i am searching for web/desktop idea since many years adn whatever hits my mind is already on internet. It discouraged me a lot, i am a profssional asp.net/C# developer and ahs experience but failed to innovate anything, i have made thinking about it part of my life and has been …

Member Avatar for jackstone444
0
122
Member Avatar for HunainHafeez

I am receiving a Code in sms like "yyyy/mm-digit" (digit increments with every message). so i want to ensure that the code sent by user is exactly in that format otherwise another action. So how ? Here is my code to check but it always execute else block, why ? …

Member Avatar for adam_k
0
193
Member Avatar for HunainHafeez

i am using asp.net datalist to retrieve text from database field, when i put an integer value like 10 in where clause of select statement then it retrieves data from databse on next page but when i used variable (which is used to store value sent via query string) then …

Member Avatar for suman_4
0
852
Member Avatar for HunainHafeez

my friend, who told me that he can hack any facebook, yahoo, gmail account. First i didn't believe him but when he pulled out his laptop and asked me to name any account email address on the earth. I mentioned some random guys, my relatives. And in few seconds he …

Member Avatar for Rebekahcorlin
-4
408
Member Avatar for HunainHafeez

how to edit a pdf file in ADOBE READER 9 ? like adding text in boxes and putting check marks ?

Member Avatar for alva114
0
429
Member Avatar for HunainHafeez

i can view anybody record and then can edit it if i click edit button below record, after clicking it takes you to another page whihc shows textboxes and dropdown, checkboxes to edit and all textboxes contains values for that EmpID but problem is that i want pre selected value …

Member Avatar for cxzei
0
264
Member Avatar for HunainHafeez

i am using a store procedure to access field in asp.net View, i am putting db columns in HTML table, it's workign except for one field, 'NetSalary'. It can't be accessed, it says that model doesn't contain it. i tried many ways but couldn't get to work. ALTER PROCEDURE [dbo].[GetMonthlyReport] …

Member Avatar for BMXDad
0
227
Member Avatar for HunainHafeez

i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID …

Member Avatar for HunainHafeez
0
118
Member Avatar for HunainHafeez

getting this error: > The best overloaded method match for 'System.Web.Helpers.WebGrid.WebGrid(System.Collections.Generic.IEnumerable<object>, System.Collections.Generic.IEnumerable<string>, string, int, bool, bool, string, string, string, string, string, string, string)' has some invalid arguments i am trying this code public ActionResult Generated_PaySlip(int? emplID, String month) { var PaySlip = DataContext.GetMonthlyReport(emplID, month).SingleOrDefault(); return View(PaySlip); } VIEW: @using EmployeeAttendance_app.Models …

0
88
Member Avatar for HunainHafeez

i'm newbie to DOTNET nuke framework, i tried to install it using this method: http://seablick.com/blog/71/a-newbies-guide-to-installing-dotnetnuke.aspx but getting error: ![cb2f9bf8c255723a8c97c12d246b8a65](/attachments/small/3/cb2f9bf8c255723a8c97c12d246b8a65.jpg "align-left")

Member Avatar for sunandan
0
162
Member Avatar for HunainHafeez

i tried and read almost every link about "DIFFERENCE BETWEEN HTTP AND TCP/IP" but still the difference between them is not clear to me , please help me !

Member Avatar for azhar.mahmood.1481169
0
245
Member Avatar for HunainHafeez
Member Avatar for RomelynCastillo
0
289
Member Avatar for HunainHafeez

i successfully designed and filled my Crystal report via code not via wizard. i added Crystal report via addNEWITEM i added dataset in aap_code via addNEWITEM i added datatable into dataset via addNEWITEM Via code i made report and filled dataset and table with data Run and display. Successfully done. …

Member Avatar for johni700
0
163
Member Avatar for HunainHafeez

it's confusing, see: 1. I added a dataset in app_code folder and then added a dummy datatable (field names similar to one in database), so it is visible to Crystal report in ADO.net datasets list. 2. Dragged all field names from Datatable to Crystal report. 3. Now as i added …

Member Avatar for LastMitch
0
159
Member Avatar for HunainHafeez

i almost spent 3 hours on EXISTS operation, used in SQL especially with subqueries, i got its purpose :) that's ok but what i don't get is that WHY TO USE IT ? e.g. couldn't understand this example: *TABLE STORES* storeName----Sales-------Txn_date *TABLE GEOGRAPHY* regionName----storeName SELECT SUM(Sales) FROM Store_Information WHERE EXISTS …

Member Avatar for deceptikon
0
339
Member Avatar for HunainHafeez

actual differecne between SQL Server's STORE PROCEDURES and USER DEFINED FUNCTIONS ? i looked up these in google but couldn't satisfy me. Differences ? better to use ? and why does UDF can only implement SELECT statements not else , y ?

Member Avatar for HunainHafeez
1
184
Member Avatar for HunainHafeez

ALTER FUNCTION [dbo].[customers_udfMin2] ( @decission tinyint ) RETURNS int AS BEGIN -- Declare the return variable here DECLARE @min int Declare @default int = 10 -- Add the T-SQL statements to compute the return value here if (@decission = 1) Begin SELECT @min = MIN(customers.cus_id) from customers End else RETURN …

Member Avatar for HunainHafeez
0
493
Member Avatar for HunainHafeez

names of web development certifications ? i have to fill a form for certification, in drop down they only mentioned WEB development and left the box to be filled by applicant so what should i write ? i'm interested in asp.net(C#) etc but tell em all popular web certification names …

Member Avatar for HunainHafeez
0
233
Member Avatar for HunainHafeez

how to access classes or objects defined in APP_CODE folder ? i defined some classes there but how to access those ?

Member Avatar for HunainHafeez
0
170
Member Avatar for HunainHafeez

Like i heard that string is immutable mean cannot be changed once created so i tried: String name = "Hunain"; Console.Write("String_replaced="+ name.Replace('i', 'y') + "\n"); according to someone, string.Replace('','') throws a new object and doesn't modify existing string but it did like in above example, neither i stored it in …

Member Avatar for Nguyễn Đình Đại
0
209
Member Avatar for HunainHafeez

connection pooling in asp.net 8 minutes ago|LINK i searched and read many posts on google about CONNECTION POOLING, it says that it's an temporary memory to keep all then database connections and are used when requests are made to use it but i couldn't figure out its exact meaning like …

Member Avatar for HunainHafeez
0
375
Member Avatar for HunainHafeez

i developed a website in php i did it 90% but the problem is that if i have 4 PDF files in website and via search box i enter a text and then it finds that text for me in all 4 odf files or display a message that "No …

Member Avatar for Julsy
0
169
Member Avatar for HunainHafeez

difference between try...catch and try....finally ? in asp.net(C#) like when i want to catch error like 1/0 then i put code in try block and put exception object in catch block like respone.write("ERROR:"+ ex.Message) but advisors told me that it isn't a good practice to put catch always, it absorbs …

Member Avatar for JorgeM
0
172
Member Avatar for HunainHafeez

i'm trying to access a database backup that i usually keep in my pc's hard disk, trying to access it via my laptop. Both pc and laptop has SQL SERVER 2008 with same server name, using windows authentication, i spent 2 days but can't figure out that how to access …

Member Avatar for JorgeM
0
134
Member Avatar for HunainHafeez

i am trying to create and fill crystal report via code but an error occurred, REPORT HAS NO TABLES but when i try to extract data from DATASET then it shows exact data,no problem but doesn't work for Crystal report. CODE: protected void Dataset_load() { SqlConnection sqlcon = new SqlConnection(conStr); …

Member Avatar for HunainHafeez
0
1K
Member Avatar for HunainHafeez

waht are the uses of crystal reports ? yes i searched google and found same thing everywhere that "it's used for presenting data from different data sources etc". but i can't get the actual meaning. Why and where to use CR in asp.net? Simple words please

Member Avatar for HunainHafeez
0
157
Member Avatar for HunainHafeez

I'm trying to delete a row from gridview manually, i mean that i can use SHOWDELETEBUTTON=TRUE, that's easy but i want to delete it via button code, so far i have done this but couldn'y figure out that what to do more .aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> …

Member Avatar for geniusvishal
0
600
Member Avatar for HunainHafeez

what is this WCF ? i used web services little bit but don't know about theses WCF, read a lot on google but couldn't get its technical terms like http://www.codeproject.com/Articles/139787/What-s-the-Difference-between-WCF-and-Web-Services or msdn. It says like communcation over HTTP and SOAP , serialization, soap etc but yet i'm not qualified to …

Member Avatar for deceptikon
0
87
Member Avatar for HunainHafeez

Gridview remains in EDIT mode and doesn't get out of it when i don't rebind it, why ? but when i rebind gridview that it exits out of eidt mode successfully, why ? protected void gvTest_Edit(Object sender, GridViewEditEventArgs e) { gvTest.EditIndex = e.NewEditIndex; Response.Write("Editing..."); connectToDb(); // a funtion to rebind …

Member Avatar for nakor77
0
138
Member Avatar for HunainHafeez

like answers should be technical, i know the code to fill and update everything, but i actually don't know precisely that how it does ? like i change row in GRIDVIEW and click update, it changes(updates) data in database too, some says that SQLDATA-Adapter do this but even in my …

Member Avatar for HunainHafeez
0
92
Member Avatar for HunainHafeez

i'm trying to hide EDIT button in a column when i click it but it doesn't. Actually, i manually created EDIT button in gridview, it worked :) but now after clicking edit button i want it to disable so i can put UPDATE button while editing. i tried but it …

Member Avatar for JorgeM
0
179
Member Avatar for HunainHafeez

one thing that i have been searching since many days that confuses me is that the difference between ONCOMMNAD and ONROWCOMMAND, Oncommand methid use parameters like "DELTEROW" EDITROW while ONROWCOMMAND uses DELETE, EDIT etc and both send different kinda objects like one send GridviewEventargs type object while another sends commandeventargs, …

Member Avatar for JorgeM
0
649
Member Avatar for HunainHafeez

like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws …

Member Avatar for JorgeM
0
765
Member Avatar for HunainHafeez

what's the difference between these two actually ? Requesting page for the first time (or hitting enter in address bar) gives Ispostback = fasle but when i refresh my page then it sets isPostback = true, why ? it should not do like this for refreshing ?

Member Avatar for JorgeM
0
171
Member Avatar for HunainHafeez

ok we know that .net app cannot be directly converted to machine code, first it si compiled to MSIl which is converted to machine specific code by JIT on request, once but what about asp.net app ? e.g. i decelop a web page and put it on my laptop (working …

Member Avatar for HunainHafeez
0
181
Member Avatar for HunainHafeez

can i host a website from my laptop ? like i have developed a lot of web sites and few are online on servers via free hosting sevice but if i want to serve it from a laptop, so it possible ? i mean making my laptop a live server …

Member Avatar for HunainHafeez
0
368
Member Avatar for HunainHafeez

today a friend told me that Hunain, did you notice that OOP concepts like inhertance, polymorphism, interface etc aren't usuallt applied to ASP.net. so it made me confused and thought for a while, and yes he seems to be right ! i never used any of them adn even most …

Member Avatar for JorgeM
0
117
Member Avatar for HunainHafeez

garbage collector collects unused object during runtime, OK ? i know it but never fully understood it. Like what 'unused' objects ? what makes them unused ? and does GC works when you EXECUTE your program by clicking .exe file ? and does GC work when i run file after …

Member Avatar for HunainHafeez
0
215
Member Avatar for HunainHafeez

after formatting my iphone 3gs, (4.1 ios), would it have a maintained IOS or i vl need to install it again, simply i mean that if i format my iphone then ios 4.1 would need to be installed again or any oyher issues would arise ? please guide me about …

Member Avatar for Myronz
0
287
Member Avatar for HunainHafeez

i figured out the problem it is that Hash function generates different hash each time for same value i.e 12345 and thats why it doesn't match during login with the one that i submitted during signup. so is there any way to make the hash stable for same value e.g. …

Member Avatar for JorgeM
0
84
Member Avatar for HunainHafeez

i am providing todo list feature to my users , on my website, users put their task and select time to do it, e.g. Hair cutting, 28-03-2013 06:00 PM now want to send them email or sms as soon clock hits 05:45, so how it would be ? how would …

Member Avatar for JorgeM
0
115
Member Avatar for HunainHafeez

need an insert query for my code , i wrote code to add table rows having textboxes, dynamically, e.g yoh have only passed HSSC exam then you have to fill 2 levels of education SSC, HSSC......or say you have passed Phd , then SSC,HSSC,BS, MS, Phd, you have to fill …

Member Avatar for LastMitch
0
293
Member Avatar for HunainHafeez

how to develop a gannt chart like this , i mean same like this, having time slices in bottom, like in the attached image. ![gant_chart__cut](/attachments/small/3/gant_chart__cut.png "align-left")

Member Avatar for ddanbe
0
189
Member Avatar for rocky.maivia.7161
Member Avatar for Kareem Klas
Member Avatar for HunainHafeez

i tried reverse engineering option in Mysql workbend 5.1, 1stly i imprted DB's script and then created it, Its done :) but when i try to create ERD via Reverse Engineering option , then it doesn't show relations ships btw tbl, it only brings table to front ! why ? …

Member Avatar for LastMitch
0
367
Member Avatar for HunainHafeez

is it true that no. of rows affected by select statement (ado.net) , is always -1. i.e. NO. OF ROWS AFFECTED BY SELECT STATEMENT = -1 ; if it is then why ?

Member Avatar for JorgeM
0
180
Member Avatar for HunainHafeez

i am sending emails to more than 1000 users at time , so i used a datatable to fetch email addresses from DB's table and then i loop over it voa foreach and then send it to each user via net.mail namespace's code that's ok, Done But problem is that …

Member Avatar for arun1123
0
711
Member Avatar for HunainHafeez

i am getting error ERROR: The specified string is not in the form required for an e-mail address. but when i pass static email address , it works , why ? protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(connectionString); String command = "select visitorEmailID from tblvisitorSubscriptions"; …

Member Avatar for HunainHafeez
0
1K

The End.