Click here to Skip to main content
15,180,249 members

Comments by CodeBlack (Top 200 by date)

CodeBlack 27-Nov-13 3:25am View
   
what you have tried ?
CodeBlack 25-Nov-13 23:39pm View
   
can you update your question with code of step-03 which you have tried.
CodeBlack 25-Nov-13 0:32am View
   
don't forget to mark it as an answer and rate this solution. so that it may help other users as well.
CodeBlack 23-Nov-13 11:37am View
   
thats true..... from webmethod you will not be able to access any serverside controls. if you want to bind your list view than you can retrieve json data from webmethod and using that json data you can bind your listview from javascript..... by the way can you tell is there any specific reason to use javascript only ?
CodeBlack 21-Nov-13 23:27pm View
   
can you update your question with the code you have tried ?
CodeBlack 19-Nov-13 7:07am View
   
can you update your question with page load method as well ?
CodeBlack 19-Nov-13 7:05am View
   
Deleted
can you update your question with page load method as well ?
CodeBlack 19-Nov-13 7:02am View
   
what do you want to do by calling multiple javascript method on keypress ?
CodeBlack 11-Nov-13 5:23am View
   
can you please make your question more clear with code you have tried ?
CodeBlack 8-Nov-13 7:19am View
   
don't forget to rate this solution.
CodeBlack 8-Nov-13 5:49am View
   
can you post code which you have tried and not working ?
CodeBlack 8-Nov-13 1:47am View
   
instead of replying. create a new comment so that it can notify the person who asked the question. use reply button when required.
CodeBlack 8-Nov-13 1:31am View
   
can you show me the code for LoginButton_Click
CodeBlack 7-Nov-13 11:46am View
   
Hope you like the solution. Dont forget to mark this solution as an answer and rate this solution. so that it may help to other users as well. Happy coding :-)
CodeBlack 7-Nov-13 7:42am View
   
on which step you are getting this problem ?
CodeBlack 7-Nov-13 7:00am View
   
Deleted
I asked to update your question. not to update the title of your question :)
CodeBlack 7-Nov-13 6:56am View
   
can you update your question with sample code with grid view and popup from edit link ?
CodeBlack 7-Nov-13 6:38am View
   
are you able to perform 1st, 2nd and 3rd step ?
What error you are getting while performing last step ?
CodeBlack 7-Nov-13 6:32am View
   
so you mean, A-B means all the brands which are starting from A or B, C-D means all the brand starting from C or D right ?
CodeBlack 7-Nov-13 6:09am View
   
can you please explain your question in more details ?
CodeBlack 7-Nov-13 6:08am View
   
how do you display popup ? is this a new window or jquery popup ?
CodeBlack 7-Nov-13 4:44am View
   
I think first of all you should learn 'How to retrieve data from SQL'. Below link will be helpful for that :

http://www.codeproject.com/Articles/4416/Beginners-guide-to-accessing-SQL-Server-through-C
CodeBlack 7-Nov-13 4:22am View
   
Deleted
your code sample shows two things :
1. Code about how you bind the drop down list
2. databound event of the drop down list. in which you add the style attribute for color.
And your question is about the tooltip background color of the dropdown list.

So I don't understand what exactly you want to do, whether you want to change the color of the dropdown item or you want to change the background color of the tooltip ?

So can you please update your question explaining exact issue ?
CodeBlack 7-Nov-13 4:11am View
   
how you tried to add last column ?
CodeBlack 7-Nov-13 4:07am View
   
can you explain more with examples about what exactly you want to do ?
CodeBlack 30-Oct-13 8:44am View
   
can you please update your question with code which you have tried ?
CodeBlack 30-Oct-13 8:02am View
   
what is your question and what you have tried ?
CodeBlack 30-Oct-13 8:02am View
   
Deleted
what is your question and what you have tried ?
CodeBlack 28-Oct-13 7:19am View
   
what is the error ? and what is the datasource ?
CodeBlack 28-Oct-13 7:17am View
   
can you explain more about the question ?
CodeBlack 28-Oct-13 5:31am View
   
