Click here to Skip to main content
15,178,202 members

Comments by Muhamad Faizan Khan (Top 200 by date)

Muhamad Faizan Khan 23-Jul-15 6:59am View
   
$localhost = "localhost";
$root = "root";
$rootpass = "";
$con = mysql_connect($localhost,$root,$rootpass);//this is the line number 7 and it is unchanged from last many days. so why error now is showing?
Muhamad Faizan Khan 16-Jul-15 5:23am View
   
i am managing it by keeping remember negative representation in bits understanding is not easy and that start from top bits.
any ways thanks
Muhamad Faizan Khan 16-Jul-15 4:55am View
   
you mean there is no negative bits exists. so what is the way to represent negative value using these bits??
Muhamad Faizan Khan 13-Jul-15 5:48am View
   
name free program
Muhamad Faizan Khan 26-Jun-15 9:11am View
   
means it not maintaining the order
Muhamad Faizan Khan 26-Jun-15 9:09am View
   
i have mention the error it is related to syntax
Muhamad Faizan Khan 26-Jun-15 8:07am View
   
it is very bad practice to share non executed code
Muhamad Faizan Khan 26-Jun-15 8:07am View
   
#1221 - Incorrect usage of UNION and ORDER BY
Muhamad Faizan Khan 26-Jun-15 8:06am View
   
i use this
SELECT 1 as queryId, sp.PK as swithPersonId, sp.PTPK, emp.Employee_Name, emp.PK, pro.Name, sp.SwitchDate, sp.Half from switch_person sp
INNER JOIN projects pro
ON sp.PTPK = pro.PK
INNER JOIN employee emp
ON sp.EmployeeNamePK = emp.PK
WHERE pro.TeamLead = 33
AND sp.SwitchDate = '2015-6-25'
AND sp.Half IN (1,2)
AND sp.LeadBy <> sp.EmployeeNamePK
union all
SELECT 2 as queryId, sp.PK as swithPersonId, sp.PTPK, emp.Employee_Name, emp.PK, pro.Name, sp.SwitchDate, sp.Half from switch_person sp
INNER JOIN projects pro
ON sp.PTPK = pro.PK
INNER JOIN employee emp
ON sp.EmployeeNamePK = emp.PK
WHERE sp.SwitchDate = '2015-6-25'
AND sp.Half IN (1,2)
AND sp.LeadBy = sp.EmployeeNamePK

ORDER BY queryId, swithPersonId, PK, Half


but it didnt work
Muhamad Faizan Khan 26-Jun-15 8:00am View
   
Deleted
i dont want to merge both query orders
Muhamad Faizan Khan 26-Jun-15 8:00am View
   
did not work
Muhamad Faizan Khan 24-Jun-15 2:41am View
   
hi thanks.. div inline css I want to show
Muhamad Faizan Khan 5-May-15 0:20am View
   
thanks
Muhamad Faizan Khan 3-May-15 9:35am View
   
so what the solution
Muhamad Faizan Khan 3-May-15 2:19am View
   
so what does gloabl.asax event means? how can i do this
Muhamad Faizan Khan 30-Apr-15 1:52am View
   
i also check this
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase");
alert(encrypted);
var decrypted = CryptoJS.AES.decrypt(encrypted, "Secret Passphrase");
alert(decrypted);
using this https://code.google.com/p/crypto-js/
but result are not same on decryption. what i am missing
Muhamad Faizan Khan 30-Apr-15 1:42am View
   
is there any built in support? i means
Muhamad Faizan Khan 21-Apr-15 4:34am View
   
i am making my own
Muhamad Faizan Khan 16-Apr-15 0:34am View
   
i am doing export. it working fine. Please read question carefully
Muhamad Faizan Khan 16-Apr-15 0:33am View
   
i am getting 5 records with correct count numbers. but i want to get all records with correct count numbers. how can i do this OrignialGriff suggest me a join but i want to avoid it
Muhamad Faizan Khan 15-Apr-15 4:10am View
   
