Posts
 
Reputation
Joined
Last Seen
Ranked #482
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
91% Quality Score
Upvotes Received
20
Posts with Upvotes
19
Upvoting Members
15
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
9 Commented Posts
~68.6K People Reached
About Me

Like to help.

Interests
Music, Movies, Play Pool.
Favorite Tags
Member Avatar for babbu

Lets say that in the loadmain you set text for a label like this Label1.Text = "Load Main" But you want to do the same thing if you click a button, then create a function called for example [CODE=VBNET]private void SetLabel() { Label1.Text = "Load Main" }[/CODE] then your load …

Member Avatar for Nahla_1
0
2K
Member Avatar for jbisono

Hello friends, I am trying to approach a procedure but i am stock trying to add a DropDownList control into a TreeView Control, there is no TreeNode.Control.Add(). can somebody give an idea how can i go for this. thanks.

Member Avatar for benny300
0
2K
Member Avatar for mansi sharma

You can use a datatable instead [CODE=CSHARP] DataSet dsResult = new DataSet(); DataRow drRev; DataTable dtRev = new DataTable(); dtRev.Columns.Add("Name"); dtRev.Columns.Add("Number"); For(int i =0; i < 3; i++) { drRev = dtRev.NewRow(); drRev[0] = "Ramon"; drRev[1] = i.ToString(); dtRev.Rows.Add(drRev); } dsResult.Tables.Add(dtRev); GridView1.DataSource = dsResult; GridView1.DataBind();[/CODE] and that case you can …

Member Avatar for brianmanee
0
1K
Member Avatar for psathish2

you can do something like this [code=aspnet] GridViewRow selectedRow = (GridViewRow)((LinkButton)e.CommandSource).NamingContainer; //to get the value in the first column string st = selectedRow.Cells[0].Text; [/code]

Member Avatar for jdesk
-3
9K
Member Avatar for kobalt