no one will write a code for you. try it your self and if you face any problem then post it in code project. you will get an solution for this.
CodeBlack 28-Oct-13 5:16am View
   
yes you can.
CodeBlack 28-Oct-13 5:12am View
   
:) can you update your question with design page and css if any ?
CodeBlack 28-Oct-13 4:51am View
   
hyperlink will remain as it is. what I have done is instead of code behind, I have bound all the columns in design page.
CodeBlack 28-Oct-13 4:13am View
   
I don't see any code for searching data. The code which you have provided only gets data using sql query and binds those data to the grid view.
CodeBlack 28-Oct-13 4:04am View
   
why do you use for loop instead of directly assigning datasource and adding bound field in grid itself ?
CodeBlack 28-Oct-13 2:53am View
   
Deleted
asp:lable should always end with
CodeBlack 28-Oct-13 2:46am View
   
can you update your question with code ?
CodeBlack 25-Oct-13 0:24am View
   
if you have only one value from database and if you bind your dropdown list again than pre binded value will be lost and new value will be added. so better I suggest to add new value into existing datasource.
CodeBlack 24-Oct-13 9:12am View
   
Deleted
update your question instead of putting it in a comment. and delete above comment
CodeBlack 24-Oct-13 9:09am View
   
update your solution with code which worked instead of keeping it in comment field.
CodeBlack 24-Oct-13 9:07am View
   
Deleted
can you make your question more clear with sample code where you are getting error ?
CodeBlack 24-Oct-13 1:25am View
   
can you make your question more clear with code which you have tried ?
CodeBlack 22-Oct-13 8:19am View
   
On which browser it is not working ? I have tested it with IE and Firefox in both browser it is working fine.

Are you getting any error ?
CodeBlack 22-Oct-13 2:14am View
   
what you have tried and error you are getting ?
CodeBlack 21-Oct-13 8:47am View
   
what values you are getting for
textstartdt.Text and
gvdata.Rows[i]["Start Date"].ToString()
?
CodeBlack 21-Oct-13 4:15am View
   
can you post your design code ?
CodeBlack 21-Oct-13 2:32am View
   
can you update your question with actual error message ?
CodeBlack 17-Oct-13 8:37am View
   
use comment button to ask questions. don't ask question in solution tab.
CodeBlack 17-Oct-13 2:59am View
   
can you update your question with more explanation and source code ?
CodeBlack 17-Oct-13 1:24am View
   
I think you are getting null value. check null condition.
if (cbBaab.SelectedValue != null && int.TryParse(cbBaab.SelectedValue.ToString(), out baabValue))
CodeBlack 17-Oct-13 0:48am View
   
what value you are getting in cbBaab.SelectedValue
CodeBlack 17-Oct-13 0:39am View
   
my bad. sorry.

update if condition as below :
if (int.TryParse(cbBaab.SelectedValue.ToString(), out baabValue))
CodeBlack 17-Oct-13 0:36am View
   
I don't feel it bad. as it helps for the documentation as well and also if some new member has joined the development team then he/she can get an basic idea about what this method is doing actually.
CodeBlack 17-Oct-13 0:31am View
   
Update if condition as mentioned below :
if (int.TryParse(cbBaab.SelectedValue, out baabValue))
CodeBlack 16-Oct-13 9:35am View
   
you can simply bind grid in your aspx.cs page.
CodeBlack 16-Oct-13 6:53am View
   
update your question with aspx and code behind page. instead of making comments field longer.
CodeBlack 16-Oct-13 6:10am View
   
set OnClick event of every LinkButton to OnClick="btngetdata_Click" and on click event of btngetdata_Click write below code :

var commandArgument = string.Empty;

if (sender.GetType().Name == "LinkButton")
{
var button = (LinkButton)sender;
commandArgument = button.CommandArgument;
}
else
{
var button = (Button)sender;
commandArgument = button.CommandArgument;
}

if (commandArgument == "1")
{
// Link Button 1 Clicked
}
else if (commandArgument == "2")
{
// Link Button 2 Clicked
}
else if (commandArgument == "3")
{
// Link Button 3 Clicked
}
CodeBlack 16-Oct-13 6:00am View
   