any solution without join? actually the query which ai am running already contain 3\4 joins
Muhamad Faizan Khan 15-Apr-15 4:00am View
   
i have updated with real sql. which i am trying
Muhamad Faizan Khan 14-Apr-15 1:21am View
   
sorry the question dynamic generation of html table using js vertically
Muhamad Faizan Khan 13-Apr-15 10:18am View
   
but why html element doesnot retain the values as control loads the posted values
Muhamad Faizan Khan 13-Apr-15 10:17am View
   
but why html element doesnot retain the values as control loads the posted values
Muhamad Faizan Khan 13-Apr-15 9:39am View
   
means the value again fill after the form submission
Muhamad Faizan Khan 13-Apr-15 9:37am View
   
i disabled values still persist
Muhamad Faizan Khan 13-Apr-15 9:36am View
   
problem is textbox maintain that's why asked this question
Muhamad Faizan Khan 13-Apr-15 0:14am View
   
absolutely right. I have fixed there were problem in format
Muhamad Faizan Khan 6-Apr-15 10:25am View
   
so you mean send notification as insert command occur in specified table? how?
Muhamad Faizan Khan 4-Apr-15 1:55am View
   
so how i notify user that please see the browser tab a request have recevied
Muhamad Faizan Khan 24-Mar-15 5:06am View
   
this can be solution please mention steps how to use scss
Muhamad Faizan Khan 24-Mar-15 4:32am View
   
no there is something exists i believe. as i have some idea about scss variables but don't know how to use it
Muhamad Faizan Khan 24-Mar-15 4:21am View
   
time to time i have to change bootstrap color. Thats why i can't always download new files
Muhamad Faizan Khan 24-Mar-15 4:10am View
   
i have checked this already i dont want to do with it
Muhamad Faizan Khan 1-Jan-15 10:31am View
   
i have used it it also show me the day name
Muhamad Faizan Khan 1-Jan-15 10:18am View
   
what is this is there not a single function available to solve this problem
Muhamad Faizan Khan 29-Dec-14 10:10am View
   
php
Muhamad Faizan Khan 23-Dec-14 4:24am View
   
it showing in tools not in my code
Muhamad Faizan Khan 22-Dec-14 11:40am View
   
this is not working i have search a lot
Muhamad Faizan Khan 2-Dec-14 2:10am View
   
required attribute is not enough for validation?
Muhamad Faizan Khan 2-Dec-14 1:16am View
   
angular js only
Muhamad Faizan Khan 1-Nov-14 6:14am View
   
thanks
Muhamad Faizan Khan 28-Oct-14 6:34am View
   
it is the documentation i know but dont think a good resource for beginners. it is complete reference. but some vote for it
Muhamad Faizan Khan 23-Oct-14 13:43pm View
   
i am using win8 it is also non blocking. i can copy more than one file at same time
Muhamad Faizan Khan 23-Oct-14 7:01am View
   
good answer impressive thats why some voted. but still some more defination required on question 2
Muhamad Faizan Khan 23-Oct-14 0:55am View
   
thats why i asked the question because i dont want to teach false to my students
Muhamad Faizan Khan 22-Oct-14 14:26pm View
   
language itself doesn't care meanse no matter js interpreted or compiled..hmm
Muhamad Faizan Khan 22-Oct-14 12:03pm View
   
textboxes are on three different tabs as well. by the way it is the requirement so how can be poor ui design
Muhamad Faizan Khan 15-Sep-14 2:51am View
   
but i cant make scale from this
Muhamad Faizan Khan 7-Jun-14 10:13am View
   
objTaxingSchemeDetails.TaxSchemeId = Convert.ToInt32(cbTaxingScheme.SelectedValue);
DataTable dt = new DataTable();
dt = objTaxingSchemeDetails.TaxWithRatebyTaxingSchId();
gvTaxingScheme= dt;
this is the simple code that binding the gridview
Muhamad Faizan Khan 7-Jun-14 10:12am View
   
