|
DS = DAL.Get_Data_BE(txtCcNo.Text)
n = DS.Tables(0).Rows.Count
Do Until n <= 0
i = i + 1
contItemName = DS.Tables(0).Rows(DS.Tables(0).Rows.Count() - i).Item("ITEM_NAME")
contPCode = DS.Tables(0).Rows(DS.Tables(0).Rows.Count() - i).Item("P_CODE")
DS = DAL.Get_Level_BE(contPCode)
j = DS.Tables(0).Rows.Count
k = 0
Do Until j <= 0
k = k + 1
PrimCont = DS.Tables(0).Rows(DS.Tables(0).Rows.Count() - k).Item("PRIM_KEY")
DSL = DAL.Get_ItemName_BE(PrimCont)
ItemCont = DSL.Tables(0).Rows(DS.Tables(0).Rows.Count() = 0).Item("ITEM_NAME")
ItemRepeater.DataSource = DS
j = j - 1
Loop
DS = DAL.Get_Data_BE(txtCcNo.Text)
ItemRepeater.DataBind()
n = n - 1
Loop
Here's the code.
|
|
|
|
|
I have a web service which has a method that takes in some parameters. When I view that in browser, I get textboxes to provide input for the webmethod. I want to remove the autocomplete feature from those textboxes. As I cant control the properties of the textbox, either I need to disable autocomplete feature of the browser - which I dont think can be done. Is there some way I can implement this?
C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live." - Martin Golding
|
|
|
|
|
I don't think it can be done, because the browser is doing it, and I don't know that you have any control over the code that is generating the page. It's really for testing purposes only, you shouldn't have people actually using it as a form of access.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i need code for GridView RowUpdating in asp.net
|
|
|
|
|
I know this is only your sixth post, but surely that's enough to know to post a meaningful header, and to try google before asking the most basic of 101 questions ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Is your subject right?Have you gone through the rules of posting a question in CP.
sanddepnamburi wrote: i need code for GridView RowUpdating in asp.net
Check the link below
[^]">
Cheers!!
Brij
|
|
|
|
|
sir,
I need help about "voice Recoding" through Asp.net application.
|
|
|
|
|
naagrjuna wrote: sir,
I need help about "voice Recoding" through Asp.net application.
Sorry About this post. This is just done by mistake.
cheers,
Abhijit
|
|
|
|
|
naagrjuna wrote: sir,
I need help about "voice Recoding" through Asp.net application.
In Last 1.8 years , you have posted 4 Question and 3 of them are same question . You have got the answer on your previous post also, that , this is nothing related with asp.net.
So, please Stop Spaming in CP.
cheers,
Abhijit
|
|
|
|
|
Oh, I see, you're retarded. I'm sorry. Ask one of the people whose job it is to help you go to the toilet, etc, to view the replies to all the other times you asked this question, and then see if they can explain it to you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Not possible through ASP.NET
Cheers!!
Brij
|
|
|
|
|
hello,
when i am trying to write data to xml file, what is the code for appending data to xml file in asp.net
i am writing below code
ds.WriteXml(AppDomain.CurrentDomain.BaseDirectory & "\XML\XMLfile.xml")
Thanks
Pinna
|
|
|
|
|
you can't append to an XML file with another xml file, because an XML file can have only one root. You'd have to use the XmlDocument class to load the old xml and insert the new nodes.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ok...i want to append the new nodes to already created xml file.what is the code for appending nodes in already created xml file
Thanks
Pinna
|
|
|
|
|
1 - Load it to XMLDocument using XMLDocument.Load
2 - Find the node under which you want the new node to be inserted
3 - Use AddChild method on that node.
|
|
|
|
|
Thanks you very much...
Pinna
|
|
|
|
|
To update an XML file you need xmldocument object
Check the link
[^]">
Cheers!!
Brij
|
|
|
|
|
http://www.codeproject.com/KB/install/msicustomaction.aspx
Please Go Through The Above Link and send in the Web Setup Project using c#
Thanks
Shavil
|
|
|
|
|
You want us to go to that link, and follow the directions to get something to work for YOUR project... Explain to me how that will work.
Why can't you do it yourself?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
|
have you tried by yourself?What is the error you found?
Cheers!!
Brij
|
|
|
|
|
Seeing as this is a C++ article, what the hell does it have to do with ASP.NET ? Did you spam the entire site, or just look for the most unrelated forum to ask in ?
You can post in the forum under the article if you have a question for the author.
Oh, I get it now. It's still not an ASP.NET question, but you want us to rewrite a C++ article in C# ? Dream on, buddy.
Christian Graus
Driven to the arms of OSX by Vista.
modified on Thursday, December 18, 2008 1:13 AM
|
|
|
|
|
Hi
I have to insert value in db from textbox which create at runtime i have done the coding the for creating it
but need help in inserting value in Database?
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
if (txtbox.Text != "")
{
CreateControl();
}
}
}
private void CreateControl()
{
TextBox txttest;
LiteralControl LCT1;
for(int i=0; i <= Convert.ToInt32(txtbox.Text)-1;i++)
{
LCT1=new LiteralControl ();
LCT1.Text="
";
txttest=new TextBox ();
txttest.ID="txt"+ (i+1);
Panel1.Controls.Add(LCT1);
Panel1.Controls.Add(txttest);
}
}
protected void Button1_Click(object sender, EventArgs e)
{
for(int i=0; i<= Convert.ToInt32(txtbox.Text)-1;i++)
{
TextBox txtCntrl=(TextBox)Panel1.FindControl("txt"+(i+1));
if(txtCntrl != null)
{
TextBox tbox = new TextBox();
tbox.Text=tbox.Text + "tbox"+txtCntrl.Text;
}
}
}
any help
|
|
|
|
|
page load is too late to create dynamic controls. They have missed the population of viewstate, and so won;t have any state.
You're also adding an empty literal every time ? Is this to space the control ? Have you tried css ?
developer.ravish wrote: for(int i=0; i<= Convert.ToInt32(txtbox.Text)-1;i++)
If someone types in 'one' here, your page will blow up.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
For better reliability of the code,
Always use try block when use "Convert" class.
Cheers!!
Brij
|
|
|
|