private void Button3_Click(object sender, System.EventArgs e)
String dbsource1String = Sytem>configurationSettings.Appsettings Start
SqlDataReader Dr1;
Sqlparameter P = New Sqlparameter [ 1 ]
int flag=0;
if(listDataRows.Visible==true)
{
if(listDataRows.SelectedValue != "--Select a Data Row--")
{
if(this.listDataRows.SelectedIndex>-1)
string dbsource1string = System.Configuration.ConfigurationSettings.AppSettings["<DBSOURCE1>"];
string dbsource2String = System.Configuration.ConfigurationSettings.AppSettings["<DBSOURCE2>"];
string id = this.listRows.SelectedValue;
SqlDataReader dr;
SqlParameter[] p = new SqlParameter[1];
flag = 1 ;
{ ......................... }
{ ................................. }
else if(listDataRows.Visible==false)
String Dbsource3string = System.cofiguration.configurationSetting.Appsettings Select A Data Row
Sqlparameter { } p + new SqlParameter [2]
flag = 2;
if(flag != 0)
{break;}
temp worker flow chart ( workflow .related data row )
{ }
rpm.FilingDate = this.txtDataValue2.Text;
rpm.ApplicationNumber = this.txtDataValue3.Text;
Sqlparameter [ ] p = New SqlParameter [ 2 ]
if(listDataValue4.SelectedItem.Text == "--------Select Status--------" )
rpm.Status = "";
else
rpm.Status = this.listDataValue4.SelectedItem.Text;
if(flag==1)
listDataValue4.Items.Insert(0,"--------Select Status--------");
if(ViewState["strTitle"] != null)
Extensible Hypertext Markup Language
rpm.TitleMessage = ViewState["strTitle"].ToString();
ArrayList rms = new ArrayList();
if( ViewState["RelatedDataRows"] != null )
rms = (ArrayList) ViewState ["RelatedDataRows"];
HYPERTEXT MARKUP LANGUAGE { HTML}
rms.Add(rpm);
if(rms.Count > 0 )
is.listdatarows.selectedindex+0
RelatedDataRow tempRpm = new RelatedDataRow();
tempRpm = (RelatedDataRow)rms[0];
............... {xhtml} ........................................
tempRpm.HeaderMessage="<b>Data Row Description</b>";
rms.RemoveAt(0);
rms.Insert(0,tempRpm);
ViewState["RelatedDataRows"] = rms;
BindRelatedDataRows();
this.listDataRows.SelectedIndex=0;
this.listDataValue1.SelectedIndex=0;
this.txtDataValue2.Text="";
this.txtDataValue3.Text="";
this.listDataValue4.SelectedIndex=0;
this data value evaluate + sum
relted data row temp + data row
...............................................HTML.................................................
else
this.listDataRows.SelectedIndex=0;
this.listDataValue1.SelectedIndex=0;
this.txtDataValue2.Text="";
this.txtDataValue3.Text="";
this.listDataValue4.SelectedIndex=0;
ShowAlert("This Data Row was already Added.");
}
}
}
End............................. Listdata row............and den Viewstate {Relate data row "}