i am not using oledb m using 3 tier architecutre
Muhamad Faizan Khan 7-Jun-14 6:58am View
   
i enter blank data here in cell and cheked this condition
if (row.Cells[1].Value.toString()) != "") //
then here error occur object refrence not set to an instance of an object
Muhamad Faizan Khan 6-Jun-14 8:04am View
   
rating done
Muhamad Faizan Khan 6-Jun-14 3:23am View
   
yes absolutely right Mr Debabrata; excellent. i want FIFO Method. please provide any solution. m waiting
Muhamad Faizan Khan 6-Jun-14 3:21am View
   
yes
Muhamad Faizan Khan 5-Jun-14 7:23am View
   
want to MINU product quanityInHand stock from the old Inventtory received date how can i do this??
Muhamad Faizan Khan 5-Jun-14 4:29am View
   
question updated
Muhamad Faizan Khan 23-May-14 7:25am View
   
yes
Muhamad Faizan Khan 22-May-14 8:59am View
   
count row
Muhamad Faizan Khan 20-May-14 4:57am View
   
question updated
Muhamad Faizan Khan 19-May-14 8:33am View
   
object refrence not set to an instance of an object
Muhamad Faizan Khan 12-May-14 6:45am View
   
error in first line execution.
the module "at1.dll" failed to load. make sure the binary is stored at the specified path or debug it to check fo problems with the binary or dependent. DLL files. The specified module could not be found
Muhamad Faizan Khan 26-Apr-14 7:37am View
   
+5 fine but i am stuck with another error
Muhamad Faizan Khan 26-Apr-14 6:42am View
   
da.Fill(dt);
DataRow row = dt.NewRow();
row["Category"] = "Add new Category";
dt.Rows.InsertAt(row, 0);
ddlCategory.DataSource = dt;
}
this is not showing any thing in combobx
Muhamad Faizan Khan 26-Apr-14 6:29am View
   
i debug above code. after ddlCategory.DisplayMember = "ProductCatName";
ddlCategory.ValueMember = "ProductCatId"; it going to objFrmProduct.Show(); not going to ddlCategory.DataSource = dataTable;why. i guess that why it is not working
Muhamad Faizan Khan 26-Apr-14 6:23am View
   
when i am trying above code it show me only numbers why
Muhamad Faizan Khan 26-Apr-14 5:07am View
   
also add toString();
Muhamad Faizan Khan 19-Apr-14 9:18am View
   
yes i have mentioned
Muhamad Faizan Khan 13-Mar-14 3:42am View
   
if (chk != null & chk.Checked) this is not going true
Muhamad Faizan Khan 13-Mar-14 3:41am View
   
i am doing this but my code not full filling the codition why?
Muhamad Faizan Khan 8-Mar-14 0:37am View
   
foreach now not use?
Muhamad Faizan Khan 8-Mar-14 0:17am View
   
it means loop runs faster then the time we do define in setTimeout. Time doesn make differece?
Muhamad Faizan Khan 4-Mar-14 9:25am View
   
you are absolutley right but is there any other way available to do this??
Muhamad Faizan Khan 4-Mar-14 9:22am View
   
is there any other way available???
Muhamad Faizan Khan 4-Mar-14 9:20am View
   
ddlCountry as a selected value which is invalid because it doesnot exsits in the list parameter: value
Muhamad Faizan Khan 4-Mar-14 9:18am View
   
not working
Muhamad Faizan Khan 4-Mar-14 9:14am View
   
name
Muhamad Faizan Khan 4-Mar-14 9:04am View
   
@ Ramug update question
@Siva your code make duplication in dropdownlist
Muhamad Faizan Khan 4-Mar-14 8:56am View
   