[CODE=CSHARP] string find = "AAD"; string result = "<table><tr><td>AAD</td><td>35%</td></tr><tr><td>hola</td><td>40%</td></tr></table>"; string[] arrLines = Regex.Split(result, @"<tr.*?>",RegexOptions.IgnoreCase); foreach (string strLine in arrLines) { string[] strCol = Regex.Split(strLine, @"<td.*?>",RegexOptions.IgnoreCase); for (int i = 0; i < strCol.Length; i+=1) { string test = Regex.Replace(strCol[i], @"<[^>]*>", ""); if (test == find) { String Rate += Regex.Replace(strCol[i …

Member Avatar for jemware.waseem
0
210
Member Avatar for arbazpathan

[CODE=ASPNET] <asp:DropDownList ID="DropDownList2" runat="server" style="margin-left: 75px" Width="131px" DataSourceID="SqlDataSource1" DataTextField="product_category" DataValueField="product_category" AutoPostBack="True"> <asp:ListItem>casting</asp:ListItem> </asp:DropDownList> [/CODE] Like the error says you, there is no prod_category and your datasource, so you have to change it for the real name which is product_category base on your select statement.

Member Avatar for jbisono
-1
559
Member Avatar for d.f

Once I had that problem, I believe this piece of code did fix it, because I have never have that problem again, I actually don't like to much using Crystal Reports to many compatability issues, at least that is my experience. anyway I'm using asp.net in this is what i …

Member Avatar for d.f
0
682
Member Avatar for hastingo

First you create your class, within your class you put your properties and methods so a class for the student will look like this. [code=csharp] public class Student { private string studentId; public string StudentId { get { return studentId; } set { studentId = value; } } private string …

Member Avatar for jbisono
0
142
Member Avatar for jlk1380

Hi jlk1380, I believe you will need to open a new thread for this case, then post the link and this thread so I can find you and help you. And also is very helpful if you post the piece of code you trying to work with.

Member Avatar for jbisono
0
95
Member Avatar for jbisono

Hi friends, can you guys help me to find the best way to track information changes in sql server 2000, like a free utility. The problem is that i need to track every single table because i want to figure something out. we have an ERP System and there is …

Member Avatar for jbisono
0
161
Member Avatar for jbisono

Does anybody here have some experience calling a web service from android? Please help. Im using ksoap2 android 4.0 thanks for any info.

Member Avatar for jbisono
0
153
Member Avatar for MORFIOUS

Like Antenka said, maybe this is too complex for you for now, because everything is created at runtime, which that's why you don't see anything in the design view, but if you really want to continue to play around with this code, I add some lines to meet your request, …

Member Avatar for jbisono
0
149
Member Avatar for lubnafiroze

Post what you have so far, and we are going to help you to finish the code.

Member Avatar for jbisono
0
50
Member Avatar for 0007sj
Member Avatar for jbisono
0
182
Member Avatar for AndrewConroy
Member Avatar for desired

You can try this function. [CODE=CSHARP] public static void Message(String message, Control cntrl) { ScriptManager.RegisterStartupScript(cntrl, cntrl.GetType(), "alert", "alert('" + message + "');", true); } //NOW FROM YOUR CLICK EVENT YOU CAN DO THIS protected void ClickEvent(Object sender, EventArgs e) { Message("This is my message", this); } [/CODE] regards

Member Avatar for icedome
0
79
Member Avatar for great_learner
Member Avatar for alleybye

First of all, if you want to trigger a server side method, I will use a LinkButton Control instead of <a> tag. [CODE=ASPNET] <asp:LinkButton ID="lnkBtn" runat="server" Text="Hide Panel" OnClick="hidepanel"></asp:LinkButton> [/CODE] Now in your c# code [CODE=CSHARP] protected void hidepanel(object sender, EventArgs e) { pnl_Add.Visible = true; pnl_List.Visible = false; } …

Member Avatar for jbisono
0
175
Member Avatar for zachattack05
Member Avatar for jackparsana

Update panel are sweet in some scenarios, you don't have to do too much to add that ajax feeling to your website, but the problem is that Update Panel send the whole html back and forth, which can slow down the web page. I will try to take out the …

Member Avatar for carrieathomer
0
440
Member Avatar for eskimo456

Maybe your computer could be infected, have you tried to scan your computer with some virus removals?

Member Avatar for jingda
0
118
Member Avatar for SAINTJAB

I don't quite understand your question, when you say "I want to sum only distinct total, balance and paid", you mean that you will have two different total, two different balance, etc. So you will have a result like, [CODE=SQL] CUSTOMER TOTAL_FROM_DEBTTABLE TOTAL_FROM_DEBTSUM SOME 500.00 250.00 [/CODE]

Member Avatar for SAINTJAB
0
237
Member Avatar for pepyrs

Can you post your GridView Control Structure and the code you are using to bind the Grid?

Member Avatar for jbisono
0
123
Member Avatar for mangal123
Re: ajax

Yes, you can use Ajax Technology in ASP.NET, Actually if you are creating a website you can use Ajax no matter what is your server side code or IDE you are using. Ajax is just javascript, which can be interpreted for any browser. Now, there are a few ways that …

Member Avatar for jbisono
0
107
Member Avatar for kylelendo

There are a few things in your code, that personally don't like, maybe a few friends in daniweb can help you too, I don't know how important is the security for this particular application but it sounds too me that if you are trying to distinct one user from another, …

Member Avatar for jbisono
0
153
Member Avatar for Moss ali

The Button Control has two properties, OnClick="ServerSideMethod" OnClientClick="ClientSideMethod". So in the OnClick put your Delete Method and in the OnClientClick="return Confirm('Are you sure want to delete');" or call the javascript function...

Member Avatar for nakor77
0
223
Member Avatar for bhagawatshinde
Member Avatar for wfbp

First that is happening because you are not linking your two tables with a particular field, if that is what you want I would say SELECT TOP 1 THE REST OF THE CODE HERE. But this is what I think you need and the FROM Clause Remove everything and add …

Member Avatar for jbisono
0
136
Member Avatar for naveedqadri

I think you are missing to select another field "dis_wing" [code=sql] select IFNULL(max(count(dis_rowno)),0) as maxcolspan, dis_wing from xyz [/code] Try that and let me know...

Member Avatar for jbisono
0
112
Member Avatar for jovillanuev

If you dont want to filter out just the items that does not have a -U then you can do this. I'm assuming that the '-U' is always at the end. [CODE=SQL] SELECT CASE WHEN SUBSTRING(ItemNumber, LEN(ItemNumber) - 1, 2) = '-U' THEN ItemNumber ELSE ItemNumber + '-U' END AS …

Member Avatar for jbisono
0
108