Deleted
show me your aspx and cs code.
CodeBlack 16-Oct-13 5:50am View
   
Are you using Asp:LinkButton or Asp:Button ?

Use
var button = (LinkButton)sender;
if you are using linkbutton

Use
var button = (Button)sender;
if you are using button.
CodeBlack 16-Oct-13 5:45am View
   
It is just CRUD operations. Start creating blog application yourself. If you face any problem then codeproject is here to help you.
CodeBlack 15-Oct-13 10:00am View
   
don't forget to mark this solution as an answer so that other user who are facing the same issue can easily find the solution.
CodeBlack 15-Oct-13 9:39am View
   
Deleted
I have updated solution. Don't forget to rate this solution and mark it as an answer.
CodeBlack 15-Oct-13 8:42am View
   
Deleted
i will create a sample application for that. once I complete, I will reply you back
CodeBlack 15-Oct-13 3:00am View
   
what about grid css ?
CodeBlack 14-Oct-13 9:36am View
   
can you update your question with your cs and aspx code ?
CodeBlack 14-Oct-13 9:25am View
   
for generating bills you don't have to store it in database. Just write the code which can retrieve the price of scanned item, vendor name and accept quantity from user (this can be manual process by user. so user has to enter quantity manually) and generate report and print that report.
CodeBlack 14-Oct-13 9:11am View
   
can you please explain more with example ?
CodeBlack 14-Oct-13 0:26am View
   
can you update your question with code ?
CodeBlack 10-Oct-13 9:18am View
   
int.Parse(Textbox_antal.Text);

here you check text value to the integer. and if text box is blank or non integer number then it will not be able to convert to the integer. So restrict user to enter only numbers. so that your code can convert text value to integer.
CodeBlack 10-Oct-13 9:13am View
   
because you have not validated it. validate your textbox whether entered data is integer or not.
CodeBlack 10-Oct-13 8:23am View
   
where is your textbox 'Textbox_antal'
CodeBlack 10-Oct-13 3:04am View
   
are you able to bind grid with checkbox ?
CodeBlack 9-Oct-13 9:23am View
   
can you explain more about your exact problem with code samples ?
CodeBlack 9-Oct-13 8:13am View
   
how do you store it in database ? I think you store it in onchange event of textbox right ? and are you using web application or windows application ?
CodeBlack 9-Oct-13 7:33am View
   
can you show mw your code of dropdown binding ?
CodeBlack 9-Oct-13 4:44am View
   
what is the structure of the 'dtbladd'
CodeBlack 9-Oct-13 3:09am View
   
Can you post your code ?
CodeBlack 9-Oct-13 2:24am View
   
<asp:TemplateField HeaderText="CustomerId" Visible="false">
<edititemtemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%#
Bind("cust_id") %>'>

<itemtemplate>
<asp:Label ID="Label1" runat="server" Text='<%#
Bind("cust_id") %>'>



why do you keep this column visible='false' ? are you displaying that column again to visible ?
CodeBlack 9-Oct-13 2:04am View
   
can you show me your whole aspx code for grid ? and where is your hiddent field in grid ? I cannot see it.
CodeBlack 9-Oct-13 1:43am View
   
mark it as an answer if it helped you.
CodeBlack 8-Oct-13 9:46am View
   
Why do you want to add nested controls ?
CodeBlack 8-Oct-13 6:57am View
   
my pleasure :)
CodeBlack 4-Oct-13 9:38am View
   
Let me clear my self.
For example you have two columns in table A : Group and Member.
Now
Group | Member
A | a
A | b
A | c
B | d
B | e
B | f
C | g
C | h

Now when you say top 2 groups than it should return all the data which are belongs to group 'A' and group 'B' right ?
CodeBlack 4-Oct-13 9:32am View
   
can you show me your ASPX code ?
CodeBlack 26-Sep-13 9:46am View
   
Is your grid inside update panel ?
CodeBlack 26-Sep-13 9:45am View
   