making duplicate this ddl property
Muhamad Faizan Khan 4-Mar-14 8:55am View
   
selected item i have done it is making duplicate
Muhamad Faizan Khan 27-Feb-14 0:21am View
   
what the heck is this
Muhamad Faizan Khan 21-Feb-14 7:07am View
   
i asked where i can find more details
Muhamad Faizan Khan 21-Feb-14 6:58am View
   
what a nice solution
Muhamad Faizan Khan 21-Feb-14 6:53am View
   
what a solution nothing detailed information available
Muhamad Faizan Khan 17-Feb-14 10:33am View
   
http://www.codeproject.com/Questions/727448/One-web-application-projects-aspx-file-is-not-work
Muhamad Faizan Khan 16-Feb-14 7:48am View
   
this were correct
Muhamad Faizan Khan 16-Feb-14 7:42am View
   
masterpage isnt the main issue.
Muhamad Faizan Khan 16-Feb-14 7:40am View
   
path!! which path?? name were same
Muhamad Faizan Khan 16-Feb-14 3:20am View
   
i also copy the master page now that page is working . what is the secret while my new project also contain a master page and exsisitng aspx file master page i have also changed
Muhamad Faizan Khan 16-Feb-14 3:10am View
   
parser error occuring. now what to do??
Muhamad Faizan Khan 16-Feb-14 2:44am View
   
nope same name master page exisit in my prject
Muhamad Faizan Khan 14-Feb-14 11:48am View
   
i asked this question but didnt got. after too many tries finally i got then i share here for other ok
Muhamad Faizan Khan 8-Feb-14 10:48am View
   
Thanks alot
Muhamad Faizan Khan 7-Feb-14 1:48am View
   
so clear me please
Muhamad Faizan Khan 7-Feb-14 1:41am View
   
i have update my question please see
Muhamad Faizan Khan 4-Feb-14 0:50am View
   
samurai.yell(4) not working while in below example obj2.name is working why? whats the difference
var obj={name: "faizan", age:31}
var obj2 = obj;//obj2 pointing to the same memoray location of obj
console.log("before making null obj::",obj2.name);
console.log(obj==obj2,"::checking obj==obj2 while var obj2=obj");
obj=null; //obj became null
console.log("after making null obj::",obj2.name)
Muhamad Faizan Khan 4-Feb-14 0:18am View
   
samurai.yell(4); is not working why??
Muhamad Faizan Khan 4-Feb-14 0:17am View
   
samurai.yell(4); is not working why??
Muhamad Faizan Khan 23-Jan-14 13:19pm View
   
html please
Muhamad Faizan Khan 5-Jan-14 12:57pm View
   
can you refer me any web where i can ask this kind of question please
Muhamad Faizan Khan 5-Jan-14 12:38pm View
   
pretty good i have understand your comments very nice. but tell me when m calling
multiplyAbsolute(2,10) it need to return me 20 but its showing me undefined. Why?
Muhamad Faizan Khan 5-Jan-14 10:30am View
   
m calling multiplyAbsolute(10,2) and it returning me undefined. now tell me how to call it
Muhamad Faizan Khan 29-Dec-13 8:24am View
   
To add a class diagram based on existing classes or types
In Solution Explorer, open the class file context menu, then choose View Class Diagram.
-or-
In Class View, open the namespace or type context menu, then choose Class Diagram.
this thing i want to do but dont know where it is?? i follow the above step but not find
Muhamad Faizan Khan 28-Dec-13 5:26am View
   
i want to save a query into table ...well this it is the different story. you just told me how to save current timedate in a table's column i also used GetDate() function but it is showing me this error

Msg 102, Level 15, State 1, Line 3
Incorrect syntax near ')'.

