|
* Common Language Runtime
* Dynamic Language Runtimes (DLR)
* .NET Framework Class Library
* Side-by-Side Execution
* Profiling
* Runtime Host
* Application Domains
* Common Type System
* Metadata and Self-Describing Components
* Cross-Language Interoperability
* .NET Framework Security
|
|
|
|
|
Okay..... Do you have a question or something?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
i have a drop down list which have three entry.when i select every entry of dropdownlist then the data show into the gridview...my code behind page is
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Net.Mail;
using System.IO;
using System.ComponentModel;
using System.Drawing;
using System.Web.SessionState;
namespace AccountManagement
{
public partial class Account : System.Web.UI.Page
{
SqlConnection con;
SqlDataAdapter da;
SqlDataReader dr;
DataTable dt;
SqlCommand cmd;
protected void Page_Load(object sender, EventArgs e)
{
string s = ConfigurationManager.ConnectionStrings["conn"].ConnectionString;
con = new SqlConnection(s);
con.Open();
}
public void bindgrid()
{
cmd=new SqlCommand ("select distinct Fname,Lname from Client_registration_tbl",con);
con.Open();
dr = cmd.ExecuteReader();
GridView1.DataSource = dr;
GridView1.DataBind();
GridView1.Visible = true;
con.Close();
}
public void bindlst()
{
da = new SqlDataAdapter("select distinct Fname,Lname from Client_registration_tbl", con);
dt = new DataTable();
da.Fill(dt);
DropDownList1.DataSource = dt;
DropDownList1.DataBind();
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
da = new SqlDataAdapter("select distinct Fname,Lname from Client_registration_tbl" + DropDownList1.SelectedItem.Text + "", con);
dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
bindgrid();
bindlst();
}
}
}
thanksss in advance
|
|
|
|
|
Firstly this is not the ASP.NET forum, which is here[^], and secondly, you forgot to ask a question.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
my que is when i select the second entry of drop down list then the gridview show another entry from database.
|
|
|
|
|
You're awfully quick to univote there aren't you? Richard pointed out that the ASP.NET experts are in the ASP.NET forum - which would be a much more appropriate place to ask this question.
|
|
|
|
|
Thanks Pete, although I only got -2 for this one; I got a -16 in The Soapbox.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Countered that one as well, but I think I may soon be in for a barrage of downvotes there.
|
|
|
|
|
Strange isn't it? We all claim that we don't care about downvotes and yet continue to counter them when we feel they are unwarranted.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Rashid Choudhary wrote: another entry Not clear of this point. Can you please explain a little bit what you exactly mean by this ?
|
|
|
|
|
GridView is not a method that you can call it!
Meysam
|
|
|
|
|
Hi naveen karamchetti,
recently i read one of the artical(Singleton orchestraion in biztalk server) written by you.It is a very good artical.
in that artical you explain with one sample example.i need that sample code.please send to my mail id it is usefull to me.plz plz plz plz send me.
Thanks & regards
srinivas
srinu.reddy789@gmail.com
|
|
|
|
|
Who is naveen karamchetti, and why are you writing to him/her in this forum?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hi,
I want to create combobox dynamically accepting multiple column values from database n VB.Net..!
Want to create table like structure inside combobox.. Column values and Row values are dynamic..
Please help me..! Thanks in advance..!
|
|
|
|
|
What have you tried upto now? Where are the concrete problems?
Have you analysed the parts of a "common" combobox and their interactions yet?
After that, you'll have to replace that item which shows a simple list in the "common" combobox by an element which can show some kind of a table. It means, you have to construct that multi-column combobox from other elements.
|
|
|
|
|
It's amazing what you can find had you just typed your subject line into Google.
For instance, Multi-Column ComboBox[^] right here on CP.
|
|
|
|
|
If you use combo dreamviewer so that is easy. in the menubar you direct code of that. otheriwise you have coding.
asp.net development
|
|
|
|
|
Hi
I created crystal report and generated print receipt. While giving print i want to disable No of copies in Print Dialog.
If anybody knows, please reply me.
Thanks in advance.
|
|
|
|
|
That's not a standard option for the common PrintDialog[^], which makes sense; there's nothing preventing the user from hitting the print-button twice or making a xerox of the page - so there's little added value in hiding that option.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
You can't disable it, but you can ignore it -just change the PrinterSettings.Copies yourself. If you want to get rid of this altogether, you are going to have to create your own printer dialog.
|
|
|
|
|
hai,i have to premine the association rules..am using the concept of weights.how can this be implemented..any idea??
|
|
|
|
|
vinu Rajendran wrote: hai,i have to premine the association rules..
CodeProject has an article on the Apriori-algo. Don't know what you're exactly looking for, got a feeling that you don't know yet either.
Can you describe a use-case?
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hi i have created windows application in .net with c# and my application running perfectly in Windows XP and Windows 7 but when i try to execute that application in Windows Server 2003 then it getting error at opening connection of ms access database which is specify below:
The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.
at System.Transactions.Transaction.get_Current()
at System.Data.Common.ADP.IsSysTxEqualSysEsTransaction()
at System.Data.Common.ADP.NeedManualEnlistment()
at System.Data.OleDb.OleDbConnection.Open()
at Com.Xpdite.CC.Utils.DbConnection.getConnection()
so can any one provide me the solutions for this problem.
Please help me to get out from this problem...
|
|
|
|
|
What does your connectionstring look like? Where is the physical database-file stored?
My guess is that you're running a webpage (you didn't mention whether it's a web-app, a phone-app or a WinForm app) and that your user (the internet-user under which the webserver runs) does not have the required permissions to access the file in that location.
If your app is a webpage with more than 10 users, I'd strongly recommend upgrading to Sql Server Express.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hi, I need help if possible about an error I have when launching a software named NoClone (duplicate finder made by reasonable software company).
Support doesn't reply it's why I ask for help here. I think it's related to NET Frawework but I'm not sure 100%
I can't find log file so I only can post a screenshot of the error windows :
http://imagesia.com/capture-2-_1xto
[url=http://imagesia.com/capture-2-_1xto][img]http://img.imagesia.com/fichiers/1x/capture-2-_imagesia-com_1xto_large.JPG[/img][/url]
Thanks in advance for any help.
|
|
|
|