what error you are facing ?
CodeBlack 24-Sep-13 3:43am View
   
Go to your DAL method SelectAll() and what does it display on mouse hover of SPShow() ?

In short what is the return type of SPShow ?
CodeBlack 24-Sep-13 3:27am View
   
what you have tried ?
CodeBlack 24-Sep-13 3:11am View
   
There will be 10 rows from 0 to 9.

and here I have added for loop just to create sample datasource for listview as it is a sample code. you have to assign real datasource which you need for the listview.

CodeBlack 24-Sep-13 1:38am View
   
and what is the format of the xml ?
CodeBlack 24-Sep-13 1:20am View
   
can you share the aspx code for listview1 and xml
CodeBlack 23-Sep-13 5:02am View
   
In the above query put where condition for the group id
CodeBlack 20-Sep-13 9:48am View
   
what do you get as a value of con.Reader("extension").toString ?
CodeBlack 20-Sep-13 9:45am View
   
what you want as an output ? I mean if strings are not compared than what should be the output of javascript method ?
CodeBlack 20-Sep-13 2:10am View
   
do you get values what you have typed in Request.QueryString["serc"] ?
CodeBlack 20-Sep-13 1:55am View
   
what error you are getting ?
CodeBlack 20-Sep-13 1:54am View
   
Of course you can do it. this is what we software engineers do. On click event of row call javascript method and from that javascript method call webservice and retrieve data in that webservice return retrieved data in JSon format. now you can easily display data in your HTML table.
CodeBlack 17-Sep-13 3:06am View
   
Do you want checkbox to be checked on row selection only
CodeBlack 17-Sep-13 3:02am View
   
Let me make my self clear : in your prices variable you have list of prices in string datatype and you want to convert it in int datatype right ?
CodeBlack 12-Sep-13 7:45am View
   
because your method expects contactdetail to be return not context.
retrun contact as mentioned below :

context.ContactDetails.AddObject(contact);
context.SaveChanges();
return contact;
CodeBlack 12-Sep-13 7:26am View
   
what do you want to display in popup window ? only message or some html with Input tags ?
CodeBlack 12-Sep-13 7:21am View
   
what in case of URL routing ?
CodeBlack 12-Sep-13 2:16am View
   
;)
CodeBlack 1-Sep-13 23:49pm View
   
can you post your code of the displayRecords() method ?
CodeBlack 31-Aug-13 1:30am View
   
sorry we can not read your mind :(
CodeBlack 29-Aug-13 6:41am View
   
Deleted
dont forget to mark it as an answer and rate this solution.
and also remove all the unnecessary comments.
CodeBlack 29-Aug-13 6:37am View
   
Deleted
please check updated solution. and remove all the comments.
CodeBlack 29-Aug-13 6:23am View
   
Deleted
check my updated solution
CodeBlack 29-Aug-13 6:07am View
   
Deleted
can you show me name of columns returned by inf.gridshowfor(); in every loop ?
CodeBlack 29-Aug-13 5:25am View
   
Deleted
do you have different number of columns in datatable returned by inf.gridshowfor(); ?
it should be same
CodeBlack 29-Aug-13 5:18am View
   
Deleted
i have updated my solution. try to use that code.
CodeBlack 29-Aug-13 5:01am View
   
Deleted
can you show me gridshowfor() method ?
CodeBlack 27-Aug-13 4:57am View
   
It seems that your code is correct. What error you are facing ?
CodeBlack 27-Aug-13 3:03am View
   
what is b1278e ?
CodeBlack 26-Aug-13 13:29pm View
   
Try to give full URL to the JQuery reference.
CodeBlack 26-Aug-13 13:29pm View
   
Deleted
Try to give full URL to the JQuery reference.
CodeBlack 26-Aug-13 9:18am View
   
welcome :)
CodeBlack 26-Aug-13 9:12am View
   
after
GridView1.DataSource = dt;
put
GridView1.DataBind();
CodeBlack 26-Aug-13 9:06am View
   