while the query is
execute SPSearchQueryDML @Mode='SaveSQ',
@SearchedQuery =N'Select [Hadith_Text] ,[Hadith_Urdu],[Hadith_English],[Chapter_English_Name],[Chapter_Urdu_Name],[Baab_English_Name],[Baab_Urdu_Name] ,[Baab_Id] ,[Book_Arabic_Name] From HadithSearched Where Baab_Id =2 order by ID',
@DateNTime = GetDate()
Muhamad Faizan Khan 28-Dec-13 5:00am View
   
now i change my query
execute SPSearchQueryDML @Moade='SaveSQ' ,
@SearchedQuery =N'Select [Hadith_Text] ,[Hadith_Urdu],[Hadith_English],[Chapter_English_Name],[Chapter_Urdu_Name],[Baab_English_Name],[Baab_Urdu_Name] ,[Baab_Id] ,[Book_Arabic_Name] From HadithSearched Where Baab_Id =2 order by ID',
@DateNTime = CURRENT_TIMESTAMP

hence got error
Msg 156, Level 15, State 1, Line 3
Incorrect syntax near the keyword 'CURRENT_TIMESTAMP'.
Muhamad Faizan Khan 28-Dec-13 4:32am View
   
execute SPSearchQueryDML @Moade='SaveSQ' , @SearchedQuery =N'Select [Hadith_Text] ,[Hadith_Urdu],[Hadith_English],[Chapter_English_Name],[Chapter_Urdu_Name],[Baab_English_Name],[Baab_Urdu_Name] ,[Baab_Id] ,[Book_Arabic_Name] From HadithSearched Where Baab_Id =2 order by ID',@DateNTime = datetime2

and error comes in
Msg 8114, Level 16, State 5, Procedure SPSearchQueryDML, Line 0
Error converting data type nvarchar to datetime2.
Muhamad Faizan Khan 28-Dec-13 4:22am View
   
not want to filter suppose a table data comes in gridview which include a column name category which include books (history, literature , science)
i want to categories the data on that category basis .
Muhamad Faizan Khan 28-Dec-13 4:15am View
   
yes off course
Muhamad Faizan Khan 28-Dec-13 4:12am View
   
outcome result want to categories on the basis of any column
Muhamad Faizan Khan 28-Dec-13 4:09am View
   
public int SaveSQ()
{
SqlParameter[] param = new SqlParameter[3];
param[0]= new SqlParameter("@Mode", "SaveSQ");
param[1] = new SqlParameter("@SearchedQuery", _SearchedQuery);
param[2] = new SqlParameter("@DateNTime", DateTime.Now);
// param[3] = new SqlParameter("@QueryId",);
DataTable dt = new DataTable();
return objDBBridge.ExecuteNonQuery(SPName, param);
}

//sp is
BEGIN
INSERT INTO [dbo].[SearchedQueries]
([SearchedQuery] ,[DateNTime])
VALUES
(@SearchedQuery
,@DateNTime)
END

while QUERY_ID i am not giving not written also in sp but the erro showing provide query ID expected
Muhamad Faizan Khan 28-Dec-13 4:05am View
   
i am not providing its value then show me the error.
if i provide then show me error
Muhamad Faizan Khan 25-Dec-13 12:37pm View
   
acutually you are right this is the school task. Respected teacher just told us the outline that i written above and give some data which is alot and unorder. thats why i ask this question
Muhamad Faizan Khan 24-Dec-13 13:06pm View
   
my data has spaces now what to do?
Muhamad Faizan Khan 24-Dec-13 2:16am View
   
no base word found
Muhamad Faizan Khan 24-Dec-13 2:16am View
   
i did with base but base keyword is not showing to me
Muhamad Faizan Khan 22-Dec-13 5:49am View
   
i asked that how to show cell's data in Tooltip. no code i have
Muhamad Faizan Khan 19-Dec-13 9:14am View
   
head up display for details wikipedia please
Muhamad Faizan Khan 18-Nov-13 11:15am View
   
unicode not searching
Muhamad Faizan Khan 18-Nov-13 11:13am View
   
