Click here to Skip to main content
15,895,528 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: authorization in asp.net using sql databse Pin
Abhijit Jana26-Dec-08 21:21
professionalAbhijit Jana26-Dec-08 21:21 
GeneralRe: authorization in asp.net using sql databse Pin
tejesh12326-Dec-08 21:54
tejesh12326-Dec-08 21:54 
GeneralRe: authorization in asp.net using sql databse Pin
tejesh12328-Dec-08 22:12
tejesh12328-Dec-08 22:12 
Questioncheck Email exist or not Pin
kavitha_blueindia26-Dec-08 9:55
kavitha_blueindia26-Dec-08 9:55 
AnswerRe: check Email exist or not Pin
Christian Graus26-Dec-08 10:42
protectorChristian Graus26-Dec-08 10:42 
GeneralRe: check Email exist or not Pin
Tamer Oz26-Dec-08 20:00
Tamer Oz26-Dec-08 20:00 
AnswerWebservice to validate Email address Pin
David Mujica29-Dec-08 9:44
David Mujica29-Dec-08 9:44 
QuestionGridview control Problem Pin
amistry_petlad26-Dec-08 4:21
amistry_petlad26-Dec-08 4:21 
Hi all!
I am creating a grid view control containing data and column coming from two different sources .

1)first two columns in grid control coming from 1 source with all the data like field_name1 and field_name2.

2) second having the 1 column(Table Field) in the table which is display as columns header text in the grid view control combin with the above grid view.

Now the problem.
All the time the 2) is appear first i want to show him in 2nd priority.
1) shoud be display first.

below is the code for that
<br />
if (chkHealthPlanDP.Checked)<br />
        {<br />
            //grdByHealthPlanDP.Visible = true;            <br />
            System.Web.UI.WebControls.GridView DiseaseGrid = new GridView();<br />
            <br />
            DiseaseGrid.DataSource = REPORT_METRIC_ENTITYMIX.GetData(2); //data coming from source one <br />
            DiseaseGrid.DataBind();    <br />
            DiseaseGrid.Width = 100;<br />
            DiseaseGrid.Height = 50;<br />
            DiseaseGrid.GridLines = GridLines.Both;<br />
            DiseaseGrid.CellPadding = 0;<br />
            DiseaseGrid.HeaderStyle.BackColor = System.Drawing.Color.Pink;            <br />
                        <br />
            foreach (Master_ref_disease masterDisease in Master_reference_disease.result() //source 2)<br />
            {<br />
                BoundField c = new BoundField();<br />
                c.HeaderText = masterDisease.D_ID;<br />
                //c.DataField = masterDisease.D_ID;                <br />
                DiseaseGrid.Columns.Add(c);                <br />
            }<br />
            PlaceHolder1.Controls.Add(DiseaseGrid);<br />
           DiseaseGrid.DataBind();              <br />
        }<br />

AnswerRe: Gridview control Problem Pin
Nishant Singh26-Dec-08 20:44
Nishant Singh26-Dec-08 20:44 
QuestionProblem in running web page Pin
Girish48126-Dec-08 0:00
Girish48126-Dec-08 0:00 
AnswerRe: Problem in running web page Pin
Brij26-Dec-08 0:05
mentorBrij26-Dec-08 0:05 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 0:08
Girish48126-Dec-08 0:08 
GeneralRe: Problem in running web page Pin
Brij26-Dec-08 0:14
mentorBrij26-Dec-08 0:14 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 0:25
Girish48126-Dec-08 0:25 
GeneralRe: Problem in running web page Pin
Brij26-Dec-08 0:39
mentorBrij26-Dec-08 0:39 
AnswerRe: Problem in running web page Pin
Abhijit Jana26-Dec-08 0:07
professionalAbhijit Jana26-Dec-08 0:07 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 0:12
Girish48126-Dec-08 0:12 
GeneralRe: Problem in running web page Pin
Abhijit Jana26-Dec-08 0:27
professionalAbhijit Jana26-Dec-08 0:27 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 0:31
Girish48126-Dec-08 0:31 
GeneralRe: Problem in running web page Pin
Abhijit Jana26-Dec-08 0:39
professionalAbhijit Jana26-Dec-08 0:39 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 0:53
Girish48126-Dec-08 0:53 
GeneralRe: Problem in running web page Pin
Abhijit Jana26-Dec-08 1:01
professionalAbhijit Jana26-Dec-08 1:01 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 1:25
Girish48126-Dec-08 1:25 
GeneralRe: Problem in running web page Pin
Abhijit Jana26-Dec-08 1:56
professionalAbhijit Jana26-Dec-08 1:56 
GeneralRe: Problem in running web page Pin
Girish48126-Dec-08 2:03
Girish48126-Dec-08 2:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.