yes
CodeBlack 26-Aug-13 9:00am View
   
Update your code as mentioned below :

SqlConnection con = new SqlConnection(connection");

SqlCommand cmd1 = new SqlCommand("Select Name from Test", con);


SqlDataAdapter da1 = new SqlDataAdapter(cmd1);



if(!IsPostBack)
{
DataSet ds1 = new DataSet();

da1.Fill(ds1);


DropDownList1.DataTextField = ds1.Tables[0].Columns["Name"].ToString();

DropDownList1.DataValueField = ds1.Tables[0].Columns["Name"].ToString();


DropDownList1.DataSource = ds1.Tables[0];

DropDownList1.DataBind();
}

Dont forget to mark it as an answer and rate this solution.
CodeBlack 26-Aug-13 8:46am View
   
can you post your page load event ?
CodeBlack 26-Aug-13 5:40am View
   
have you checked the version in Web.Config and version of the dll ?
CodeBlack 26-Aug-13 5:37am View
   
you can see that as a Solution 1
CodeBlack 26-Aug-13 5:36am View
   
can you post your data in form of temporary table with select query ?
CodeBlack 26-Aug-13 5:29am View
   
Did you check my solution which I have provided ?
CodeBlack 26-Aug-13 5:18am View
   
i have provided solution for this. and i doubt with your delete command query. i think it is missing 'from' keyword. so your delete query should be like this
"delete from mytable where recordid in (...)"

I am not sure about MySQL but if you are using MSSQL then "from" keyword should be there.
CodeBlack 26-Aug-13 4:50am View
   
what do you want insetead of select ? data from rowList ?
CodeBlack 26-Aug-13 4:43am View
   
are you getting error while uploading jquery or while registering jquery ?
CodeBlack 26-Aug-13 4:41am View
   
are you using javascript alert ?
CodeBlack 26-Aug-13 4:20am View
   
so you want userid, checkin and checkout column to be filled order by datetime and userid correct ?
CodeBlack 26-Aug-13 4:09am View
   
what error you are getting ? and can you please post your whole code ?
CodeBlack 26-Aug-13 1:25am View
   
what exact error you are getting ?
CodeBlack 23-Aug-13 5:40am View
   
Do not forget to mark it as an answer and rate this solution. So our any of the developer friends who are looking for the same solution can get the quick answer.

Have a nice day.
CodeBlack 23-Aug-13 5:25am View
   
can you please show your input, output you are getting and your expected output ?
CodeBlack 23-Aug-13 5:19am View
   
can you upload your aspx code also ?
CodeBlack 23-Aug-13 4:21am View
   
can you update your question with Code for Literal Control ?
CodeBlack 23-Aug-13 0:47am View
   
welcome :)
CodeBlack 23-Aug-13 0:10am View
   
so as per your question your page will be having multiple textbox with multiple checkboxes like


TextBox1 - cbox11 cbox12 cbox13

TextBox2 - cbox21 cbox22 cbox23

TextBox3 - cbox31 cbox32 cbox33

is it right ?
CodeBlack 23-Aug-13 0:05am View
   
yes. that was a typo mistake.

so if you use contains then output will be all the processId which is having 2 anywhere like 12,21,121,222,122,321
CodeBlack 22-Aug-13 7:36am View
   
now what is your question ? what you want to do and where are you getting error ? and what is the error ?
CodeBlack 22-Aug-13 7:33am View
   
can you please improve your question with code sample and show where exactly you are getting error ?
CodeBlack 22-Aug-13 7:32am View
   
what is your exact question ?
CodeBlack 22-Aug-13 6:33am View
   
*2 means ProcessID ending with 2, 2* means ProcessID starting with 2, and *2* means ProcessID contains 2. So I think there is no need for first two conditions as those two conditions are satisfied with last one *2* (%2%).

So only *2* is enough. So
var people = sample.PROCESSes.Where(t => t.ProcessID.ToString().Contains("2")).ToList();
CodeBlack 22-Aug-13 5:28am View
   
ok. So that mean your query will return only those rows for which ProcessID starts with 2.