it is not searching i have changed to nvarchar
Muhamad Faizan Khan 16-Nov-13 8:56am View
   
my 5 will check an accept it Thanks
Muhamad Faizan Khan 12-Nov-13 1:20am View
   
my 5. but not accepted still not full fill my question
Muhamad Faizan Khan 12-Nov-13 1:19am View
   
dont konw? how can i get this
Muhamad Faizan Khan 12-Nov-13 0:51am View
   
i saw your previous answer. which is not full fill my requirement thats why i asked this again. i check your sample application. both Forms (parent n child) start together and close together. i dont want this.
Muhamad Faizan Khan 11-Nov-13 23:59pm View
   
what will i do with and or? operator
Muhamad Faizan Khan 4-Nov-13 14:47pm View
   
sorry there were my mistake in like keyword please update your answer with single quotation as well i.e., i am accept it
Muhamad Faizan Khan 4-Nov-13 14:34pm View
   
I have got it single quotation were missing.
Muhamad Faizan Khan 4-Nov-13 14:29pm View
   
i didnt make parent child form. But i am accessing form2 from Main Form
Muhamad Faizan Khan 4-Nov-13 14:26pm View
   
i check it but it showing me an error incorrect synatx
if (Datarow.Cells[0].Value != null && Datarow.Cells[1].Value != null && Datarow.Cells[2].Value != null)//&& Datarow.Cells[3].Value != null)
{
if(Datarow.Cells[1].Value.ToString().ToLower().Equals("like"))
{
WhereClause += Datarow.Cells[0].Value.ToString() + " "+ Datarow.Cells[1].Value.ToString() + " %" + Datarow.Cells[2].Value.ToString() + "% ";
}
else
{
WhereClause += Datarow.Cells[0].Value.ToString() + " " + Datarow.Cells[1].Value.ToString() + " %" + Datarow.Cells[2].Value.ToString() + "% ";
//WhereClause += Datarow.Cells[0].Value.ToString() + " " + Datarow.Cells[1].Value.ToString() + " " + Datarow.Cells[2].Value.ToString() + " ";
}
SearchQuery = WhereClause;
}
Muhamad Faizan Khan 4-Nov-13 14:22pm View
   
my program doing false this condition, i dont know. why? if(Datarow.Cells[1].Value.ToString().ToLower().Equals("like"))
Muhamad Faizan Khan 4-Nov-13 14:02pm View
   
again if.. will this work sure.?
Muhamad Faizan Khan 4-Nov-13 13:50pm View
   
yes window form
Muhamad Faizan Khan 2-Nov-13 22:05pm View
   
fine
Muhamad Faizan Khan 2-Nov-13 13:20pm View
   
wonderful my five
Muhamad Faizan Khan 2-Nov-13 13:18pm View
   
Deleted
Any Alternate please i cant make this propery false AllowUserToAddRow
Muhamad Faizan Khan 2-Nov-13 12:20pm View
   
DataGridview Generating new row when i try to write in Textbox or try to select any item in combo box
Muhamad Faizan Khan 2-Nov-13 12:14pm View
   
i didin Find onRowCommand in winform's grid view
Muhamad Faizan Khan 30-Oct-13 2:14am View
   
Query is given
Muhamad Faizan Khan 30-Oct-13 2:12am View
   
@WhereClause is varchar and i am passing column name with value to it
Muhamad Faizan Khan 30-Oct-13 1:45am View
   
i modify my sp according to your answer and now i am executing it and non stop execution started .. no ending now
Muhamad Faizan Khan 29-Oct-13 11:59am View
   
@WhereClause contain not only book Selection there is more thank my 5
Muhamad Faizan Khan 29-Oct-13 5:09am View
   
i tag winform
Muhamad Faizan Khan 29-Oct-13 5:09am View
   
winform please
Muhamad Faizan Khan 29-Oct-13 0:34am View
   