So the solution which i have provided will also return only those rows for which ProcessID starts with 2.

1. If you want to make query like : Select * from PROCESS Where CAST(ProcessID as varchar) Like '%2'

then use :
var people = sample.PROCESSes.Where(t => t.ProcessID.ToString().EndsWith("2")).ToList();

2. If you want to make query like : "Select * from PROCESS Where CAST(ProcessID as varchar) Like '%2%'

then use :

var people = sample.PROCESSes.Where(t => t.ProcessID.ToString().Contains("2")).ToList();
CodeBlack 22-Aug-13 5:20am View
   
i am not getting clear about your question. But if you want to bind list and datatable then if there is a mapping between those two collections then you can create a new property class (Entity Class) and then after you can assign those values to the property class.

Another option is to add new column into datatable as mentioned below :

dt.Columns.Add(new DataColumn("NewColumn"));
for (int i = 0; i < list.Count; i++)
{
if (dt.Rows.Count < i + 1)
{
DataRow dr = dt.NewRow();
dt.Rows.Add(dr);
}

dt.Rows[i]["NewColumn"] = list[i];
}
CodeBlack 22-Aug-13 5:11am View
   
Select * from PROCESS Where CAST(ProcessID as varchar) Like '2*'

is it '2*' or '2%'
CodeBlack 22-Aug-13 4:59am View
   
what is the error ?
CodeBlack 22-Aug-13 4:58am View
   
ok. so you want all the columns into separate lists ? and you want to bind those lists into gridview right ? If you want to do this than you can directly assign DataTable to GridView's DataSource.
CodeBlack 22-Aug-13 4:49am View
   
can you post your sql query sample ?
CodeBlack 22-Aug-13 4:38am View
   
Do you want to all rows of all columns into one list List<string> ?
CodeBlack 22-Aug-13 2:59am View
   
what is 'f', 't' ? what is the logic behind 'f' and 't' ? what is F1,F2,... ?
CodeBlack 22-Aug-13 1:51am View
   
why "C" message send to 444 member ? couldnt it be "A" message send to 444 member ?
CodeBlack 22-Aug-13 1:11am View
   
Can you please update your question with ASPX and CS code sample ?
CodeBlack 21-Aug-13 9:27am View
   
and what your method inside UserControl will do ?
CodeBlack 21-Aug-13 9:20am View
   
what is your exact requirement ?
CodeBlack 21-Aug-13 9:15am View
   
does all your UserControl's have same method name with same number of parameters ?
What is your exact requirement ?
CodeBlack 21-Aug-13 8:20am View
   
can you improve your question with exception details ?
CodeBlack 21-Aug-13 2:34am View
   
can you please improve your question with dispCal() method ?
CodeBlack 21-Aug-13 2:33am View
   
Deleted
can you improve your Question with dispCal() method ?
CodeBlack 21-Aug-13 2:20am View
   
What issue you are facing now : "GridView Disappear when you click on edit button ? "
CodeBlack 21-Aug-13 1:49am View
   
Try with removing readonly='readonly' attribute in
<input type='text' id='sel' önclick='dispCal()' size=10 readonly='readonly' />
CodeBlack 21-Aug-13 1:17am View
   
Have you added this command field in grid column ?
CodeBlack 21-Aug-13 0:42am View
   
can you please try writing "আমি ভাত খাই।" with another controls ? if the same problem exists then i think there should be a problem with the font you have installed.
CodeBlack 21-Aug-13 0:34am View
   
what is not working ? what error you are getting ?
CodeBlack 19-Aug-13 9:02am View
   
you only want to change extension ?
CodeBlack 19-Aug-13 8:58am View
   
where is your dropdown list ? inside grid or outside grid ?
CodeBlack 19-Aug-13 8:53am View
   
instead of this.ddlExamId.Text use this.ddlExamId.SelectedItem.Text and still it doesnt work than check whether query results data or not ?
CodeBlack 19-Aug-13 8:05am View
   
where is dropdown ? inside repeater or outside repeater ?
CodeBlack 19-Aug-13 7:37am View
   