it is check list box. multiple check we can get!
Muhamad Faizan Khan 28-Oct-13 3:56am View
   
there is no alternate of that 6 line of code. Because of qurey formation depends upon checklistbox item selection. do you know any alternate?
Muhamad Faizan Khan 28-Oct-13 3:28am View
   
fragment of code unacceptable why??
Muhamad Faizan Khan 28-Oct-13 3:10am View
   
what more?
Muhamad Faizan Khan 28-Oct-13 2:14am View
   
what are some??
Muhamad Faizan Khan 28-Oct-13 2:06am View
   
not for selected row i want for all rows which are present inside of grid
Muhamad Faizan Khan 28-Oct-13 1:24am View
   
nice! but is it possible to change the keyboard Layout on the basis of combobox item selection?
Muhamad Faizan Khan 28-Oct-13 1:19am View
   
onRowCommand i didnt find in propery window
Muhamad Faizan Khan 28-Oct-13 0:56am View
   
it is working but the problem is;
it is working on both button click plus when i select any option in combobox or i write in textbox it also get fire
Muhamad Faizan Khan 28-Oct-13 0:46am View
   
and how it will type in my Gridview's Textboxes?
Muhamad Faizan Khan 27-Oct-13 15:00pm View
   
so i need to study my self
Muhamad Faizan Khan 27-Oct-13 13:30pm View
   
so what should i need to -SA. read my question
Muhamad Faizan Khan 27-Oct-13 13:18pm View
   
nice sharing but i dont have enough time sir. Can you tell me to the point
Muhamad Faizan Khan 27-Oct-13 13:18pm View
   
i need to work with textbox enter event becuase of this (keyboard )
http://www.codeproject.com/Answers/674664/Typing-through-keyboard-in-different-textboxes#answer2
Muhamad Faizan Khan 27-Oct-13 13:10pm View
   
yes i have install shield in vs. will this full fill my requirement.? if yes then how to work on it?
Muhamad Faizan Khan 27-Oct-13 13:03pm View
   
nice. But what should i need to do if my textboxes inside of Gridview. how can i find Gridview's textbox enter event???? and my new texbox do appear on a button click event.
Muhamad Faizan Khan 27-Oct-13 12:38pm View
   
this is fine but when select any item in combobox or i type in textbox another row appears/ i mean this event get fire why??
Muhamad Faizan Khan 27-Oct-13 12:31pm View
   
User can also type without keyboard
Muhamad Faizan Khan 27-Oct-13 12:31pm View
   
i am not using any UI.
i am using framework 4.5 and windows form
Muhamad Faizan Khan 27-Oct-13 12:28pm View
   
sorry tool set?
I made windows application using Visual studio 2012 and SQL server 2012
Muhamad Faizan Khan 26-Oct-13 23:28pm View
   
exactly. user click on textbox then he open keyboard or already open keyboard should be type in focus keyboard
Muhamad Faizan Khan 26-Oct-13 23:20pm View
   
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
Muhamad Faizan Khan 26-Oct-13 23:18pm View
   
yes
Muhamad Faizan Khan 25-Oct-13 7:35am View
   
what i need to add more?
Muhamad Faizan Khan 18-Oct-13 0:47am View
   
Fine But Coding Demo require for me
Muhamad Faizan Khan 18-Oct-13 0:30am View
   
random operator means and or . YOu wrote query with 'And' what with and another query? it means to many queryies
Muhamad Faizan Khan 17-Oct-13 9:55am View
   
what does i doing??
Muhamad Faizan Khan 17-Oct-13 9:46am View
   
if user want 50 text boxes then i cant invisible and place 50 textboexes
Muhamad Faizan Khan 17-Oct-13 9:45am View
   
if user want 50 text boxes then i cant invisible and place 50 textboexes
Muhamad Faizan Khan 17-Oct-13 9:39am View
   