Why do you bind your drop down list in RowEditing event as it is going to bind the same list for the same drop down? Better you bind it in page load event.
CodeBlack 19-Aug-13 7:10am View
   
are you able to access 64.71.143.154 from the server ?
i have checked your site and i am not getting any error.
CodeBlack 19-Aug-13 6:37am View
   
Nice example OriginalGriff. That makes me more clear and improve my knowledge where i was wrong for ANY and COUNT. Thanks for the explanation. :)
CodeBlack 19-Aug-13 6:19am View
   
ohhh i forgot that you are using DataTable.
CodeBlack 19-Aug-13 6:04am View
   
instead of you can use
if(dataTableuser.Rows.Any())
{
// Do your work
}

this will reduce the compiler execution time. becase for "Count" compiler will check for all the rows and get the count and for "Any" compiler will check for the first row only and return true or false based on that.
CodeBlack 19-Aug-13 5:49am View
   
Deleted
can you improve your question with grid also ?
CodeBlack 19-Aug-13 5:46am View
   
But grid view can have multiple rows. So do you want to fetch control for specific row or for all rows ?

And can you improve your question with grid also ?
CodeBlack 19-Aug-13 5:22am View
   
can you post your whole code ?
CodeBlack 19-Aug-13 4:56am View
   
From your question its not clear that where you want to upload xml file and from where you want to read the same xml file.
CodeBlack 19-Aug-13 4:06am View
   
and you want it by javascript or c# code ?
CodeBlack 19-Aug-13 2:32am View
   
can you please explain more about the exact output ?
CodeBlack 19-Aug-13 0:40am View
   
For example if i have text like 'abcdefg' then on button click event cursor should come between 'f' and 'g'. is this what you want ?
CodeBlack 19-Aug-13 0:35am View
   
how do you bind your list items ? Do you use Lambda Expressions ?
CodeBlack 19-Aug-13 0:35am View
   
Deleted
how do you bind your list items ? Do you use Lambda Expressions ?
CodeBlack 16-Aug-13 9:39am View
   
right. thanks for the info :)
CodeBlack 16-Aug-13 8:37am View
   
can you show me line no 28 ?
CodeBlack 16-Aug-13 8:17am View
   
as error says : "there is no row at oDS.Tables[0].Rows[0]"
SearchHelper.getResultByKeywords(keyword); doesnt return any value. and put if condition for the null check and check whether there is any data in the table or not.
CodeBlack 16-Aug-13 7:52am View
   
thats true. it doesnt make sense. But still, if our luck is not good then we may face problem because of some silly mistakes. :)
CodeBlack 16-Aug-13 7:13am View
   
still it doesnt work then there must be a permission issue i guess.
CodeBlack 16-Aug-13 5:22am View
   
just copy and paste this and you will get everything you want.
CodeBlack 16-Aug-13 4:46am View
   
Where you want to open the URL ? on same page or new window ?
CodeBlack 16-Aug-13 4:44am View
   
and please remove unnecessary comments.
CodeBlack 16-Aug-13 4:43am View
   
See my below code :

Dim percentValue As Double
percentValue = (0.175 * sumAmount)
TextBox9.Text = Math.Round(sumAmount + percentValue + (0.07 * percentValue), 2).ToString()
CodeBlack 16-Aug-13 4:21am View
   
what is not working in your code ?
CodeBlack 16-Aug-13 1:33am View
   
this is correct
CodeBlack 16-Aug-13 0:45am View
   
you can use Math.Round method for that
CodeBlack 15-Aug-13 4:35am View
   
Can you post your code ?
CodeBlack 15-Aug-13 4:30am View
   
Find my answer as solution 4
CodeBlack 15-Aug-13 0:57am View
   
Is this your actual query or just an example ? If it is an actual query than i dont think that there is a need of join because you are performing join with the same table on the same column amd it will retrieve all the records from the table.
CodeBlack 15-Aug-13 0:44am View
   
what is your question ?
CodeBlack 15-Aug-13 0:43am View
   
can you please explain more about the actual requirement ?