You are right. But i am stuck in the Beginning . how to start. Do i need to make each condition for combobox value?
Muhamad Faizan Khan 17-Oct-13 9:37am View
   
the issue how to make it?
Muhamad Faizan Khan 17-Oct-13 7:31am View
   
nope.
Muhamad Faizan Khan 17-Oct-13 7:30am View
   
Focus textbox
Muhamad Faizan Khan 17-Oct-13 7:16am View
   
on to a textbox. only one text box
Muhamad Faizan Khan 17-Oct-13 1:08am View
   
nothing i guess empty i dont know why while i am using this in load event
cbHadithBook.SelectedValue = 1;
//cbBaab.SelectedValue = 1;
Muhamad Faizan Khan 17-Oct-13 1:07am View
   
i dont want to show gridview result on basis of combobox index number
Muhamad Faizan Khan 17-Oct-13 0:49am View
   
i used this
if (int.TryParse(cbBaab.SelectedValue.ToString(), out baabValue))
{
objSearch.Baab_Id = Convert.ToInt32(cbBaab.SelectedValue.ToString());
}
and got another error
null refrence exception
Muhamad Faizan Khan 17-Oct-13 0:46am View
   
thank you but another error
on the same line
object reference not set to an instance of an object
Muhamad Faizan Khan 17-Oct-13 0:43am View
   
objSearch.HadithBookNo = Convert.ToInt32(cbHadithBook.SelectedValue.ToString());
same error also here

interger value in comboxbox's vlaue member
Muhamad Faizan Khan 17-Oct-13 0:40am View
   
thanks

//here Error input String was not in a correct format
objSearch.Baab_Id = Convert.ToInt32(cbBaab.SelectedValue.ToString());

interger value in comboxbox's vlaue member
Muhamad Faizan Khan 17-Oct-13 0:35am View
   
sir error as i told you above
error the best overladed method match for int.TryParse(string, out int)
Muhamad Faizan Khan 17-Oct-13 0:28am View
   
on combox value memeber it is integer value. now what to do use int.tryparse?
Muhamad Faizan Khan 17-Oct-13 0:27am View
   
error the best overladed method match for int.TryParse(string, out int)
has some invalied argument
arguement 1: cannot covert from object to string
Muhamad Faizan Khan 7-Oct-13 9:32am View
   
window form
Muhamad Faizan Khan 1-Oct-13 14:46pm View
   
can tell me how?
Muhamad Faizan Khan 1-Oct-13 14:35pm View
   
you said only make the query with or or and?
Muhamad Faizan Khan 1-Oct-13 14:33pm View
   
can i use this approach with your solution??
Muhamad Faizan Khan 1-Oct-13 14:33pm View
   
i'll ask user do you want to search more ? if yes then ask how? using or or and??
Muhamad Faizan Khan 1-Oct-13 14:32pm View
   
off course what user select and or or?
Muhamad Faizan Khan 1-Oct-13 14:24pm View
   
a person want to search a specific work In title and Description. I will provide him and .or option definitely
Muhamad Faizan Khan 1-Oct-13 13:19pm View
   
What will i do with AND operation??
Muhamad Faizan Khan 1-Oct-13 12:21pm View
   
C# windows form VS2012 SQL 2012
Muhamad Faizan Khan 1-Oct-13 12:05pm View
   
i dont want to highlight particular cell only want to highlight some text i mean searched text that user searched
Muhamad Faizan Khan 1-Oct-13 11:59am View
   
really sorry Zero Row affected
Muhamad Faizan Khan 1-Oct-13 11:57am View
   
hadith_eng_book datatype is nvarchar(50)
Muhamad Faizan Khan 1-Oct-13 11:49am View
   
nothing no idea about it ! only know how to search a text in Database
Muhamad Faizan Khan 1-Oct-13 11:43am View
   
well these are some basic searching links and techniques. I want to do advance searching like google do